Retrieve an active entitlement
GET / v1 / entitlements / active_entitlements /:id
Retrieve an active entitlement
Parameters
- id string Required The ID of the entitlement.
Returns
Returns an active entitlement
Response
{ "id": "ent_test_61QG5x2cU1GluFTYs41JqiESbLiX8C8O", "object": "entitlements.active_entitlement", "feature": "feat_test_61QGU1MWyFMSP9YBZ41ClCIKljWvsTgu", "lookup_key": "seats-feature", "livemode": false}
List all active entitlements
GET / v1 / entitlements / active_entitlements
Retrieve a list of active entitlements for a customer
Parameters
- customer string Required The ID of the customer.
More parameters
- ending _ before string
- limit integer
- starting _ after string
Returns
Returns a list of active entitlements for a customer
Response
