Get customer entitlements
Customers
Get customer entitlements
Returns whether the customer has access to paid features and at what tier. Use this before serving any feature — don’t parse subscription state yourself. Returns has_access: false if the customer has no subscription.
GET
Get customer entitlements
Authorizations
Use sk_test_ keys for sandbox. Use sk_live_ keys for production. Obtain your key from the dashboard.
Path Parameters
Response
Entitlement status
Available options:
entitlements Example:
"sub_01JABC..."
Available options:
active, trialing, past_due, grace, delinquent, paused, canceled Example:
"active"
True if the customer should have access to paid features. Active, trialing, past_due, and grace all return true.
Example:
true
Available options:
full, free Example:
"full"
Example:
[]