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.

X-API-Key<token>

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

In: header

Path Parameters

realmId*string

Realm ID

entitlementKey*string

Entitlement key

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/ext/string/entitlements/string/currencies"
{  "currencies": [    "string"  ],  "entitlementKey": "string"}
{  "code": "string",  "details": null,  "message": "string",  "requestId": "string",  "status": 0}
{  "code": "string",  "details": null,  "message": "string",  "requestId": "string",  "status": 0}
{  "code": "string",  "details": null,  "message": "string",  "requestId": "string",  "status": 0}