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.
api_keyX-API-Key<token>Client-app API key (third-party external API).
realmId*stringRealm ID
entitlementKey*stringEntitlement key
currency*stringISO 4217 currency code (e.g. "USD"); reserved codes rejected
billingType?stringOptional narrowing filter: recurring | one_time | non_renewing
billingPeriod?stringOptional narrowing filter: billing period (e.g. month / year)
Unique price row resolved
application/json- response
Resolved default price row, usable as an explicit target_id purchase
target by third-party callers.
amount*integerPrice amount in minor units (cents).
int64billingPeriod?string|nullbillingType?string|nullcurrency*stringentitlementKey*stringexternalPriceId?string|nullmappingId*stringpaymentProvider*stringcurl -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"
}