Export all card transaction logs
GET {{baseUrl}}/v1/loyalty_programs/:loyaltyProgramId/export_card_balances?endDate=2022-11-08T00:11:22.082Z
Download a CSV file containing the balances of all cards in the loyalty program.
Tip: If the exported CSV file is too large to view, you can split it into multiple files.
The CSV file contains the following columns:
- loyaltyProgramID
: The ID of the loyalty program.
- loyaltySubledger
: The name of the subdleger, when applicatble.
- cardIdentifier
: The alphanumeric identifier of the loyalty card.
- cardState
:The state of the loyalty card. It can be active
or inactive
.
- currentBalance
: The current point balance.
- pendingBalance
: The number of pending points.
- expiredBalance
: The number of expired points.
- spentBalance
: The number of spent points.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
endDate | string | Used to return balances only for entries older than this timestamp. The expired, active, and pending points are relative to this timestamp. |
Note: It must be an RFC3339 timestamp string. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |