Authorization
string
required
Example:
Authorization | Bearer Paste-Your-API-Key-HerePath Parameters
string
required
The unique identifier of the customer whose credit history you want to retrieve.
Query Parameters
string
required
The unique identifier of the product to filter credit history by.
string
The unique identifier of the membership tier to filter by.
integer
default:"1"
Page number for pagination.
integer
default:"10"
Number of records per page.
string
default:"datetime"
Field to sort by (for example
datetime, amount).string
default:"desc"
Sort order:
asc or desc.string
Start date filter (ISO 8601 format).
string
End date filter (ISO 8601 format).
string
Filter by wallet type:
MEMBERSHIP, ADD_ON, or MAIN.string
Filter by transaction type:
TOPUP, MERCHANT_TOPUP, TRIAL_TOPUP, EXPIRE_VOID, CREDIT_USAGE.Response
Successful ResponseMain Structure (Root)
integer
Status code from the API.
string
Status message that describes the status code.
array of object
Array of credit transaction records.
object
Pagination metadata containing
page, limit, totalPages, and totalData.data Structure (Array Of Object)
string<uuid>
Unique identifier of the credit transaction.
string
ISO 8601 timestamp (UTC) of the transaction.
string
Transaction type:
TOPUP, MERCHANT_TOPUP, TRIAL_TOPUP, EXPIRE_VOID, or CREDIT_USAGE.integer
The amount of credit involved in the transaction.
integer
Customer balance before the transaction.
integer
Customer balance after the transaction.
string
Wallet type affected:
MAIN, MEMBERSHIP, or ADD_ON.string
Description of the transaction.
string<uuid>
Customer identifier associated with the transaction.
string<uuid>
Product identifier associated with the transaction.
Errors
object
Returned when required parameters are missing or fail validation.
object
Returned when the specified customer is not found.
