What you can do
List transactions returns the customer’s history, newest first. Filter by account, direction, status, date range, currency, or whether the row is a fee, and every filter takes several values at once. Each row says which way the money went, how much, who the other party was, the merchant details on card spend, and a stable reference you can show to support. Generate a statement builds a PDF or CSV for a year, a month, or a custom range and returns it in the response for the customer to download. If no transactions are found, CSV returns404. PDF also
returns 404 when crypto is enabled for the program; otherwise it completes with a
no-activity statement.
List card transactions
is the same history narrowed to one card, with merchant details.
Card spend
A pending card purchase is a payment request withtype: CARD and status: PENDING, with
the merchant in payee.name and the card in cardId. Find them with
List payment requests
and type=CARD. A card transaction’s AUTHORIZED status doesn’t by itself mean the purchase
is pending.
A card row carries cardId and a CardAuth object. CardAuth.TransactionType is the
network’s own label, so a purchase (Goods and Service) is distinguishable from a cash
withdrawal (Cash Withdrawal (ATM)) without reading the amount or the merchant name.
TransactionAmount and TransactionCurrency are what the merchant charged;
BillingAmount and BillingCurrency are what the account was billed, with FxRate
between them.
MerchantCountry (ISO 3166 alpha-3 or, depending on the card program, alpha-2), MCC and
FxRate are absent rather than empty when the card acceptor or the clearing message carried
none, so read them as optional. On some card programs they carry a placeholder value instead.
CardAuth.PurchaseTime is when the card authorisation was recorded, in UTC. A card purchase
is usually booked when the merchant settles it, one to three days later, so a card row’s
transactionDate can be the settlement date rather than the time of purchase. Show
PurchaseTime as the time of purchase where it’s present, and fall back to transactionDate.
Sorting and the startDate/endDate filters still use transactionDate. On a card purchase
booked at authorisation (some cards still are, and many older rows were), PurchaseTime is
that row’s own authorisation time. It’s absent whenever that time isn’t known, for example
on an incremental, advice, account-funding, authorisation-reversal or expired-authorisation
row, on a settlement that can’t be matched to its
authorisation, and on a settlement row from before the field was added.