Resolve an entitlement's default price row by currency
Filters the entitlement's enabled Stripe mapping rows by the requested currency (plus optional billing type/period filters) and returns the unique match. Fail-loud by design: 404 when no row matches the currency (no secondary-currency fallback), 409 when multiple rows remain and the caller must narrow by billing type/period. # 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.
Filters the entitlement's enabled Stripe mapping rows by the requested currency (plus optional billing type/period filters) and returns the unique match. Fail-loud by design: 404 when no row matches the currency (no secondary-currency fallback), 409 when multiple rows remain and the caller must narrow by billing type/period.
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 Client-app API key (third-party external API).
In: header
Path Parameters
Realm ID
Entitlement key
Query Parameters
ISO 4217 currency code (e.g. "USD"); reserved codes rejected
Optional narrowing filter: recurring | one_time | non_renewing
Optional narrowing filter: billing period (e.g. month / year)
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/ext/string/entitlements/string/default-price?currency=string"{ "amount": 0, "billingPeriod": "string", "billingType": "string", "currency": "string", "entitlementKey": "string", "externalPriceId": "string", "mappingId": "string", "paymentProvider": "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}{ "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}