Get Transaction History API
Returns transaction history
Authentication
api-keystring
The API key should be passed in the request headers as api-key for authentication.
Path parameters
pid
Loyalty Program Id
Query parameters
limit
Limit the number of records returned
offset
Page number to retrieve
sortField
Field to sort by
Allowed values:
sort
Sort order, either asc or desc
Allowed values:
contactId
Contact ID
balanceDefinitionId
Balance Definition ID
filters
Filters to apply
status
Transaction status filter. Allowed values: draft, completed, rejected, cancelled, expired
Allowed values:
transactionType
Transaction type filter. Allowed values: credit, debit
Allowed values:
Response
Successful retrieval of transaction history
balanceDefinitionId
Unique identifier of the associated balance definition.
contactId
Unique identifier of the contact related to the transactions.
count
Total number of transactions in the history.
loyaltyProgramId
Unique identifier of the associated loyalty program.
transactionHistory
List of past transactions associated with the balance.
Errors
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
500
Internal Server Error