curl --request GET \
--url https://api.paygentic.io/v0/entitlements/activeEntitlements \
--header 'Authorization: Bearer <token>'
{
"object": "list",
"data": [
{
"id": "<string>",
"object": "entitlement",
"customerId": "<string>",
"productId": "<string>",
"subscriptionId": "<string>",
"planId": "<string>",
"billableMetrics": [
"<string>"
],
"verifiedAt": "2023-11-07T05:31:56Z"
}
],
"pagination": {
"limit": 123,
"offset": 123,
"total": 123
}
}
curl --request GET \
--url https://api.paygentic.io/v0/entitlements/activeEntitlements \
--header 'Authorization: Bearer <token>'
{
"object": "list",
"data": [
{
"id": "<string>",
"object": "entitlement",
"customerId": "<string>",
"productId": "<string>",
"subscriptionId": "<string>",
"planId": "<string>",
"billableMetrics": [
"<string>"
],
"verifiedAt": "2023-11-07T05:31:56Z"
}
],
"pagination": {
"limit": 123,
"offset": 123,
"total": 123
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The customer ID to get active entitlements for.
The product ID to get active entitlements for.
The subscription ID to get active entitlements for.
List of active entitlements for a customer.
The response is of type object
.