Skip to main content
WEBHOOK
Fires when a cardholder attempts a purchase and the authorization is declined. The declineReason field explains why. No funds are moved on a decline.

Event Type

Payload

Payload Fields

Decline reason values: declineReason is a machine-readable code. Known values:
Any provider reason that does not map to one of the codes above is normalised to UNKNOWN_DECLINE. Always handle UNKNOWN_DECLINE as a catch-all.
All other fields are the same as TRANSACTION_AUTHORIZED. See Transaction Events for the full field reference.

Common Use Cases

  • Send a real-time decline notification to the cardholder
  • Log decline patterns to detect fraud or misconfiguration
  • Prompt the cardholder to top up their card if INSUFFICIENT_BALANCE

Authorizations

Authorization
string
header
required

API key from the FYATU CaaS portal. Pass as Authorization: Bearer <key>.

Body

application/json
event
string
Example:

"TRANSACTION_DECLINED"

eventId
string
businessId
string
environment
enum<string>
Available options:
LIVE,
SANDBOX
timestamp
string<date-time>
data
object

Response

200

Acknowledge the event.