Credits
List Credit Grants for a customer
Changed onList all Credit Grants and their outstanding balances where the balance is non-zero
get/credits/{customerId}/grants
Request
- Base URLhttps://sandbox.sequencehq.com/api
- URLhttps://sandbox.sequencehq.com/api/credits/{customerId}/grants
- Authnone declared. Required headers: Authorization
Path parameters
customerIdstring required
Customer ID
Headers
Authorizationstring required
Your API credentials. Eg. Basic {credentials}.
sequence-version'2024-07-30'
Use this header to select an API version
Response
OK
Example response
{
"items": [
{
"id": "22efb229-c474-407c-bbf7-f5e113ee8b20",
"name": "API Calls",
"grantAmount": 1000,
"balance": 324,
"issueDate": "2022-02-22",
"expiryDate": "2030-03-03"
}
]
}Changes
- breaking
the
//response's property format changed fromdateto no format for status - breaking
the
//response's property format changed fromdateto no format for status - warning
deleted the
headerrequest parameterSequence-Version - info
added the new optional
headerrequest parametersequence-version
- breaking