Skip to main content

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​

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.

CodeMeaningDefault class
00ApprovedSuccess
10Partial approval (approved amount returned)Success, partial
85No reason to decline (approved account verification)Success
01Refer to card issuerSoft, contact issuer
03Invalid merchantSoft (configuration problem on your side)
04Pick up card, no fraud suspectedHard
05Do not honorAmbiguous, treat as soft with limits
07Pick up card, special condition (fraud)Hard
12Invalid transactionHard (Visa Category 1); usually a defect in your request
13Invalid amountSoft, fix request
14Invalid card numberHard for that number
41Lost card, pick upHard
43Stolen card, pick upHard
51Insufficient funds or over credit limitSoft
54Expired cardSoft, requires updated data
55Incorrect PINSoft, data quality
57Transaction not permitted to cardholderHard for this transaction type
59Suspected fraudVisa Category 2, but do not retry automatically; review or step up authentication
61Exceeds withdrawal amount limitSoft
62Restricted cardSoft per Visa categories
65Exceeds withdrawal frequency or activity limitSoft
75Allowable number of PIN tries exceededSoft, wait
78Blocked, first used or special condition (account temporarily blocked)Soft (Visa Category 2)
82Failed cryptogram or security value checks (for example CVV or dynamic CVV)Soft, data quality
91Issuer or switch unavailableSoft
93Transaction cannot be completed, violation of lawSoft per Visa categories, investigate before retrying
96System malfunctionSoft
N7Declined for CVV2 failureSoft, data quality
R0Stop payment orderHard for that agreement
R1Revocation of authorizationHard 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.

CategoryMeaningExamplesReattempt rule
1Issuer will never approve04, 07, 12, 14, 15, 41, 43, 46, 57, R0, R1, R3Never resubmit for the same payment credential
2Issuer cannot approve at this time03, 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
3Data quality: revalidate payment information54, 55, 82, 6P, N7; 70 and 1A in the CEMEA and Europe regionsCorrect the data first, then limited reattempts
4GenericAll other codes, including 05Limited 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.

MACMeaningEngineering action
01New account information is availableObtain updated credentials; see Account Updater
02Issuer cannot approve at this time, try laterSchedule a later retry
03Do not try againStop; treat as hard
21Payment cancellation, stop recurringStop the recurring series and contact the customer
24 to 30Returned with response code 51: retry after 1 hour, 24 hours, 2, 4, 6, 8 or 10 days respectivelyHonor 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 categoryTypical inputsCustomer-facing actionRetry hint
INSUFFICIENT_FUNDS51Try another card or amountLater, within network limits
LIMIT_EXCEEDED61, 65Try a smaller amount or another cardLater, within network limits
DO_NOT_RETRYVisa Category 1 (including 12, 14, 15, 46, 57, R0, R1, R3), MAC 03, MAC 21Use another payment methodNever
UPDATE_CARD54, N7 and 82 after bad data, MAC 01Re-enter or update card detailsAfter customer action
AUTHENTICATION_REQUIRED1A in Europe, issuer SCA requestsComplete 3-D SecureImmediately, with authentication
ISSUER_UNAVAILABLE91, 96Try again shortlyShort delay
FRAUD_SUSPECTED59, 07, 41, 43Generic decline messageNever (a policy stricter than Visa's rule for 59)
INVALID_REQUEST13, 03None; this is your defectOnly after a fix
GENERIC_DECLINE05 and unknown codesTry another payment methodLimited

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?​

AudienceContent
CustomerA generic, actionable message such as "try another payment method". Never "suspected fraud", "issuer flagged you" or the raw code
Merchant dashboardNormalized category, retry guidance and a documented reason where it helps them act
Internal logs and analyticsRaw response code, MAC, normalized category, BIN range, entry mode and identifiers such as RRN and network transaction ID
Never loggedPAN, 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.
Time-Sensitive

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.

References​

Share: