Admin API reference
/v4 API
//
Retrieve an account grant
Retrieves a single account grant information, if the supplied accountId and grantId match
Security
ZephrHmacHttp
- https://demo.api.zephr.comhttps://demo.api.zephr.com/v3/accounts/{accountId}/grants/{grantId}
curl -i -X GET \
https://demo.api.zephr.com/v3/accounts/5fag4a2d-86cd-4bb0-a5df-68dca75a3a21/grants/0123456789ABCD \
-H 'Authorization: ZEPHR-HMAC-* <YOUR_TOKEN_HERE>'OK - Retrieved an account grant
An enum describing the type of the entitlement.
Enum:"bundle""entitlement""meter""credits"
Response
{ "grantId": "0123456789ABCD", "entitlement_type": "bundle", "entitlement_id": "8dfb3e7c-7a9e-4f23-b6c1-e2d8c41fb9a8", "startTime": "2022-06-01 00:00:00", "endTime": "2022-12-31 23:59:59", "product_id": "PRD-2024-ABC123" }