Card Decline Codes: Response Codes, Soft vs Hard Declines
Last Updated: 2026-12-01 Status: Complete
Card decline codes are the two-character response codes returned in ISO 8583 data element 39 (see ISO 8583 Explained). After reading this page you will be able to classify a code as a soft decline or hard decline, use network decline categories correctly, and build an internal decline taxonomy that drives customer messages, logging and retry decisions.
Quick Reference
- Soft decline: the issuer might approve a later attempt, or the same attempt after correcting data or authenticating.
- Hard decline: the issuer will not approve this credential; further attempts waste effort and can incur network fees.
- Visa retry rule: No reattempts after a Category 1 decline; up to 20 attempts in 30 days after a Category 2, 3 or 4 decline
- Mastercard retry rule: 35 declines on the same card, merchant and amount within 30 days; Mastercard advises stopping for 24 hours after 10 consecutive declines
- Retry scheduling is covered in Retry Strategy, not here.
What Do the Common DE 39 Response Codes Mean?
The meanings below are the widely used ones. Processors and gateways may remap or relabel codes, and a few codes differ between Visa and Mastercard, so always read your processor's code table. The classification column is a recommended engineering default, not a network statement.
| Code | Meaning | Default class |
|---|---|---|
| 00 | Approved | Success |
| 10 | Partial approval (approved amount returned) | Success, partial |
| 85 | No reason to decline (approved account verification) | Success |
| 01 | Refer to card issuer | Soft, contact issuer |
| 03 | Invalid merchant | Soft (configuration problem on your side) |
| 04 | Pick up card, no fraud suspected | Hard |
| 05 | Do not honor | Ambiguous, treat as soft with limits |
| 07 | Pick up card, special condition (fraud) | Hard |
| 12 | Invalid transaction | Hard (Visa Category 1); usually a defect in your request |
| 13 | Invalid amount | Soft, fix request |
| 14 | Invalid card number | Hard for that number |
| 41 | Lost card, pick up | Hard |
| 43 | Stolen card, pick up | Hard |
| 51 | Insufficient funds or over credit limit | Soft |
| 54 | Expired card | Soft, requires updated data |
| 55 | Incorrect PIN | Soft, data quality |
| 57 | Transaction not permitted to cardholder | Hard for this transaction type |
| 59 | Suspected fraud | Visa Category 2, but do not retry automatically; review or step up authentication |
| 61 | Exceeds withdrawal amount limit | Soft |
| 62 | Restricted card | Soft per Visa categories |
| 65 | Exceeds withdrawal frequency or activity limit | Soft |
| 75 | Allowable number of PIN tries exceeded | Soft, wait |
| 78 | Blocked, first used or special condition (account temporarily blocked) | Soft (Visa Category 2) |
| 82 | Failed cryptogram or security value checks (for example CVV or dynamic CVV) | Soft, data quality |
| 91 | Issuer or switch unavailable | Soft |
| 93 | Transaction cannot be completed, violation of law | Soft per Visa categories, investigate before retrying |
| 96 | System malfunction | Soft |
| N7 | Declined for CVV2 failure | Soft, data quality |
| R0 | Stop payment order | Hard for that agreement |
| R1 | Revocation of authorization | Hard for that agreement |
R0 and R1 apply mainly to recurring and stored-credential payments: the cardholder has told the issuer to stop. Treat them as a signal to stop billing and contact the customer. See Stored Credentials.
Visa issuers must not use 51 in response to an Account Verification (Visa Core Rules, effective 24 October 2026), so a declined $0 verification is not an insufficient-funds signal.
What Are the Visa Decline Categories?
The Visa Core Rules (section 7.3.6.3, Table 7-2) group decline response codes into four categories, each with its own reattempt rule. Visa introduced the categories in Visa Business News AI10325 (in force from 17 April 2021) and has revised the code lists and limits since, so work from the current rules edition rather than the 2021 bulletin.
| Category | Meaning | Examples | Reattempt rule |
|---|---|---|---|
| 1 | Issuer will never approve | 04, 07, 12, 14, 15, 41, 43, 46, 57, R0, R1, R3 | Never resubmit for the same payment credential |
| 2 | Issuer cannot approve at this time | 03, 19, 39, 51, 52, 53, 59, 61, 62, 65, 75, 78, 86, 91, 93, 96, 5C, 9G, N3, N4 (and 83 from 25 July 2026) | Limited reattempts |
| 3 | Data quality: revalidate payment information | 54, 55, 82, 6P, N7; 70 and 1A in the CEMEA and Europe regions | Correct the data first, then limited reattempts |
| 4 | Generic | All other codes, including 05 | Limited reattempts |
The current limit is: No reattempts after a Category 1 decline; up to 20 attempts in 30 days after a Category 2, 3 or 4 decline Excess reattempts carry a per-reattempt fee that acquirers pass through to merchants. When you do reattempt, Visa forbids changing data elements such as the MCC, POS entry mode, POS condition code or e-commerce indicator to get a different outcome (Visa Core Rules section 1.7.2.1).
What Are Mastercard Merchant Advice Codes?
Mastercard issuers can attach a Merchant Advice Code (MAC) to a decline, indicating what the merchant should do next.
| MAC | Meaning | Engineering action |
|---|---|---|
| 01 | New account information is available | Obtain updated credentials; see Account Updater |
| 02 | Issuer cannot approve at this time, try later | Schedule a later retry |
| 03 | Do not try again | Stop; treat as hard |
| 21 | Payment cancellation, stop recurring | Stop the recurring series and contact the customer |
| 24 to 30 | Returned with response code 51: retry after 1 hour, 24 hours, 2, 4, 6, 8 or 10 days respectively | Honor the stated delay |
Retries after MAC 03 or 21 attract Mastercard fees. Mastercard also monitors excessive attempts: 35 declines on the same card, merchant and amount within 30 days; Mastercard advises stopping for 24 hours after 10 consecutive declines Delay mechanics are in Retry Strategy.
How Should I Handle Response Code 05, Do Not Honor?
Code 05 is the generic decline. Issuers use it when no more specific code applies, which can include fraud scoring, velocity rules, an unrecognized merchant, a card block or simply a policy the issuer does not wish to disclose. Visa places 05 in Category 4, the generic bucket, so it conveys no retry guidance by itself.
Practical handling:
- Do not interpret 05 as "fraud" or as "insufficient funds" in logs, dashboards or messages. Report it as an unspecified issuer decline.
- Examine context: a MAC from Mastercard, the transaction type (customer-initiated or merchant-initiated), the entry mode, 3-D Secure outcome and AVS or CVV2 results (see Card Verification).
- Offer another payment method promptly instead of silent automatic retries, and apply the network limits above if retrying.
- Track the 05 rate per issuer BIN range and investigate spikes, starting with your own request data and configuration.
How Do I Map Network Codes to an Internal Decline Taxonomy?
Do not propagate raw codes through your platform. Normalize them into a small, stable taxonomy so that product, support and retry logic do not depend on network trivia.
| Internal category | Typical inputs | Customer-facing action | Retry hint |
|---|---|---|---|
INSUFFICIENT_FUNDS | 51 | Try another card or amount | Later, within network limits |
LIMIT_EXCEEDED | 61, 65 | Try a smaller amount or another card | Later, within network limits |
DO_NOT_RETRY | Visa Category 1 (including 12, 14, 15, 46, 57, R0, R1, R3), MAC 03, MAC 21 | Use another payment method | Never |
UPDATE_CARD | 54, N7 and 82 after bad data, MAC 01 | Re-enter or update card details | After customer action |
AUTHENTICATION_REQUIRED | 1A in Europe, issuer SCA requests | Complete 3-D Secure | Immediately, with authentication |
ISSUER_UNAVAILABLE | 91, 96 | Try again shortly | Short delay |
FRAUD_SUSPECTED | 59, 07, 41, 43 | Generic decline message | Never (a policy stricter than Visa's rule for 59) |
INVALID_REQUEST | 13, 03 | None; this is your defect | Only after a fix |
GENERIC_DECLINE | 05 and unknown codes | Try another payment method | Limited |
Code 14 is Category 1: a different account number may be tried, the same one never.
import { Injectable } from '@nestjs/common';
export enum DeclineCategory {
InsufficientFunds = 'INSUFFICIENT_FUNDS',
LimitExceeded = 'LIMIT_EXCEEDED',
DoNotRetry = 'DO_NOT_RETRY',
UpdateCard = 'UPDATE_CARD',
AuthenticationRequired = 'AUTHENTICATION_REQUIRED',
IssuerUnavailable = 'ISSUER_UNAVAILABLE',
FraudSuspected = 'FRAUD_SUSPECTED',
InvalidRequest = 'INVALID_REQUEST',
GenericDecline = 'GENERIC_DECLINE',
}
export interface DeclineDecision {
category: DeclineCategory;
retryable: boolean;
/** Shown to the shopper; never reveals fraud or issuer reasoning. */
customerMessage: string;
}
const CODE_MAP: Record<string, DeclineCategory> = {
'51': DeclineCategory.InsufficientFunds,
'61': DeclineCategory.LimitExceeded,
'65': DeclineCategory.LimitExceeded,
'54': DeclineCategory.UpdateCard,
'N7': DeclineCategory.UpdateCard,
'82': DeclineCategory.UpdateCard,
'1A': DeclineCategory.AuthenticationRequired,
'91': DeclineCategory.IssuerUnavailable,
'96': DeclineCategory.IssuerUnavailable,
// Visa Category 1: never reattempt the same credential.
'04': DeclineCategory.DoNotRetry,
'12': DeclineCategory.DoNotRetry,
'14': DeclineCategory.DoNotRetry,
'15': DeclineCategory.DoNotRetry,
'46': DeclineCategory.DoNotRetry,
'57': DeclineCategory.DoNotRetry,
'R0': DeclineCategory.DoNotRetry,
'R1': DeclineCategory.DoNotRetry,
'R3': DeclineCategory.DoNotRetry,
// Also never retried; kept separate for fraud reporting.
'07': DeclineCategory.FraudSuspected,
'41': DeclineCategory.FraudSuspected,
'43': DeclineCategory.FraudSuspected,
'59': DeclineCategory.FraudSuspected,
'13': DeclineCategory.InvalidRequest,
'03': DeclineCategory.InvalidRequest,
};
const MESSAGES: Record<DeclineCategory, string> = {
[DeclineCategory.InsufficientFunds]: 'Your card was declined. Please try another card.',
[DeclineCategory.LimitExceeded]: 'Your card was declined. Please try a smaller amount or another card.',
[DeclineCategory.DoNotRetry]: 'Your card was declined. Please use another payment method.',
[DeclineCategory.UpdateCard]: 'Please check your card details or use another card.',
[DeclineCategory.AuthenticationRequired]: 'Additional verification is required.',
[DeclineCategory.IssuerUnavailable]: 'We could not reach your bank. Please try again shortly.',
[DeclineCategory.FraudSuspected]: 'Your card was declined. Please use another payment method.',
[DeclineCategory.InvalidRequest]: 'We could not process this payment. Please try again later.',
[DeclineCategory.GenericDecline]: 'Your card was declined. Please try another payment method.',
};
@Injectable()
export class DeclineClassifierService {
classify(responseCode: string, merchantAdviceCode?: string): DeclineDecision {
// Network advice overrides the base code.
let category: DeclineCategory;
if (merchantAdviceCode === '03' || merchantAdviceCode === '21') {
category = DeclineCategory.DoNotRetry;
} else if (merchantAdviceCode === '01') {
category = DeclineCategory.UpdateCard;
} else {
category = CODE_MAP[responseCode] ?? DeclineCategory.GenericDecline;
}
const neverRetry = [DeclineCategory.DoNotRetry, DeclineCategory.FraudSuspected];
return {
category,
retryable: !neverRetry.includes(category),
customerMessage: MESSAGES[category],
};
}
}
Two design notes. First, persist the raw network code, the MAC and the normalized category together; you will need the raw values for issuer analysis and the normalized one for product logic. Second, keep the mapping in versioned configuration so that a network change does not require emergency code changes. retryable states only whether retrying is permissible; schedules and counters belong to the retry engine.
What Should the Customer See and What Should Be Logged?
| Audience | Content |
|---|---|
| Customer | A generic, actionable message such as "try another payment method". Never "suspected fraud", "issuer flagged you" or the raw code |
| Merchant dashboard | Normalized category, retry guidance and a documented reason where it helps them act |
| Internal logs and analytics | Raw response code, MAC, normalized category, BIN range, entry mode and identifiers such as RRN and network transaction ID |
| Never logged | PAN, expiration date, track data, CVV2 and PIN data; see logging rules |
Revealing fraud reasoning teaches attackers which signals worked, and for a legitimate customer an accusation harms the relationship. Detailed hints also support card testing, where an attacker uses decline codes to confirm valid cards. Rate-limit and monitor decline responses at the API edge; see Fraud Detection Tools.
How Do 3-D Secure and SCA Soft Declines Work?
In Europe, under strong customer authentication (SCA) rules, an issuer may decline an authorization that lacks authentication and return a code, commonly 1A, indicating that additional customer authentication is required. This is a soft decline: the correct response is to run 3-D Secure and resubmit with the authentication data, not to retry unchanged or to abandon the payment. Some issuers signal the same condition with other codes, so verify the mapping with your processor. Details of the flow are in 3-D Secure.
Why Is a Timeout Not a Decline?
A timeout means no answer arrived; the issuer may have approved and placed a hold. Recording it as a decline and retrying can double-hold the cardholder's funds or produce duplicate captures. Model it as an UNKNOWN outcome: send a reversal under its own key (keep the original key only when resending the same request) and reconcile before retrying. See ISO 8583 reversals, Retry Strategy for idempotent retries, and Cascading for failover to another acquirer and late-approval handling.
What Is Wrong With Older Decline Guidance?
Some older industry material contains simplifications worth correcting:
- Treating 05 as a fraud decline. It is generic and ambiguous.
- Treating 54 (expired card) as a hard decline. Visa classes it as data quality; the card may have been reissued with a new date, so obtain updated details.
- Treating 14 (invalid account number) as retryable. Under Visa Core Rules Table 7-2 it is Category 1 only: never reattempt the same account number after 14.
- Recommending that system errors be retried "2 to 3 times" without network limits. Apply the category and MAC rules above.
- Grouping 59 and 63 as always-fraud. Meanings are issuer-specific; classify them as do-not-retry only per your processor's documentation.
Network decline categories, reattempt limits and fees are revised periodically, and many processor documents still quote the 2021 limits. Confirm against the current Visa Core Rules, the Mastercard rules and your acquirer. Current values are tracked on Key Numbers.
Related Topics
- ISO 8583 Explained: where DE 39 and its companions sit in the message.
- Retry Strategy: when and how often to retry.
- Account Updater: resolving
UPDATE_CARDdeclines. - Chargeback Reason Codes: a separate code family.
- Check your understanding: Messaging Quiz
References
- Visa Core Rules and Visa Product and Service Rules: Visa, 24 October 2026 edition. Section 7.3.6.3 and Table 7-2 (decline categories and reattempt limits); section 1.7.2.1 (no data manipulation on reattempt).
- Article ID: AI10325, Visa Rules, 3 September 2020: Visa, 2020. Introduced the decline categories and the original 2021 limits; superseded for limits by Visa Core Rules Table 7-2.
- Decline details and response codes: Mastercard Developers, Merchant Advice Codes.
- Merchant Advice Codes: Solidgate documentation, processor interpretation of MACs.
- Mastercard Transaction Processing Rules: Mastercard.