{ "event": "TRANSACTION_DECLINED", "eventId": "evt_01HXY123456ABCDEF", "businessId": "BUS1A2B3C4D5E6F", "environment": "LIVE", "timestamp": "2026-05-22T10:00:00Z", "data": { "transactionId": "txn_01HXYZ5555ABCDEF9999", "cardId": "crd_01HXYZ5555ABCDEF1111", "cardholderId": "chl_01HXYZ1234ABCDEF5678", "externalId": "my-user-id-789", "type": "AUTHORIZATION", "status": "DECLINED", "amount": 50.00, "currency": "USD", "billingAmount": 50.00, "billingCurrency": "USD", "declineReason": "INSUFFICIENT_FUNDS", "declineReasonDescription": "There was not enough money on the card to cover this payment, including any fees.", "declineReasonDetail": "No sufficient funds for transaction and cross-border fee @ $1.39", "authorizationCode": "A1B2C3", "merchant": { "name": "Apple Store", "id": "APPLE_MERCHANT_001", "city": "Cupertino", "country": "US", "mcc": "5732", "mccDescription": "Electronics Stores" } }}
{}
Transaction Events
Transaction Declined
Fired when a card authorization is declined. No funds are moved.
WEBHOOK
TRANSACTION_DECLINED
{ "event": "TRANSACTION_DECLINED", "eventId": "evt_01HXY123456ABCDEF", "businessId": "BUS1A2B3C4D5E6F", "environment": "LIVE", "timestamp": "2026-05-22T10:00:00Z", "data": { "transactionId": "txn_01HXYZ5555ABCDEF9999", "cardId": "crd_01HXYZ5555ABCDEF1111", "cardholderId": "chl_01HXYZ1234ABCDEF5678", "externalId": "my-user-id-789", "type": "AUTHORIZATION", "status": "DECLINED", "amount": 50.00, "currency": "USD", "billingAmount": 50.00, "billingCurrency": "USD", "declineReason": "INSUFFICIENT_FUNDS", "declineReasonDescription": "There was not enough money on the card to cover this payment, including any fees.", "declineReasonDetail": "No sufficient funds for transaction and cross-border fee @ $1.39", "authorizationCode": "A1B2C3", "merchant": { "name": "Apple Store", "id": "APPLE_MERCHANT_001", "city": "Cupertino", "country": "US", "mcc": "5732", "mccDescription": "Electronics Stores" } }}
{}
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
{ "event": "TRANSACTION_DECLINED", "eventId": "evt_01HXY123456ABCDEF", "businessId": "BUS1A2B3C4D5E6F", "environment": "LIVE", "timestamp": "2026-05-22T10:00:00Z", "data": { "transactionId": "txn_01HXYZ5555ABCDEF9999", "cardId": "crd_01HXYZ5555ABCDEF1111", "cardholderId": "chl_01HXYZ1234ABCDEF5678", "externalId": "my-user-id-789", "type": "AUTHORIZATION", "status": "DECLINED", "amount": 50.00, "currency": "USD", "billingAmount": 50.00, "billingCurrency": "USD", "declineReason": "INSUFFICIENT_FUNDS", "declineReasonDescription": "There was not enough money on the card to cover this payment, including any fees.", "declineReasonDetail": "No sufficient funds for transaction and cross-border fee @ $1.39", "authorizationCode": "A1B2C3", "merchant": { "name": "Apple Store", "id": "APPLE_MERCHANT_001", "city": "Cupertino", "country": "US", "mcc": "5732", "mccDescription": "Electronics Stores" } }}
Payload Fields
Field
Type
Description
transactionId
string
Unique transaction ID for this decline event
type
string
Always AUTHORIZATION for this event
status
string
Always DECLINED for this event
amount
number
Amount that was attempted, in dollars
declineReason
string
Machine-readable decline reason — see values below. Always present
declineReasonDescription
string
The same cause in one plain sentence, safe to show a cardholder unchanged. Always present. Branch on declineReason, display this
declineReasonDetail
string
The issuer’s own wording for this decline, unchanged. Present when the issuer supplied a message about the payment, absent otherwise — so always render it conditionally. Never branch on it: it is prose and it is reworded without notice
authorizationCode
string
Network authorization code for the declined attempt — the same field carried by TRANSACTION_AUTHORIZED/TRANSACTION_CLEARED. Use it to correlate a decline with your own records and with any resulting decline fee (TRANSACTION_FEE) that shares it. Present when the card network supplies one
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.
Value
Meaning
INSUFFICIENT_FUNDS
Not enough on the card to cover the payment and any fees
MERCHANT_RESTRICTED
This specific merchant is blocked for the card
BLOCKED_MCC
The merchant’s category is blocked for the programme
SPEND_LIMIT_EXCEEDED
The payment would pass a spending limit set on the card
VELOCITY_EXCEEDED
Too many payments attempted on the card in a short time
CARD_NOT_ACTIVE
The card was not active when the payment was attempted
CARD_FROZEN
The card is frozen
CARD_TERMINATED
The card has been terminated
CARD_EXPIRED
The card had expired
RESTRICTED_CARD
The card is restricted
INVALID_PIN
Incorrect PIN
INVALID_CVV
The security code did not match
INVALID_EXPIRY
The expiry date entered did not match
THREE_DS_FAILED
The cardholder did not complete the merchant’s additional security check
SECURITY_VIOLATION
Refused by a security check
SUSPECTED_FRAUD
Refused as suspected fraud
TRANSACTION_NOT_PERMITTED
This kind of payment is not permitted on the card
FOREIGN_TRANSACTION_NOT_PERMITTED
Payments outside the card’s own country are not permitted
INVALID_AMOUNT
The amount was not valid for the card
DUPLICATE_TRANSACTION
The same payment had already been received
ISSUER_UNAVAILABLE
The card could not be reached to authorise. Retryable
DO_NOT_HONOR
Refused by the card network without a specific reason
UNKNOWN_DECLINE
The cause could not be identified (fallback)
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
{ "event": "TRANSACTION_DECLINED", "eventId": "evt_01HXY123456ABCDEF", "businessId": "BUS1A2B3C4D5E6F", "environment": "LIVE", "timestamp": "2026-05-22T10:00:00Z", "data": { "transactionId": "txn_01HXYZ5555ABCDEF9999", "cardId": "crd_01HXYZ5555ABCDEF1111", "cardholderId": "chl_01HXYZ1234ABCDEF5678", "externalId": "my-user-id-789", "type": "AUTHORIZATION", "status": "DECLINED", "amount": 50.00, "currency": "USD", "billingAmount": 50.00, "billingCurrency": "USD", "declineReason": "INSUFFICIENT_FUNDS", "declineReasonDescription": "There was not enough money on the card to cover this payment, including any fees.", "declineReasonDetail": "No sufficient funds for transaction and cross-border fee @ $1.39", "authorizationCode": "A1B2C3", "merchant": { "name": "Apple Store", "id": "APPLE_MERCHANT_001", "city": "Cupertino", "country": "US", "mcc": "5732", "mccDescription": "Electronics Stores" } }}
{}
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
Show child attributes
Response
200
Acknowledge the event.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"FYATU API Docs","colors":{"primary":"#721D5D","light":"#D877C7","dark":"#721D5D"},"logo":{"light":"https://mintcdn.com/fyatu/1Y4pa7wxF_kMnOCq/logo/light.png?fit=max\u0026auto=format\u0026n=1Y4pa7wxF_kMnOCq\u0026q=85\u0026s=da06db892390b1d64a6da61ed20cf95e","dark":"https://mintcdn.com/fyatu/1Y4pa7wxF_kMnOCq/logo/dark.png?fit=max\u0026auto=format\u0026n=1Y4pa7wxF_kMnOCq\u0026q=85\u0026s=4699a651f759eba858eeebf169065ec2"},"favicon":"https://mintcdn.com/fyatu/bV6pmu3sbyQM-yrA/favicon.png?fit=max\u0026auto=format\u0026n=bV6pmu3sbyQM-yrA\u0026q=85\u0026s=8da36463646e8abbfbdff7ecb626062a","api":{"playground":{}},"navbar":{"primary":{"type":"button","label":"Get API Keys","href":"https://platform.fyatu.com/developers/api-keys"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/fyatu","x":"https://x.com/fyatucard","instagram":"https://www.instagram.com/fyatucard","facebook":"https://www.facebook.com/fyatucard","youtube":"https://www.youtube.com/@fyatu","telegram":"https://t.me/fyatupay"},"links":[{"header":"Products","items":[{"label":"Card Issuing","href":"https://fyatu.com/card-issuing"},{"label":"Virtual Cards","href":"https://fyatu.com/virtual-cards"},{"label":"Credit Cards","href":"https://fyatu.com/credit-cards"},{"label":"Digital Wallet","href":"https://fyatu.com/digital-wallet-cards"},{"label":"Prepaid Cards","href":"https://fyatu.com/prepaid-cards"},{"label":"One Time Card","href":"https://fyatu.com/one-time-card"}]},{"header":"Coverage","items":[{"label":"Africa","href":"https://fyatu.com/region/africa"},{"label":"Eastern Europe","href":"https://fyatu.com/region/eastern-europe"},{"label":"Latin America","href":"https://fyatu.com/region/latin-america"},{"label":"Middle East","href":"https://fyatu.com/region/middle-east"}]},{"header":"Company","items":[{"label":"Contact","href":"https://fyatu.com/contact"},{"label":"Security","href":"https://fyatu.com/security"},{"label":"Terms of Service","href":"https://fyatu.com/terms"},{"label":"Refund Policy","href":"https://fyatu.com/refund-policy"}]},{"header":"Tools","items":[{"label":"BIN Checker","href":"https://fyatu.com/tools/bin-checker"},{"label":"Bank Directory","href":"https://fyatu.com/banks"},{"label":"Country Data","href":"https://fyatu.com/countries"},{"label":"Decline Codes","href":"https://fyatu.com/tools/decline-codes"}]}]},"search":{"prompt":"Search FYATU API docs..."},"seo":{"metatags":{"og:site_name":"Fyatu API Documentation — Card Issuing API","og:type":"website","og:locale":"en_US","twitter:card":"summary_large_image","twitter:site":"@fyatu","robots":"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1","googlebot":"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1","keywords":"card issuing API, virtual card API, Mastercard API, Visa API, prepaid card issuing, 3D Secure cards, Apple Pay API, Google Pay API, fintech API Africa, payment API, payout API, webhook API, REST API card issuing, programmatic card issuing, virtual debit card API, card program API, mobile money API, payment gateway Africa"}},"metadata":{"timestamp":false},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://fyatu.com"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"fyatu","hasAudioNarration":false,"actualSubdomain":"fyatu","customDomains":["docs.fyatu.com"],"gitSource":{"type":"github","owner":"fyatu","repo":"api-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6b00b00e964ab5c3f5ff2960","clientVersion":"0.0.4304","searchFilterCounts":[{"language":"default","tag":"Webhooks","count":77},{"language":"default","tag":"API Reference","count":72},{"language":"default","tag":"Cards","count":61},{"language":"default","tag":"Documentation","count":22},{"language":"default","tag":"Cardholders","count":19},{"language":"default","tag":"Card Events","count":15},{"language":"default","tag":"Account","count":14},{"language":"default","tag":"Cardholder Events","count":10},{"language":"default","tag":"Getting Started","count":9},{"language":"default","tag":"Concepts","count":6}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"@font-face{font-family:'Clash Grotesk';src:url('/fonts/ClashGrotesk-Variable.woff2') format('woff2');font-weight:200 700;font-style:normal;font-display:swap}#footer[data-fyatu-footer]{--ff-bg:#f9fafb;--ff-head:#111827;--ff-link:#4b5563;--ff-link-hover:#721D5D;--ff-line:rgba(17,24,39,.10);--ff-soft-line:rgba(17,24,39,.08);--ff-icon:#6b7280;--ff-icon-hover:#721D5D;--ff-muted:#6b7280;--ff-legal-sep:#d1d5db;--ff-legal-under:#d1d5db;--ff-legal-hover:#111827;--ff-fine:#6b7280}html.dark #footer[data-fyatu-footer]{--ff-bg:#111827;--ff-head:#fff;--ff-link:#9ca3af;--ff-link-hover:#fff;--ff-line:rgba(255,255,255,.10);--ff-soft-line:rgba(255,255,255,.08);--ff-icon:#6b7280;--ff-icon-hover:#fff;--ff-muted:#6b7280;--ff-legal-sep:#374151;--ff-legal-under:#4b5563;--ff-legal-hover:#d1d5db;--ff-fine:#4b5563}#footer[data-fyatu-footer]{background:var(--ff-bg)!important;border-top:1px solid var(--ff-line)!important;max-width:none!important;width:100%!important;margin:0!important;padding:0!important;display:block!important}[data-fyatu-footer] *{box-sizing:border-box}[data-fyatu-footer] .ff-wrap{max-width:1440px;margin:0 auto;padding:0 16px}@media (min-width:640px){[data-fyatu-footer] .ff-wrap{padding:0 24px}}@media (min-width:1024px){[data-fyatu-footer] .ff-wrap{padding:0 40px}}[data-fyatu-footer] h3{margin:0 0 20px;font-size:16px;line-height:24px;font-weight:700;color:var(--ff-head)}[data-fyatu-footer] a{color:var(--ff-link);font-size:16px;line-height:1.375;font-weight:600;text-decoration:none;transition:color .15s}[data-fyatu-footer] a:hover{color:var(--ff-link-hover)}[data-fyatu-footer] ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}[data-fyatu-footer] li{margin:0;padding:0}[data-fyatu-footer] .ff-nav{padding:56px 0 32px;display:flex;flex-direction:column;gap:32px}[data-fyatu-footer] .ff-products{padding-bottom:32px;border-bottom:1px solid var(--ff-line)}[data-fyatu-footer] .ff-grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px 24px}[data-fyatu-footer] .ff-cols{display:grid;grid-template-columns:1fr 1fr;gap:32px}@media (min-width:640px){[data-fyatu-footer] .ff-cols{grid-template-columns:repeat(3,1fr);gap:40px}}@media (min-width:1024px){[data-fyatu-footer] .ff-nav{flex-direction:row;gap:0}[data-fyatu-footer] .ff-products{width:38%;padding:0 48px 0 0;border-bottom:0;border-right:1px solid var(--ff-line)}[data-fyatu-footer] .ff-cols{width:62%;padding-left:48px;gap:0}[data-fyatu-footer] .ff-col{padding:0 16px}[data-fyatu-footer] .ff-col:first-child{padding:0 32px 0 0}[data-fyatu-footer] .ff-col:last-child{padding:0 0 0 32px}}[data-fyatu-footer] .ff-social{display:flex;align-items:center;gap:20px;padding:32px 0 24px}[data-fyatu-footer] .ff-social>span{flex:1;height:1px;background:var(--ff-soft-line)}[data-fyatu-footer] .ff-social>div{display:flex;align-items:center;gap:16px}[data-fyatu-footer] .ff-social a{color:var(--ff-icon);display:inline-flex}[data-fyatu-footer] .ff-social a:hover{color:var(--ff-icon-hover)}[data-fyatu-footer] .ff-social svg{width:24px;height:24px}@media (min-width:640px){[data-fyatu-footer] .ff-social>div{gap:32px}[data-fyatu-footer] .ff-social svg{width:32px;height:32px}}[data-fyatu-footer] .ff-base{display:flex;flex-direction:column;align-items:center;gap:12px;padding-bottom:24px}[data-fyatu-footer] .ff-base img{height:64px;width:auto;opacity:.7;margin:0!important}[data-fyatu-footer] .ff-base p{margin:0;font-size:14px;color:var(--ff-muted)}[data-fyatu-footer] .ff-legal{display:flex;flex-wrap:wrap;justify-content:center;row-gap:8px;margin-top:12px}[data-fyatu-footer] .ff-legal a{font-size:14px;font-weight:400;color:var(--ff-muted);text-decoration:underline;text-underline-offset:2px;text-decoration-color:var(--ff-legal-under)}[data-fyatu-footer] .ff-legal a:hover{color:var(--ff-legal-hover)}[data-fyatu-footer] .ff-legal a:not(:last-child)::after{content:'|';margin:0 12px;color:var(--ff-legal-sep);display:inline-block;text-decoration:none}[data-fyatu-footer] .ff-disclosure{border-top:1px solid var(--ff-soft-line);padding:24px 0}[data-fyatu-footer] .ff-disclosure p{max-width:768px;margin:0 auto 8px;text-align:center;font-size:14px;line-height:1.625;color:var(--ff-fine)}[data-fyatu-footer] .ff-disclosure p:last-child{margin-bottom:0}[data-fyatu-footer] .ff-logo-dark{display:none}html.dark [data-fyatu-footer] .ff-logo-dark{display:inline}html.dark [data-fyatu-footer] .ff-logo-light{display:none}[data-fyatu-footer] .ff-base img.ff-logo-light{opacity:1}"}]}
{"page":{"pagePath":"v3.20/webhooks/events/transaction-declined","slug":"/v3.20/webhooks/events/transaction-declined","pageMetadata":{"title":"Transaction Declined","description":"Fired when a card authorization is declined. No funds are moved.","openapi":"v3.20/webhooks.json webhook TRANSACTION_DECLINED","href":"/v3.20/webhooks/events/transaction-declined"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Fired when a card authorization is declined. No funds are moved.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Note,Table}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Fires when a cardholder attempts a purchase and the authorization is declined. No funds are moved on a decline.`}),`\n`,_jsxs(_components.p,{children:[`Three fields explain why. `,_jsx(_components.code,{children:`declineReason`}),` is a stable code to branch on, `,_jsx(_components.code,{children:`declineReasonDescription`}),` is the same cause written as one plain sentence you can show the cardholder as it is, and `,_jsx(_components.code,{children:`declineReasonDetail`}),` is the issuer’s own wording for this particular payment when they supplied one.`]}),`\n`,_jsx(Heading,{level:`2`,id:`payload`,children:`Payload`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`31`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`31`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"event\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"TRANSACTION_DECLINED\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"eventId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"evt_01HXY123456ABCDEF\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"businessId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BUS1A2B3C4D5E6F\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"environment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"LIVE\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-05-22T10:00:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"transactionId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"txn_01HXYZ5555ABCDEF9999\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cardId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"crd_01HXYZ5555ABCDEF1111\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cardholderId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"chl_01HXYZ1234ABCDEF5678\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"externalId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"my-user-id-789\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AUTHORIZATION\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"DECLINED\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`50.00`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"billingAmount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`50.00`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"billingCurrency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"declineReason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"INSUFFICIENT_FUNDS\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"declineReasonDescription\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"There was not enough money on the card to cover this payment, including any fees.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"declineReasonDetail\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"No sufficient funds for transaction and cross-border fee @ $1.39\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"authorizationCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"A1B2C3\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"merchant\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Apple Store\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"APPLE_MERCHANT_001\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"city\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Cupertino\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"country\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"US\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mcc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5732\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mccDescription\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Electronics Stores\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`payload-fields`,children:`Payload Fields`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Field`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`transactionId`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Unique transaction ID for this decline event`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`type`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Always `,_jsx(_components.code,{children:`AUTHORIZATION`}),` for this event`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`status`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Always `,_jsx(_components.code,{children:`DECLINED`}),` for this event`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`amount`})}),_jsx(_components.td,{children:`number`}),_jsx(_components.td,{children:`Amount that was attempted, in dollars`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`declineReason`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`Machine-readable decline reason — see values below. Always present`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`declineReasonDescription`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`The same cause in one plain sentence, safe to show a cardholder unchanged. Always present. Branch on `,_jsx(_components.code,{children:`declineReason`}),`, display this`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`declineReasonDetail`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`The issuer’s own wording for this decline, unchanged. Present when the issuer supplied a message about the payment, absent otherwise — so always render it conditionally. Never branch on it: it is prose and it is reworded without notice`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`authorizationCode`})}),_jsx(_components.td,{children:`string`}),_jsxs(_components.td,{children:[`Network authorization code for the declined attempt — the same field carried by `,_jsx(_components.code,{children:`TRANSACTION_AUTHORIZED`}),`/`,_jsx(_components.code,{children:`TRANSACTION_CLEARED`}),`. Use it to correlate a decline with your own records and with any resulting decline fee (`,_jsx(_components.code,{children:`TRANSACTION_FEE`}),`) that shares it. Present when the card network supplies one`]})]})]})]}),`\n`,_jsx(_components.p,{children:_jsx(_components.strong,{children:`Decline reason values:`})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`declineReason`}),` is a machine-readable code. The codes are append-only: new ones are added over\ntime, existing ones are never renamed or removed.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Value`}),_jsx(_components.th,{children:`Meaning`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`INSUFFICIENT_FUNDS`})}),_jsx(_components.td,{children:`Not enough on the card to cover the payment and any fees`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`MERCHANT_RESTRICTED`})}),_jsx(_components.td,{children:`This specific merchant is blocked for the card`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`BLOCKED_MCC`})}),_jsx(_components.td,{children:`The merchant’s category is blocked for the programme`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`SPEND_LIMIT_EXCEEDED`})}),_jsx(_components.td,{children:`The payment would pass a spending limit set on the card`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`VELOCITY_EXCEEDED`})}),_jsx(_components.td,{children:`Too many payments attempted on the card in a short time`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`CARD_NOT_ACTIVE`})}),_jsx(_components.td,{children:`The card was not active when the payment was attempted`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`CARD_FROZEN`})}),_jsx(_components.td,{children:`The card is frozen`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`CARD_TERMINATED`})}),_jsx(_components.td,{children:`The card has been terminated`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`CARD_EXPIRED`})}),_jsx(_components.td,{children:`The card had expired`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`RESTRICTED_CARD`})}),_jsx(_components.td,{children:`The card is restricted`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`INVALID_PIN`})}),_jsx(_components.td,{children:`Incorrect PIN`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`INVALID_CVV`})}),_jsx(_components.td,{children:`The security code did not match`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`INVALID_EXPIRY`})}),_jsx(_components.td,{children:`The expiry date entered did not match`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`THREE_DS_FAILED`})}),_jsx(_components.td,{children:`The cardholder did not complete the merchant’s additional security check`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`SECURITY_VIOLATION`})}),_jsx(_components.td,{children:`Refused by a security check`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`SUSPECTED_FRAUD`})}),_jsx(_components.td,{children:`Refused as suspected fraud`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`TRANSACTION_NOT_PERMITTED`})}),_jsx(_components.td,{children:`This kind of payment is not permitted on the card`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`FOREIGN_TRANSACTION_NOT_PERMITTED`})}),_jsx(_components.td,{children:`Payments outside the card’s own country are not permitted`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`INVALID_AMOUNT`})}),_jsx(_components.td,{children:`The amount was not valid for the card`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`DUPLICATE_TRANSACTION`})}),_jsx(_components.td,{children:`The same payment had already been received`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ISSUER_UNAVAILABLE`})}),_jsx(_components.td,{children:`The card could not be reached to authorise. Retryable`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`DO_NOT_HONOR`})}),_jsx(_components.td,{children:`Refused by the card network without a specific reason`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`UNKNOWN_DECLINE`})}),_jsx(_components.td,{children:`The cause could not be identified (fallback)`})]})]})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Always handle `,_jsx(_components.code,{children:`UNKNOWN_DECLINE`}),` as a catch-all, and treat an unrecognised code the same way:\ncodes are added as new causes become distinguishable, so a `,_jsx(_components.code,{children:`switch`}),` without a default branch\nwill eventually meet one it does not know. `,_jsx(_components.code,{children:`declineReasonDescription`}),` is populated for every\ncode, including `,_jsx(_components.code,{children:`UNKNOWN_DECLINE`}),`, so displaying it is always safe.`]})}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Prior to 31 October 2026 nearly every decline arrived as `,_jsx(_components.code,{children:`UNKNOWN_DECLINE`}),`, because the reason\nwas only recognised when the network supplied it as a single word and in practice it never did.\nIf your integration special-cases `,_jsx(_components.code,{children:`UNKNOWN_DECLINE`}),`, you will now receive the specific codes\nabove instead.`]})}),`\n`,_jsxs(_components.p,{children:[`All other fields are the same as `,_jsx(_components.code,{children:`TRANSACTION_AUTHORIZED`}),`. See `,_jsx(_components.a,{href:`/v3.20/webhooks/events/transaction-processed`,children:`TRANSACTION_PROCESSED`}),` for the full field reference.`]}),`\n`,_jsx(Heading,{level:`2`,id:`common-use-cases`,children:`Common Use Cases`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Send a real-time decline notification to the cardholder`}),`\n`,_jsx(_components.li,{children:`Log decline patterns to detect fraud or misconfiguration`}),`\n`,_jsxs(_components.li,{children:[`Prompt the cardholder to top up their card on `,_jsx(_components.code,{children:`INSUFFICIENT_FUNDS`})]}),`\n`,_jsxs(_components.li,{children:[`Show `,_jsx(_components.code,{children:`declineReasonDescription`}),` directly in your app instead of writing your own copy per code`]}),`\n`,_jsxs(_components.li,{children:[`Show `,_jsx(_components.code,{children:`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`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Transaction Declined","description":"Fired when a card authorization is declined. No funds are moved.","openapi":"v3.20/webhooks.json webhook TRANSACTION_DECLINED","href":"/v3.20/webhooks/events/transaction-declined"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[380,389,"RequestExample,ResponseExample,Table}=_c"],[548,560,"RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!Table)_missi"],[23820,24248,",`\n`,_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`Webhook Payload`,numberOfLines:`31`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`31`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"event\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"TRANSACTION_DECLINED\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"eventId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"evt_01HXY123456ABCDEF\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"businessId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"BUS1A2B3C4D5E6F\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"environment\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"LIVE\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"2026-05-22T10:00:00Z\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"transactionId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"txn_01HXYZ5555ABCDEF9999\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cardId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"crd_01HXYZ5555ABCDEF1111\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"cardholderId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"chl_01HXYZ1234ABCDEF5678\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"externalId\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"my-user-id-789\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"AUTHORIZATION\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"status\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"DECLINED\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"amount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`50.00`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"currency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"billingAmount\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#B5CEA8`},children:`50.00`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"billingCurrency\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"USD\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"declineReason\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"INSUFFICIENT_FUNDS\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"declineReasonDescription\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"There was not enough money on the card to cover this payment, including any fees.\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"declineReasonDetail\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"No sufficient funds for transaction and cross-border fee @ $1.39\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"authorizationCode\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"A1B2C3\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"merchant\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"name\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Apple Store\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"id\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"APPLE_MERCHANT_001\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"city\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Cupertino\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"country\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"US\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mcc\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"5732\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mccDescription\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Electronics Stores\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`200`,numberOfLines:`1`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`1`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{}`})}),`\n`]})})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}"]]},"mdxExtracts":{"tableOfContents":[{"title":"Payload","slug":"payload","depth":2,"children":[]},{"title":"Payload Fields","slug":"payload-fields","depth":2,"children":[]},{"title":"Common Use Cases","slug":"common-use-cases","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"Webhook Payload","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"31\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"event\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"TRANSACTION_DECLINED\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"eventId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"evt_01HXY123456ABCDEF\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"businessId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"BUS1A2B3C4D5E6F\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"environment\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"LIVE\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"timestamp\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"2026-05-22T10:00:00Z\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"data\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"transactionId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"txn_01HXYZ5555ABCDEF9999\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"cardId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"crd_01HXYZ5555ABCDEF1111\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"cardholderId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"chl_01HXYZ1234ABCDEF5678\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"externalId\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"my-user-id-789\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"AUTHORIZATION\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"status\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"DECLINED\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"amount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">50.00\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"currency\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"USD\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"billingAmount\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0550AE;--shiki-dark:#B5CEA8\">50.00\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"billingCurrency\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"USD\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"declineReason\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"INSUFFICIENT_FUNDS\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"declineReasonDescription\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"There was not enough money on the card to cover this payment, including any fees.\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"declineReasonDetail\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"No sufficient funds for transaction and cross-border fee @ $1.39\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"authorizationCode\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"A1B2C3\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"merchant\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"name\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Apple Store\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"id\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"APPLE_MERCHANT_001\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"city\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Cupertino\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"country\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"US\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"mcc\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"5732\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#116329;--shiki-dark:#9CDCFE\"> \"mccDescription\"\u003c/span>\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#0A3069;--shiki-dark:#CE9178\">\"Electronics Stores\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"200","html":"\u003cpre class=\"shiki shiki-themes github-light-default dark-plus\" style=\"background-color:#ffffff;--shiki-dark-bg:#0B0C0E;color:#1f2328;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"1\">\u003cspan class=\"line\">\u003cspan style=\"color:#1F2328;--shiki-dark:#D4D4D4\">{}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":["/_mintlify/custom/fyatu/5ce54d4312ebdc4f/footer.js"],"openApiReferenceData":{"operation":{"summary":"Transaction Declined","description":"Fired when a card authorization is declined. No funds are moved.","tags":["Transaction Events"],"requestBody":"fa1de041-b2a8-4bb6-86da-d2f9e8ce7e7f","responses":{"200":"d40d8ff1-3a22-4cde-b727-11c6d29788a5"},"method":"post","type":"webhook","servers":[],"security":[],"path":"TRANSACTION_DECLINED","baseUrlOptions":[],"title":"Transaction Declined","codeSamples":[],"requiredOnlyExamples":false,"requestExamples":[{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"31","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{"}}}},"\n",{"type":"span","key":"2","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"event\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"TRANSACTION_DECLINED\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"4","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"eventId\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"evt_01HXY123456ABCDEF\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"6","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"businessId\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"BUS1A2B3C4D5E6F\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"8","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"environment\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"LIVE\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"10","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"timestamp\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"2026-05-22T10:00:00Z\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"12","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"data\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": {"}}]}},"\n",{"type":"span","key":"14","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"transactionId\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"txn_01HXYZ5555ABCDEF9999\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"16","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"cardId\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"crd_01HXYZ5555ABCDEF1111\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"18","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"cardholderId\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"chl_01HXYZ1234ABCDEF5678\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"20","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"externalId\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"my-user-id-789\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"22","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"type\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"AUTHORIZATION\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"24","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"status\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"DECLINED\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"26","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"amount\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"50.00"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"28","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"currency\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"USD\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"30","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"billingAmount\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0550AE","--shiki-dark":"#B5CEA8"},"children":"50.00"}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"32","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"billingCurrency\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"USD\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"34","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"declineReason\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"INSUFFICIENT_FUNDS\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"36","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"declineReasonDescription\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"There was not enough money on the card to cover this payment, including any fees.\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"38","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"declineReasonDetail\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"No sufficient funds for transaction and cross-border fee @ $1.39\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"40","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"authorizationCode\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"A1B2C3\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"42","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"merchant\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": {"}}]}},"\n",{"type":"span","key":"44","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"name\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Apple Store\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"46","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"id\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"APPLE_MERCHANT_001\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"48","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"city\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Cupertino\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"50","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"country\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"US\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"52","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"mcc\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"5732\""}},{"type":"span","key":"3","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":","}}]}},"\n",{"type":"span","key":"54","ref":null,"props":{"className":"line","children":[{"type":"span","key":"0","ref":null,"props":{"style":{"color":"#116329","--shiki-dark":"#9CDCFE"},"children":" \"mccDescription\""}},{"type":"span","key":"1","ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":": "}},{"type":"span","key":"2","ref":null,"props":{"style":{"color":"#0A3069","--shiki-dark":"#CE9178"},"children":"\"Electronics Stores\""}}]}},"\n",{"type":"span","key":"56","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" }"}}}},"\n",{"type":"span","key":"58","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":" }"}}}},"\n",{"type":"span","key":"60","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"}"}}}},"\n"]}}}},"filename":"Webhook Payload"}],"requestExampleType":"mdx","responseExamples":[{"dropdown":false,"language":"json","code":{"type":"pre","key":null,"ref":null,"props":{"className":"shiki shiki-themes github-light-default dark-plus","style":{"backgroundColor":"#ffffff","--shiki-dark-bg":"#0B0C0E","color":"#1f2328","--shiki-dark":"#D4D4D4"},"language":"json","children":{"type":"code","key":null,"ref":null,"props":{"language":"json","numberOfLines":"1","children":[{"type":"span","key":"0","ref":null,"props":{"className":"line","children":{"type":"span","key":null,"ref":null,"props":{"style":{"color":"#1F2328","--shiki-dark":"#D4D4D4"},"children":"{}"}}}},"\n"]}}}},"filename":"200"}],"responseExampleType":"mdx"},"dependencies":{"parameters":{},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"event":{"type":"string","example":"TRANSACTION_DECLINED","uniqueKey":"event","typeLabel":"string"},"eventId":{"type":"string","uniqueKey":"eventId","typeLabel":"string"},"businessId":{"type":"string","uniqueKey":"businessId","typeLabel":"string"},"environment":{"type":"string","enum":["LIVE","SANDBOX"],"uniqueKey":"environment","typeLabel":"enum\u003cstring>"},"timestamp":{"type":"string","format":"date-time","uniqueKey":"timestamp","typeLabel":"string\u003cdate-time>"},"data":{"type":"object","properties":{"transactionId":{"type":"string","description":"Identifies this EVENT, not the purchase. An authorization and its clearing carry different values — correlate on relatedTransactionId.","example":"f94c6d97-f54c-4479-b590-3d97d65e2e92","uniqueKey":"data.transactionId","typeLabel":"string"},"cardId":{"type":"string","uniqueKey":"data.cardId","typeLabel":"string"},"type":{"type":"string","example":"AUTHORIZATION","uniqueKey":"data.type","typeLabel":"string"},"status":{"type":"string","example":"DECLINED","uniqueKey":"data.status","typeLabel":"string"},"currency":{"type":"string","uniqueKey":"data.currency","typeLabel":"string"},"billingCurrency":{"type":"string","uniqueKey":"data.billingCurrency","typeLabel":"string"},"declineReason":{"type":"string","description":"Why the payment was refused. A stable, append-only code: INSUFFICIENT_FUNDS, MERCHANT_RESTRICTED, BLOCKED_MCC, SPEND_LIMIT_EXCEEDED, VELOCITY_EXCEEDED, CARD_NOT_ACTIVE, CARD_FROZEN, CARD_TERMINATED, CARD_EXPIRED, RESTRICTED_CARD, INVALID_PIN, INVALID_CVV, INVALID_EXPIRY, THREE_DS_FAILED, SECURITY_VIOLATION, SUSPECTED_FRAUD, TRANSACTION_NOT_PERMITTED, FOREIGN_TRANSACTION_NOT_PERMITTED, INVALID_AMOUNT, DUPLICATE_TRANSACTION, ISSUER_UNAVAILABLE, DO_NOT_HONOR, UNKNOWN_DECLINE. Present on declines only. Treat an unrecognised code as UNKNOWN_DECLINE.","example":"INSUFFICIENT_FUNDS","uniqueKey":"data.declineReason","typeLabel":"string"},"declineReasonDescription":{"type":"string","description":"The same cause in one plain sentence, safe to show a cardholder unchanged. Populated for every code, including UNKNOWN_DECLINE. Branch on declineReason, display this.","example":"There was not enough money on the card to cover this payment, including any fees.","uniqueKey":"data.declineReasonDescription","typeLabel":"string"},"declineReasonDetail":{"type":"string","description":"The card issuer's own wording for this decline, repeated unchanged. Optional: present when the issuer supplied a message about the payment. Often more specific than `declineReasonDescription` — a cross-border fee that tipped the payment over, how many attempts preceded a block — so show it alongside, not instead of, the sentence above.","example":"No sufficient funds for transaction and cross-border fee @ $1.39","uniqueKey":"data.declineReasonDetail","typeLabel":"string"},"authorizationCode":{"type":"string","description":"Optional. The network's approval code, also present in references. NOT a correlation key — the network often omits it.","example":"021234","uniqueKey":"data.authorizationCode","typeLabel":"string"},"cardholderId":{"type":"string","uniqueKey":"data.cardholderId","typeLabel":"string"},"externalId":{"oneOf":[{"type":"string","uniqueKey":"data.externalId.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.externalId.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.externalId","typeLabel":"string | null"},"merchant":{"oneOf":[{"type":"object","properties":{"name":{"type":"string","uniqueKey":"data.merchant.oneOf.0.name","typeLabel":"string"},"id":{"type":"string","uniqueKey":"data.merchant.oneOf.0.id","typeLabel":"string"},"city":{"type":"string","uniqueKey":"data.merchant.oneOf.0.city","typeLabel":"string"},"country":{"type":"string","uniqueKey":"data.merchant.oneOf.0.country","typeLabel":"string"},"mcc":{"type":"string","uniqueKey":"data.merchant.oneOf.0.mcc","typeLabel":"string"},"mccDescription":{"type":"string","uniqueKey":"data.merchant.oneOf.0.mccDescription","typeLabel":"string"}},"uniqueKey":"data.merchant.oneOf.0","typeLabel":"object"},{"type":"null","properties":{"name":{"type":"string"},"id":{"type":"string"},"city":{"type":"string"},"country":{"type":"string"},"mcc":{"type":"string"},"mccDescription":{"type":"string"}},"uniqueKey":"data.merchant.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.merchant","typeLabel":"object | null"},"relatedTransactionId":{"type":"string","description":"The purchase key — group events by this. The same value on an authorization and its clearing; on a reversal or fee, the charge it derives from. Always present.","example":"2d4df94e-5fc1-4f5b-ab26-f4e4b756e272","uniqueKey":"data.relatedTransactionId","typeLabel":"string"},"references":{"type":"object","description":"Network identifiers exactly as supplied by the card network. A key is omitted when the network did not supply it, never sent empty.","properties":{"authorizationCode":{"type":"string","description":"The network's approval code. Optional — often absent, and never a correlation key.","example":"021234","uniqueKey":"data.references.authorizationCode","typeLabel":"string"},"referenceNumber":{"type":"string","description":"The acquirer's reference for the transaction, for reconciling against a statement.","example":"102300313422","uniqueKey":"data.references.referenceNumber","typeLabel":"string"},"rrn":{"type":"string","description":"Retrieval reference number.","example":"f0e85fb9-eaf8-4a62-8d58-e581fe332e40","uniqueKey":"data.references.rrn","typeLabel":"string"},"merchantId":{"type":"string","description":"The acquirer's merchant identifier.","example":"IRKGOG97WMYUONX","uniqueKey":"data.references.merchantId","typeLabel":"string"},"network":{"type":"string","description":"Card network that carried the transaction.","example":"MASTERCARD","uniqueKey":"data.references.network","typeLabel":"string"},"maskedPan":{"type":"string","description":"Masked PAN the charge was made on.","example":"XXXXXXXXXXXX4786","uniqueKey":"data.references.maskedPan","typeLabel":"string"}},"uniqueKey":"data.references","typeLabel":"object"},"amount":{"type":"number","format":"float","description":"Amount in dollars.","example":29.99,"uniqueKey":"data.amount","typeLabel":"number\u003cfloat>"},"billingAmount":{"type":"number","format":"float","description":"Amount in dollars.","example":29.99,"uniqueKey":"data.billingAmount","typeLabel":"number\u003cfloat>"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"event":"TRANSACTION_DECLINED","eventId":"evt_01HXY123456ABCDEF","businessId":"BUS1A2B3C4D5E6F","environment":"LIVE","timestamp":"2026-05-22T10:30:00Z","data":{"transactionId":"txn_01HXYZ3333ABCDEF0001","cardId":"crd_01HXYZ5555ABCDEF1111","programId":"prg_01HXYZ9876ABCDEF0000","type":"AUTHORIZATION","status":"DECLINED","amountCents":15000,"currency":"USD","billingAmountCents":15000,"billingCurrency":"USD","declineReason":"INSUFFICIENT_FUNDS","declineReasonDescription":"There was not enough money on the card to cover this payment, including any fees.","declineReasonDetail":"No sufficient funds for transaction and cross-border fee @ $1.39","authorizationCode":"A1B2C3","cardholderId":"chd_01HXYZ1111ABCDEF0000","externalId":"ext_user_42","merchant":{"name":"Best Buy","id":"MCH002","city":"Richfield","country":"US","mcc":"5734","mccDescription":"Computer and Computer Software Stores"}}},"examples":{"Example":{"title":"Example","value":{"event":"TRANSACTION_DECLINED","eventId":"evt_01HXY123456ABCDEF","businessId":"BUS1A2B3C4D5E6F","environment":"LIVE","timestamp":"2026-05-22T10:30:00Z","data":{"transactionId":"txn_01HXYZ3333ABCDEF0001","cardId":"crd_01HXYZ5555ABCDEF1111","programId":"prg_01HXYZ9876ABCDEF0000","type":"AUTHORIZATION","status":"DECLINED","amountCents":15000,"currency":"USD","billingAmountCents":15000,"billingCurrency":"USD","declineReason":"INSUFFICIENT_FUNDS","declineReasonDescription":"There was not enough money on the card to cover this payment, including any fees.","declineReasonDetail":"No sufficient funds for transaction and cross-border fee @ $1.39","authorizationCode":"A1B2C3","cardholderId":"chd_01HXYZ1111ABCDEF0000","externalId":"ext_user_42","merchant":{"name":"Best Buy","id":"MCH002","city":"Richfield","country":"US","mcc":"5734","mccDescription":"Computer and Computer Software Stores"}}}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"d40d8ff1-3a22-4cde-b727-11c6d29788a5":{"description":"Acknowledge the event.","content":{"_mintlify/placeholder":{"schema":{"type":"object","description":""}}}}},"security":{},"servers":{}},"originalFileLocation":"v3.20/webhooks.json"},"subdomain":"fyatu","siteName":"FYATU API Docs","title":"Transaction Declined - FYATU API Docs","navMaps":{"firstHrefInVersion":{"v3.20 — CaaS":{"href":"/v3.20/webhooks/events/transaction-declined","matchLevel":0},"v3 — Business":{"href":"/home","matchLevel":4}},"firstHrefInLanguage":{}},"lastModified":"2026-11-15T22:31:12.241Z","originalFileLocation":"v3.20/webhooks/events/transaction-declined.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Fired when a card authorization is declined. No funds are moved.\">\u003cmeta data-mint-head name=\"keywords\" content=\"card issuing API, virtual card API, Mastercard API, Visa API, prepaid card issuing, 3D Secure cards, Apple Pay API, Google Pay API, fintech API Africa, payment API, payout API, webhook API, REST API card issuing, programmatic card issuing, virtual debit card API, card program API, mobile money API, payment gateway Africa\">\u003cmeta data-mint-head name=\"application-name\" content=\"FYATU API Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/fyatu/b3wN_qy-N1otkCBP/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/fyatu/b3wN_qy-N1otkCBP/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/fyatu/b3wN_qy-N1otkCBP/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/fyatu/b3wN_qy-N1otkCBP/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/fyatu/b3wN_qy-N1otkCBP/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/fyatu/b3wN_qy-N1otkCBP/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/fyatu/b3wN_qy-N1otkCBP/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/fyatu/b3wN_qy-N1otkCBP/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/fyatu/b3wN_qy-N1otkCBP/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Transaction Declined - FYATU API Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Fired when a card authorization is declined. No funds are moved.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Fyatu API Documentation — Card Issuing API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.fyatu.com/v3.20/webhooks/events/transaction-declined\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://fyatu.mintlify.site/_mintlify/api/og/v2?division=Transaction+Events\u0026amp;title=Transaction+Declined\u0026amp;description=Fired+when+a+card+authorization+is+declined.+No+funds+are+moved.\u0026amp;theme=4a91f0fc566d34e9acdb9cbb\u0026amp;signature=b2f8795803f63376c0aeea810215ca34a53ea7d0c0733b469450fca45680a910\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Transaction Declined - FYATU API Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Fired when a card authorization is declined. No funds are moved.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://fyatu.mintlify.site/_mintlify/api/og/v2?division=Transaction+Events\u0026amp;title=Transaction+Declined\u0026amp;description=Fired+when+a+card+authorization+is+declined.+No+funds+are+moved.\u0026amp;theme=4a91f0fc566d34e9acdb9cbb\u0026amp;signature=b2f8795803f63376c0aeea810215ca34a53ea7d0c0733b469450fca45680a910\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/fyatu/b3wN_qy-N1otkCBP/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"FYATU API Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#721D5D\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003cmeta data-mint-head name=\"googlebot\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.fyatu.com/v3.20/webhooks/events/transaction-declined\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/v3.20/webhooks/events/transaction-declined.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.fyatu.com/#organization\",\"name\":\"FYATU API Docs\",\"url\":\"https://docs.fyatu.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/fyatu/1Y4pa7wxF_kMnOCq/logo/light.png?fit=max\u0026auto=format\u0026n=1Y4pa7wxF_kMnOCq\u0026q=85\u0026s=da06db892390b1d64a6da61ed20cf95e\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.fyatu.com#website\",\"name\":\"FYATU API Docs\",\"url\":\"https://docs.fyatu.com\",\"publisher\":{\"@id\":\"https://docs.fyatu.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.fyatu.com/v3.20/webhooks/events/transaction-declined#webpage\",\"url\":\"https://docs.fyatu.com/v3.20/webhooks/events/transaction-declined\",\"name\":\"Transaction Declined\",\"description\":\"Fired when a card authorization is declined. No funds are moved.\",\"dateModified\":\"2026-11-15T22:31:12.241Z\",\"isPartOf\":{\"@id\":\"https://docs.fyatu.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.fyatu.com/v3.20/webhooks/events/transaction-declined#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.fyatu.com/v3.20/webhooks/events/transaction-declined#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Transaction Events\",\"item\":\"https://docs.fyatu.com/v3.20/webhooks/events/transaction-processed\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Transaction Declined\",\"item\":\"https://docs.fyatu.com/v3.20/webhooks/events/transaction-declined\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.fyatu.com/v3.20/webhooks/events/transaction-declined#apireference\",\"headline\":\"Transaction Declined\",\"name\":\"Transaction Declined\",\"description\":\"Fired when a card authorization is declined. No funds are moved.\",\"url\":\"https://docs.fyatu.com/v3.20/webhooks/events/transaction-declined\",\"mainEntityOfPage\":{\"@id\":\"https://docs.fyatu.com/v3.20/webhooks/events/transaction-declined#webpage\"},\"dateModified\":\"2026-11-15T22:31:12.241Z\",\"publisher\":{\"@id\":\"https://docs.fyatu.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.fyatu.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"FYATU API Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"FYATU API Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/v3.20/webhooks/events/transaction-declined.md","siteName":"FYATU API Docs","nav":{"global":{"anchors":[{"anchor":"Website","icon":"globe","href":"https://fyatu.com"}]},"versions":[{"version":"v3.20 — CaaS","default":true,"tabs":[{"tab":"Home","icon":"house","pages":[{"title":"Home","href":"/home"}]},{"tab":"Documentation","icon":"book-open","pages":[{"title":"Documentation","href":"/v3.20/documentation/introduction"}]},{"tab":"API Reference","icon":"square-terminal","pages":[{"title":"API Reference","href":"/v3.20/api-reference/account/info"}]},{"tab":"Webhooks","icon":"webhook","groups":[{"group":"Guides","pages":[{"title":"Signature Verification","href":"/v3.20/webhooks/signature-verification"}]},{"group":"JIT Authorization","pages":[{"title":"Card Authorization Verify","openapi":"v3.20/webhooks.json webhook CARD_AUTHORIZATION_VERIFY","href":"/v3.20/webhooks/events/card-authorization-verify"}]},{"group":"Card Events","pages":[{"title":"Card Issued","openapi":"v3.20/webhooks.json webhook CARD_ISSUED","href":"/v3.20/webhooks/events/card-issued"},{"title":"Card Frozen","openapi":"v3.20/webhooks.json webhook CARD_FROZEN","href":"/v3.20/webhooks/events/card-frozen"},{"title":"Card Unfrozen","openapi":"v3.20/webhooks.json webhook CARD_UNFROZEN","href":"/v3.20/webhooks/events/card-unfrozen"},{"title":"Card Terminated","openapi":"v3.20/webhooks.json webhook CARD_TERMINATED","href":"/v3.20/webhooks/events/card-terminated"},{"title":"Card Status Corrected","openapi":"v3.20/webhooks.json webhook CARD_STATUS_CORRECTED","href":"/v3.20/webhooks/events/card-status-corrected"},{"title":"Card Termination Refund","openapi":"v3.20/webhooks.json webhook CARD_TERMINATION_REFUND","href":"/v3.20/webhooks/events/card-termination-refund"},{"title":"Card Termination Refund Post","openapi":"v3.20/webhooks.json webhook CARD_TERMINATION_REFUND_POST","href":"/v3.20/webhooks/events/card-termination-refund-post"},{"title":"Card Funded","openapi":"v3.20/webhooks.json webhook CARD_FUNDED","href":"/v3.20/webhooks/events/card-funded"},{"title":"Card Fund Failed","openapi":"v3.20/webhooks.json webhook CARD_FUND_FAILED","href":"/v3.20/webhooks/events/card-fund-failed"},{"title":"Card Unloaded","openapi":"v3.20/webhooks.json webhook CARD_UNLOADED","href":"/v3.20/webhooks/events/card-unloaded"},{"title":"Card Unload Failed","openapi":"v3.20/webhooks.json webhook CARD_UNLOAD_FAILED","href":"/v3.20/webhooks/events/card-unload-failed"},{"title":"Card Negative Balance","openapi":"v3.20/webhooks.json webhook CARD_NEGATIVE_BALANCE","href":"/v3.20/webhooks/events/card-negative-balance"},{"title":"Card Negative Balance Settled","openapi":"v3.20/webhooks.json webhook CARD_NEGATIVE_BALANCE_SETTLED","href":"/v3.20/webhooks/events/card-negative-balance-settled"},{"title":"Card 3DS OTP","openapi":"v3.20/webhooks.json webhook CARD_3DS_OTP","href":"/v3.20/webhooks/events/card-3ds-otp"},{"title":"Card Tokenization OTP","openapi":"v3.20/webhooks.json webhook CARD_TOKENIZATION_OTP","href":"/v3.20/webhooks/events/card-tokenization-otp"}]},{"group":"Transaction Events","pages":[{"title":"Transaction Processed","description":"The card-transaction lifecycle event. The status field carries the phase — AUTHORIZED, CLEARED, REVERSED, REFUNDED, or ADJUSTED.","openapi":"v3.20/webhooks.json webhook TRANSACTION_PROCESSED","href":"/v3.20/webhooks/events/transaction-processed"},{"title":"Transaction Declined","openapi":"v3.20/webhooks.json webhook TRANSACTION_DECLINED","href":"/v3.20/webhooks/events/transaction-declined"},{"title":"Transaction Fee","description":"Fired when a fee is posted against a card — such as a cross-border fee or a decline fee.","openapi":"v3.20/webhooks.json webhook TRANSACTION_FEE","href":"/v3.20/webhooks/events/transaction-fee"},{"title":"Transaction Authorized","openapi":"v3.20/webhooks.json webhook TRANSACTION_AUTHORIZED","href":"/v3.20/webhooks/events/transaction-authorized"},{"title":"Transaction Cleared","openapi":"v3.20/webhooks.json webhook TRANSACTION_CLEARED","href":"/v3.20/webhooks/events/transaction-cleared"},{"title":"Transaction Reversed","openapi":"v3.20/webhooks.json webhook TRANSACTION_REVERSED","href":"/v3.20/webhooks/events/transaction-reversed"}]},{"group":"Cardholder Events","pages":[{"title":"Cardholder Created","openapi":"v3.20/webhooks.json webhook CARDHOLDER_CREATED","href":"/v3.20/webhooks/events/cardholder-created"},{"title":"Cardholder Suspended","openapi":"v3.20/webhooks.json webhook CARDHOLDER_SUSPENDED","href":"/v3.20/webhooks/events/cardholder-suspended"},{"title":"Cardholder Reactivated","openapi":"v3.20/webhooks.json webhook CARDHOLDER_REACTIVATED","href":"/v3.20/webhooks/events/cardholder-reactivated"},{"title":"Cardholder Deleted","openapi":"v3.20/webhooks.json webhook CARDHOLDER_DELETED","href":"/v3.20/webhooks/events/cardholder-deleted"},{"title":"Cardholder KYC Approved","openapi":"v3.20/webhooks.json webhook CARDHOLDER_KYC_APPROVED","href":"/v3.20/webhooks/events/cardholder-kyc-approved"},{"title":"Cardholder KYC Rejected","openapi":"v3.20/webhooks.json webhook CARDHOLDER_KYC_REJECTED","href":"/v3.20/webhooks/events/cardholder-kyc-rejected"}]},{"group":"Account Events","pages":[{"title":"Account Low Balance","openapi":"v3.20/webhooks.json webhook ACCOUNT_LOW_BALANCE","href":"/v3.20/webhooks/events/account-low-balance"},{"title":"Account Withdrawal Initiated","openapi":"v3.20/webhooks.json webhook ACCOUNT_WITHDRAWAL_INITIATED","href":"/v3.20/webhooks/events/account-withdrawal-initiated"},{"title":"Account Withdrawal Completed","openapi":"v3.20/webhooks.json webhook ACCOUNT_WITHDRAWAL_COMPLETED","href":"/v3.20/webhooks/events/account-withdrawal-completed"},{"title":"Account Withdrawal Failed","openapi":"v3.20/webhooks.json webhook ACCOUNT_WITHDRAWAL_FAILED","href":"/v3.20/webhooks/events/account-withdrawal-failed"}]},{"group":"Billing Events","pages":[{"title":"Billing Invoice Created","openapi":"v3.20/webhooks.json webhook BILLING_INVOICE_CREATED","href":"/v3.20/webhooks/events/billing-invoice-created"},{"title":"Billing Invoice Paid","openapi":"v3.20/webhooks.json webhook BILLING_INVOICE_PAID","href":"/v3.20/webhooks/events/billing-invoice-paid"},{"title":"Billing Deposit Detected","openapi":"v3.20/webhooks.json webhook BILLING_DEPOSIT_DETECTED","href":"/v3.20/webhooks/events/billing-deposit-detected"},{"title":"Billing Deposit Confirmed","openapi":"v3.20/webhooks.json webhook BILLING_DEPOSIT_CONFIRMED","href":"/v3.20/webhooks/events/billing-deposit-confirmed"}]}]}]},{"version":"v3 — Business","pages":[{"title":"v3 — Business","href":"/home"}]}]},"basePath":"","title":"Transaction Declined - FYATU API Docs","deploymentId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","buildId":"dpl_57NA6NKtrcUBhuxv6Tm2hAi21TK4","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CalkZbx8.js","snippetPresets-DtvvunBK.js","utils-Bn5byECU.js","style-to-object-BY3JEAdk.js","utils-DOTAoFcT.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-CDauU9aU.js","conditional-requirements-CFM0id0Q.js","cloneDeep-k2aHAqp5.js","_Uint8Array-CQuRedKT.js","isObject-FP1Yky1u.js","ApiExamples-CSBS2nDe.js","usePlaygroundInputsStore-BkN7uKke.js","shallow-6IMgYiEa.js","isEqual-DicuCknl.js","CodeSnippets-C268fsRY.js","CodeSnippet-BBA8eWiP.js","getApiPlaygroundDisplay-DMK5GRGS.js","Page-Dz3zehSO.js","api-description-markdown-DwoksVHI.js","DynamicMarkdown-XsrWkK-b.js","SectionHeading-AR_EzDYe.js","MethodPill-CvOL8UTX.js","getPastedJson-BazkMjRw.js","Check2Icon-BL_xILK9.js","axios-CsQoIw0U.js","Markdown-CX8Sr5UZ.js","AssistantPageLink-B3VcLrB0.js","dist-WDJo6xkj.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}