Herald
OpenapiExt

Get the currency set supported by a purchasable entitlement

Returns the deduplicated currencies covered by the entitlement's enabled Stripe mapping rows (subscription-type and one-time-type rows both count). Creem/IAP rows are excluded: their pricing is provider/store-side and carries no per-currency price rows. # 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.

GET
/api/ext/{realmId}/entitlements/{entitlementKey}/currencies

Returns the deduplicated currencies covered by the entitlement's enabled Stripe mapping rows (subscription-type and one-time-type rows both count). Creem/IAP rows are excluded: their pricing is provider/store-side and carries no per-currency price rows.

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.

Authorization

api_key
headerX-API-Key<token>

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

Path Parameters

realmId*string

Realm ID

entitlementKey*string

Entitlement key

Response Body

Supported currencies retrieved

application/json
  1. response

Response for the entitlement currency-set endpoint

currencies*array<string>

Deduplicated currencies covered by the entitlement's enabled Stripe mapping rows. Empty when the entitlement has no priced rows.

entitlementKey*string
Example Request
curl -X GET 'https://example.com/api/ext/string/entitlements/string/currencies'
Example Response
{
  "currencies": [
    "string"
  ],
  "entitlementKey": "string"
}