Create an Entitlement
Attaches a feature entitlement to a subscription plan.
Authorizations
Use your secret API key as a Bearer token.
Keys are prefixed: sk_live_ (production) or sk_test_ (sandbox).
Body
The subscription plan identifier
Unique key identifying the feature
256"api_requests"
The data type of the entitlement value
boolean, numeric, string Boolean value (when value_type is boolean)
Numeric value (when value_type is numeric)
10000
String value (when value_type is string)
Response
Entitlement created
Unique identifier (prefixed ent_)
"ent_1a2b3c4d5e"
Organization identifier
Subscription plan identifier
Unique key identifying the feature
The data type of the entitlement value
boolean, numeric, string Boolean value (when value_type is boolean)
Numeric value (when value_type is numeric)
String value (when value_type is string)
live, sandbox