Transaction Events
TRANSACTION_PROCESSED
The card-transaction lifecycle event. The status field carries the phase — AUTHORIZED, CLEARED, REVERSED, REFUNDED, or ADJUSTED.
WEBHOOK
Fires as a cardholder’s transaction moves through its lifecycle.
Payload — settlement (
Payload — reversal (
A reversal carries
TRANSACTION_PROCESSED
is the single, canonical event type for card transactions — you may receive it more
than once for the same purchase as it progresses.
Every payload has two fields you branch on:
type— what kind of transaction it is:PURCHASE,REVERSAL,REFUND, orADJUSTMENT.status— which lifecycle phase / outcome it represents.
A
PURCHASE therefore progresses AUTHORIZED → CLEARED; the other types are terminal.
The authorization → clearing flow
A typical purchase produces twoTRANSACTION_PROCESSED events:
status: AUTHORIZEDwhen the cardholder pays (a hold is placed).status: CLEAREDwhen the merchant settles — often a few days later, and sometimes for a slightly different amount (currency conversion, tips). TheCLEAREDamount is the real, final figure.
authorizationCode, so you can correlate the phases and
act on the CLEARED one.
Some merchants settle almost immediately (you’ll see
CLEARED right away); others
authorize and settle days apart. Always key your “transaction complete” logic off
status: CLEARED, never AUTHORIZED.Correlation fields
Payload — settlement (status: CLEARED)
Payload — reversal (status: REVERSED)
A reversal carries chargeId (the charge it undoes) and relatedTransactionId; a
REFUNDED payload has the same shape with status: REFUNDED and type: REFUND.
Payload Fields
Common Use Cases
- Mark a transaction successful on
status: CLEARED, using itsamountas the final charge. - Correlate an authorization with its settlement via
authorizationCode, so a hold and its later capture aren’t double-counted. - Handle
REVERSED(authorization voided) andREFUNDED(merchant refund) to restore balance in your ledger — aREVERSEDpayload’schargeIdtells you exactly which charge it undoes. - Send real-time notifications and implement MCC-based spending controls.
TRANSACTION_PROCESSED supersedes the deprecated granular events
(TRANSACTION_AUTHORIZED,
TRANSACTION_CLEARED,
TRANSACTION_REVERSED, and
TRANSACTION_REFUNDED). They remain fully supported for existing integrations — no
migration required — but new integrations should subscribe to TRANSACTION_PROCESSED
and branch on status.Authorizations
API key from the FYATU CaaS portal. Pass as Authorization: Bearer <key>.
Body
application/json
Response
200
Acknowledge the event.

