Payment Retry Strategy: Soft Declines, Limits and Schedules
Last Updated: 2026-12-01 Status: Complete
A payment retry strategy decides which failed authorizations to resubmit, when, how many times, and through which credential, within the limits the card networks impose. After this page you can design a retry engine that recovers soft declines, never resubmits hard declines, keeps technical failures safe through idempotency, and reports honest recovery metrics.
Quick Reference
- Visa: No reattempts after a Category 1 decline; up to 20 attempts in 30 days after a Category 2, 3 or 4 decline.
- Mastercard: 35 declines on the same card, merchant and amount within 30 days; Mastercard advises stopping for 24 hours after 10 consecutive declines.
- Mastercard advice codes: 03 (do not try again) and 21 (payment cancellation, stop recurring) mean stop. 24 to 30 (returned with response code 51) give a retry delay of 1 hour, 24 hours, then 2, 4, 6, 8 or 10 days.
- Excess attempts: both networks charge fees for excessive reattempts (amounts not stated here, confirm with your acquirer).
- Principle: classify first, then decide. A retry is a business decision constrained by network rules, not a loop.
Step 1: Classify the Decline
Meanings of individual codes are in Response Codes. The retry engine needs a small internal taxonomy and a mapping from network signals to it.
| Internal class | Typical signal | Retry? |
|---|---|---|
HARD | Visa Category 1 (issuer will never approve); Mastercard MAC 03 or 21 | Never |
NEW_INFO | Mastercard MAC 01; Visa data-quality category | Update the credential first (Account Updater), then retry once |
SOFT_LATER | Visa Category 2 (issuer cannot approve now); Mastercard MAC 02 or 24 to 30 | Yes, on a schedule |
GENERIC | Visa Category 4 (all other codes, including 05); no MAC | Cautiously, with a low cap |
TECHNICAL | Timeout, network error, no response | Resolve state first (see below) |
Visa's categories are defined in Table 7-2 of the Visa Core Rules (section 7.3.6.3): Category 1 never approve, Category 2 cannot approve at this time, Category 3 data quality, Category 4 generic. They were introduced by bulletin AI10325 in 2021, and the code lists and limits have changed since, so map codes from the current rules edition. Code 14 (invalid account number) is Category 1: never reattempt that account number. Code 59 (suspected fraud) is Category 2 under Visa's rules, but most merchants choose not to retry it automatically.
Resubmitting after a Category 1 decline, or after Mastercard MAC 03 or 21, violates network rules, attracts fees, and can lead to monitoring-program attention. Mark the payment method as unusable for that merchant and move to customer outreach.
Step 2: Honor Network Limits
Per the rules rendered above, Visa allows no reattempts after Category 1, and a bounded number within a 30-day window after Category 2, 3 or 4. A reattempt must not change data elements such as the MCC, POS entry mode or e-commerce indicator (Visa Core Rules section 1.7.2.1). Mastercard measures repeated declines on the same card, merchant and amount over 30 days and also requires a pause after a run of consecutive declines. Both limits are counted per card and merchant, so:
- Keep one 30-day counter per credential and merchant for Visa, and a second counter per credential, merchant and amount for Mastercard's excessive-attempts threshold.
- Count attempts across every channel and across acquirers, including cascading, which multiplies attempts if not coordinated.
- Set your internal ceiling comfortably below the network limit, because declines you did not initiate (for example, a customer retrying at checkout) share the same counter.
Step 3: Pick a Schedule
When the Mastercard MAC specifies a delay, use it. Otherwise use your policy defaults.
| MAC | Suggested earliest retry |
|---|---|
| 24 | 1 hour |
| 25 | 24 hours |
| 26 | 2 days |
| 27 | 4 days |
| 28 | 6 days |
| 29 | 8 days |
| 30 | 10 days |
| 02 | Policy default, not immediate |
Delays map to the order stated in the network guidance; confirm the exact mapping with your acquirer before hard-coding it.
For subscription billing, schedules that align with paydays or month start are a heuristic some merchants use, not a network rule, so treat them as an experiment to validate against your own data rather than a fact.
Subscription Dunning Versus Checkout
| Aspect | Subscription dunning (MIT) | Checkout (CIT) |
|---|---|---|
| Initiator | Merchant, with customer absent | Customer, present |
| Flags | Stored-credential and MIT indicators plus the original network transaction ID | CIT indicators |
| Retry behavior | Scheduled, capped retries under policy | No silent automatic retries. Show the decline, offer another method or retry by the customer's explicit action |
| First step on decline | Update the card (Account Updater), then retry | Offer an alternative method, run 3-D Secure if appropriate |
| Customer contact | Email or in-app notice during the dunning window | Immediate message in the UI |
Silent automatic retries on a cardholder-initiated attempt are a poor experience and count against network limits without the customer's knowledge. Each customer-driven resubmission should be a new, deliberate attempt. See Stored Credentials for flag details.
Technical Errors Versus Declines
A timeout is not a decline. The authorization may have been approved at the issuer while the response was lost, so a blind retry risks a double hold or charge.
- On timeout, query the transaction status by your idempotency key or reference, or send a reversal for the unknown attempt, before any retry. (Reversal mechanics are in Authorization Types.)
- Retry transient transport failures with exponential backoff and jitter so many clients do not retry in lockstep.
- Add a circuit breaker per acquirer or route: after sustained failures, stop sending and fail over rather than hammering a degraded endpoint.
- Do not count technical failures as issuer declines in your authorization-rate metric.
Idempotency of Retries
- Same logical attempt, same key: if a request is resent because the response was lost, reuse the same idempotency key. The provider returns the original result instead of executing twice.
- New attempt, new key, same order: a deliberate retry after a decline is a new attempt, so it gets a new idempotency key while keeping the same order or payment intent identifier. This separates "resend" from "try again" and keeps metrics keyed on the intent.
See the deep dive in Idempotency in Payments.
State Machine
A RetryPolicyService Sketch
import { Injectable } from '@nestjs/common';
export enum DeclineClass {
Hard = 'HARD',
NewInfo = 'NEW_INFO',
SoftLater = 'SOFT_LATER',
Generic = 'GENERIC',
Technical = 'TECHNICAL',
}
export interface RetryDecision {
action: 'RETRY' | 'UPDATE_THEN_RETRY' | 'STOP' | 'ASK_CUSTOMER' | 'RESOLVE_STATE_FIRST';
notBefore?: Date;
}
@Injectable()
export class RetryPolicyService {
// Internal ceilings, set below network limits.
private readonly maxAttemptsPer30Days = 8;
private readonly macDelaysHours: Record<string, number> = {
'24': 1, '25': 24, '26': 48, '27': 96, '28': 144, '29': 192, '30': 240,
};
constructor(private readonly counters: AttemptCounterRepository) {}
async decide(ctx: {
declineClass: DeclineClass;
mac?: string;
initiator: 'CIT' | 'MIT';
network: 'VISA' | 'MASTERCARD';
cardFingerprint: string;
merchantId: string;
amountMinor: number;
now: Date;
}): Promise<RetryDecision> {
if (ctx.declineClass === DeclineClass.Hard || ctx.mac === '03' || ctx.mac === '21') {
return { action: 'STOP' };
}
if (ctx.declineClass === DeclineClass.Technical) {
return { action: 'RESOLVE_STATE_FIRST' }; // timeout or error: status inquiry or reversal first
}
if (ctx.initiator === 'CIT') {
return { action: 'ASK_CUSTOMER' }; // no silent retries at checkout
}
const count = ctx.network === 'MASTERCARD'
? await this.counters.countLast30Days(ctx.cardFingerprint, ctx.merchantId, ctx.amountMinor) // per amount
: await this.counters.countLast30Days(ctx.cardFingerprint, ctx.merchantId); // all amounts
if (count >= this.maxAttemptsPer30Days) {
return { action: 'ASK_CUSTOMER' };
}
if (ctx.declineClass === DeclineClass.NewInfo) {
return { action: 'UPDATE_THEN_RETRY' };
}
const hours = ctx.mac ? this.macDelaysHours[ctx.mac] : undefined;
const delay = hours ?? this.defaultDelayHours(count);
return { action: 'RETRY', notBefore: new Date(ctx.now.getTime() + delay * 3_600_000) };
}
private defaultDelayHours(priorAttempts: number): number {
return Math.min(24 * 2 ** priorAttempts, 24 * 10); // exponential, capped
}
}
The sketch omits the consecutive-decline pause, jitter on the scheduler and persistence of decisions; add them in a real implementation, with the ceilings loaded from configuration so they can change when network rules do.
Metrics for a Retry Program
| Metric | Definition | Why it matters |
|---|---|---|
| Recovery rate | Payment intents approved after at least one decline, divided by intents declined at least once | Effectiveness |
| Retries per recovered payment | Total retry attempts divided by recovered intents | Efficiency and network-limit headroom |
| Hard-decline retry count | Attempts made after a hard-class decline (target: zero) | Rule compliance |
| Excessive-retry fee exposure | Attempts above network thresholds, and the fees they attract | Direct cost |
| Eventual approval rate | Defined in the overview | Business outcome |
Alert on any non-zero hard-decline retry count; it indicates a classification bug.
Network retry limits, advice code behavior and fees are revised by Visa and Mastercard. The limits above are rendered from the central fact table: Visa's from the Visa Core Rules, 24 October 2026 edition (Table 7-2), which superseded the 2021 bulletin AI10325, and Mastercard's from processor notices, a secondary source. Verify against Key Numbers and your acquirer's current guidance, and treat classification mappings as configuration.
Related Topics
- Response Codes — code meanings and decline taxonomy
- Cascading — retrying through another acquirer
- Account Updater — update the credential before retrying
- Network Tokens — reduce declines caused by stale credentials
- Check your understanding: Decline Recovery Quiz
References
- Visa Core Rules and Visa Product and Service Rules — Visa, 24 October 2026 edition (section 7.3.6.3, Table 7-2: decline categories and reattempt limits)
- Visa Business News AI10325: Updates to Rules for Declined Transaction Resubmission and Use of Authorization Response Codes — Visa, 3 September 2020 (reattempt rules effective 17 April 2021)
- Mastercard merchant advice code details — Mastercard Developers
- Merchant advice codes — Solidgate, processor documentation
- Visa Stored Credential Transaction Framework — Visa, 2017