Event: card.transaction
Sent when a card transaction status changes. The status field indicates the type of event. A single transaction may generate multiple card.transaction events as it moves through its lifecycle.
Transaction lifecycle
Payload
The payload always includes astatus field. Additional fields are included depending on the status.
Common fields
Status: authorized
Sent when a card transaction authorization is approved and a hold is placed on funds. If a settlement fee applies, the fee field is included.
Status: settled
Sent when an authorized transaction is settled (cleared) by the card network. The settled amount may differ from the authorized amount.
Status: declined
Sent when a card transaction authorization is declined.
Status: reversed
Sent when a transaction is fully or partially reversed/refunded. Use originalAmount and amount to determine if this is a partial or full reversal.
Full reversal
The entire authorized amount is released. The transaction is voided.Partial reversal
Part of the authorized amount is released. The remaining hold continues to settlement.
Determining full vs partial: Compare
amount to originalAmount. If they are equal, it is a full reversal. If amount < originalAmount, it is partial.