How a purchase moves
REFUNDED, and a currency-conversion correction as
ADJUSTED.
The TRANSACTION_PROCESSED webhook follows these
steps, so you can receive it more than once for the same purchase: once AUTHORIZED, then
CLEARED. Branch on type and status:
TRANSACTION_AUTHORIZED, TRANSACTION_CLEARED and TRANSACTION_REVERSED are the older,
one-per-step events. They are still sent to endpoints subscribed to them; new integrations should
use TRANSACTION_PROCESSED.Card transactions
GET /cards/{id}/transactions returns the card’s history as the card network reported it:
Why a payment was declined
A declined payment carries up to three fields:declineReason: a stable code to branch on, such asINSUFFICIENT_FUNDS,MERCHANT_RESTRICTEDorSPEND_LIMIT_EXCEEDED. The full list is on TRANSACTION_DECLINED.declineReasonDescription: the same cause in one plain sentence, safe to show the cardholder.declineReasonDetail: the issuer’s own wording for this payment, when they gave one. Show it if present; never branch on it.
UNKNOWN_DECLINE. A decline places no
hold and moves no money. To see which merchant categories the issuer declines, read
GET /merchant-category-restrictions.
Your ledger
GET /transactions lists every movement on your balance, newest first:
Each row carries
amount, fee, status (PENDING, SETTLED, FAILED or REVERSED),
balanceBefore and balanceAfter, and the cardId and reference of the operation behind it.
Filter with type, status, direction, cardId, reference and search, over from and to.
A range covers at most 92 days (422 DATE_RANGE_TOO_WIDE); without one, the last 30 days.
Reconciling
- What left your balance: sum the ledger’s
DEBITrows for the period, bytype. ThebalanceAfterof the last row is your balance at that moment. - What a cardholder spent: count a card’s
SETTLEDpurchases, or theTRANSACTION_PROCESSEDevents withstatus: CLEARED. Authorizations are intent; clearings are spend. - Matching the two: a ledger row and the operation behind it share a
reference, and card-related rows carry thecardId.

