Skip to main content
WEBHOOK
Fires when a cardholder attempts a purchase and the authorization is declined. No funds are moved on a decline. Three fields explain why. declineReason is a stable code to branch on, declineReasonDescription is the same cause written as one plain sentence you can show the cardholder as it is, and declineReasonDetail is the issuer’s own wording for this particular payment when they supplied one.

Payload

Payload Fields

Decline reason values: declineReason is a machine-readable code. The codes are append-only: new ones are added over time, existing ones are never renamed or removed.
Always handle UNKNOWN_DECLINE as a catch-all, and treat an unrecognised code the same way: codes are added as new causes become distinguishable, so a switch without a default branch will eventually meet one it does not know. declineReasonDescription is populated for every code, including UNKNOWN_DECLINE, so displaying it is always safe.
Prior to 31 October 2026 nearly every decline arrived as UNKNOWN_DECLINE, because the reason was only recognised when the network supplied it as a single word and in practice it never did. If your integration special-cases UNKNOWN_DECLINE, you will now receive the specific codes above instead.
All other fields are the same as TRANSACTION_AUTHORIZED. See TRANSACTION_PROCESSED 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 on INSUFFICIENT_FUNDS
  • Show declineReasonDescription directly in your app instead of writing your own copy per code
  • Show declineReasonDetail under it when it is present — it is what the issuer said about that payment, and it is often the part that tells a cardholder what to do next

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.