Skip to main content

Payments glossary Declines & recovery

What Is a Decline Code?

Definition

A decline code is the short response code an issuer or card network returns to explain why a card authorization was refused. Examples are 05 (Do not honor) and 51 (Not sufficient funds). Payment providers pass the raw network code to merchants and often translate it into their own decline codes.

Also called: response code, authorization response code, network decline code, refusal reason

How it works and why it matters

When an issuer declines an authorization, it returns a two-character response code through the network (Visa uses values such as 05, 51, 54 and alphanumeric codes such as 1A or R1). Meanings vary by network, so the card brand must be considered when interpreting a code. Visa rules require issuers to send the code that most accurately reflects the reason, and group codes into four reattempt categories. Mastercard can add a separate Merchant Advice Code with retry guidance.

Payment providers normalize these signals. Stripe, for instance, exposes a network_decline_code, a network_advice_code and its own decline_code such as insufficient_funds or do_not_honor. Many declines arrive as generic codes, so the code alone does not always reveal the cause.

For recurring billing, the decline code is the main input for deciding what to do next: retry later, retry after a specific wait, request updated card details, or stop.

Example

A meal-kit subscription sees three renewal failures in one morning: Visa 51, Visa 54 and Mastercard 05 with MAC 21. The first is retried after the next likely payday, the second triggers a card account updater check, and the third is not retried at all, because MAC 21 means the cardholder canceled the payment.

Frequently asked questions

What is a Decline Code?

A decline code is the short response code an issuer or card network returns to explain why a card authorization was refused. Examples are 05 (Do not honor) and 51 (Not sufficient funds). Payment providers pass the raw network code to merchants and often translate it into their own decline codes.

Are decline codes the same across Visa, Mastercard and payment providers?

No. Many values look alike across networks, but meanings and usage differ by network, and each payment provider maps them into its own vocabulary. Always read a code together with the card brand and, for Mastercard, the Merchant Advice Code.

Related terms

Related tools and guides

Sources

Sources checked November 2026. Card network and scheme rules change; confirm current rules with your payment provider.

More declines & recovery terms

Losing subscription revenue to failed payments?

Slicker recovers failed recurring payments with smart retries driven by decline codes and Merchant Advice Codes, plus hyper-personalized emails when the customer has to act. It runs on your existing billing platform, and you only pay when it outperforms your current setup in a 50/50 test.

Cookie preferences

Your privacy matters

We use analytics to understand how you use our site and improve your experience. Privacy Policy