cURL
curl --request GET \ --url https://api.togai.com/accounts/{account_id}/features/{feature_id}/entries \ --header 'Authorization: Bearer <token>'
{ "data": [ { "id": "purchase.20rvWRxQcQK.0ZwPG", "source": "ENTITLEMENT", "status": "ACTIVE", "granted": 10, "balance": 5, "used": 5, "effectiveFrom": "2020-01-01T00:00:00Z", "effectiveUntil": "2021-03-04T14:25:10Z" }, { "id": "purchase.20rvWRxQcQK.0ZwPG", "source": "ENTITLEMENT", "status": "ACTIVE", "granted": 10, "balance": 5, "used": 5, "effectiveFrom": "2020-01-01T00:00:00Z", "effectiveUntil": "2021-03-04T14:25:10Z" } ], "nextToken": "eyJsYXN0SXRlbUlkIjogInN0cmluZyIsICJwYWdlU2l6ZSI6IDEwMCwgInNvcnRPcmRlciI6ICJhc2MifQ==" }
This API let’s you to list the feature credits entries of a feature for an account
50
Show child attributes