Herald
OpenapiExt

Get purchasable one-time entitlement mappings

Returns enabled one-time entitlement mappings that have provider product info configured. Used by frontend/SDK to display purchasable products. # Authentication Requires valid API Key via X-API-Key header # Realm Isolation The API key must belong to the same realm as the requested realm. Cross-realm requests will return 403 Forbidden.

GET
/api/ext/{realmId}/one-time-mappings

Returns enabled one-time entitlement mappings that have provider product info configured. Used by frontend/SDK to display purchasable products.

Authentication

Requires valid API Key via X-API-Key header

Realm Isolation

The API key must belong to the same realm as the requested realm. Cross-realm requests will return 403 Forbidden.

Authorization

api_key
headerX-API-Key<token>

Client-app API key (third-party external API).

Path Parameters

realmId*string

Realm ID

Response Body

One-time mappings retrieved

application/json
  1. response

Response for one-time mappings external endpoint

items*array<>
Example Request
curl -X GET 'https://example.com/api/ext/string/one-time-mappings'
Example Response
{
  "items": [
    {
      "currency": "string",
      "entitlementKey": "string",
      "id": "string",
      "paymentProvider": "string",
      "providerProductInfo": null
    }
  ]
}