Credits
Get credit details
Get credit details
GET
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Example:
"creds.1znQx9jiIXw.r44fc"
Response
200
application/json
Response for Fetch Credit Details request. This contains Credit Transactions
Payload to grant Credits
Example:
"ACC001"
Example:
"PREPAID_CREDIT"
Example:
"2020-07-04"
Example:
1
Identifier of credits
Maximum length:
50
Example:
"cred.1znqBOVcai0.0tBFz"
Example:
"7VcRw9xZDIqsC5E"
Available options:
ACTIVE
, CONSUMED
, EXPIRED
, VOIDED
Example:
"ACTIVE"
List of entity ids for which the credit is applicable. If null or empty, the credit is applicable to all ids. This list can accept special values like: - ALL_USAGE_METER_RATE_CARDS: To apply the credit to all usage meter rate cards - ALL_FIXED_FEE_RATE_CARDS: To apply the credit to all fixed fee rate cards
Example:
"2021-07-04"
Example:
1000
The entity through which the credit has been granted
The idempotency key for uniqueness of the credit record
Example:
"USD"
Example:
500
Example:
400