Chargebacks

Every chargeback reason code is a list of the evidence that beats it

The reason code on a chargeback isn't a label. It's the exam question. Answer a "not received" claim with a lovely AVS match and you lose, politely. Here are the Visa and Mastercard codes you'll actually see, the evidence each one wants, how long the issuer had to file it, and the handful you can't win whatever you upload.

A chargeback reason code is the card network's number for what the cardholder is claiming. Visa sorts its codes into four categories: 10 for fraud, 11 for authorization, 12 for processing errors and 13 for consumer disputes (Visa merchant guide). Mastercard uses four-digit message reason codes, and the four you'll see most are 4837 (no cardholder authorization), 4808 (authorization-related), 4834 (point-of-interaction error) and 4853 (cardholder dispute) (Stripe).

The code decides which evidence counts. Visa's own merchant guide says evidence that falls outside the dispute condition "does not strengthen a response and may delay review" (Visa). So the first job on any chargeback is to read the code, and the second is to ignore every piece of evidence it didn't ask for.

Where to find the code

On Stripe, dispute.reason is Stripe's own category (fraudulent, product_not_received, subscription_canceled and so on), and payment_method_details.card.network_reason_code holds the network's code (Stripe). Use both. The category is a summary and the code is the rule, and they don't always line up: Stripe files Mastercard's 4853 "Goods or Services Not Provided" under product unacceptable, not product not received (Stripe). Read the cardholder's claim text before you pick your evidence.

Visa reason codes

Names are from Visa's rules of 24 October 2026. Evidence is from Visa's October 2026 merchant guide and Stripe's defense requirements. The deadline is how long the issuer has to file, in calendar days, from the Visa rules.

CodeNameEvidence that winsIssuer has
10.1EMV Liability Shift Counterfeit FraudUsually none. If the chip wasn't read, liability is yours by design120 days
10.2EMV Liability Shift Non-Counterfeit FraudUsually none. A PIN-preferring card wasn't processed with PIN120 days
10.3Other Fraud - Card-Present EnvironmentA valid manual or electronic imprint. Photocopies and pencil rubbings don't count120 days
10.4Other Fraud - Card-Absent Environment3D Secure data; Compelling Evidence 3.0 history; delivery to an AVS-matched address; device, IP and login records120 days
10.5Visa Monitoring ProgramsAlmost nothing. You can respond only if the same transaction was already disputed and you accepted it120 days from the program report
11.1Card Recovery BulletinProof the card wasn't on the bulletin on the key date75 days
11.2Declined AuthorizationProof of a valid approval despite the decline. Narrow cases only75 days
11.3No Authorization/Late PresentmentApproval codes and dates; estimated and incremental authorization indicators used correctly; settlement inside the allowed window75 days
12.2Incorrect Transaction CodeA record showing correct coding, or proof you already corrected it120 days
12.3Incorrect CurrencyThe currency shown and agreed at checkout; for DCC, proof the cardholder chose it120 days
12.4Incorrect Account NumberLogs showing the credential sent matches the cardholder's120 days
12.5Incorrect AmountCheckout screen or invoice with the amount the cardholder accepted120 days
12.6Duplicate Processing/Paid by Other MeansRecords for both charges: separate order numbers and fulfilment, or proof no other payment arrived120 days
12.7Invalid DataLogs showing authorization data matched settlement data. Usually a config fix, not a fight75 days
13.1Merchandise/Services Not ReceivedCarrier delivery status to the invoice address; access or download logs for digital goods; service records120 days from the transaction or the expected delivery date, 540 max
13.2Cancelled Recurring TransactionCancellation request date, effective cancellation date, and usage before the charge120 days
13.3Not as Described or DefectiveThe listing as shown at checkout, matching images and specs, and the repair, replacement or refund you offered under your policy120 days from the transaction or receipt, 540 max
13.4Counterfeit MerchandiseManufacturer certificates, authorized supplier invoices, verifiable serial numbers120 days from the transaction, receipt or counterfeit notice, 540 max
13.5MisrepresentationExactly what the cardholder saw before paying: offer, checkout page, terms, and their acceptance120 days from the transaction or receipt, 540 max
13.6Credit Not ProcessedProof the refund went out (date, amount, method), or the disclosed policy showing none was due120 days from the credit receipt date
13.7Cancelled Merchandise/ServicesYour disclosed cancellation policy and proof the cancellation fell outside it, or proof of refund120 days from the transaction or expected receipt, 540 max

Visa also has 13.8 (Original Credit Transaction Not Accepted) and 13.9 (Non-Receipt of Cash at an ATM). The guide says merchants can't respond to 13.9 at all (Visa).

One disagreement to know about. Visa's October 2026 rules file late presentment under 11.3 and have no 12.1. Stripe's code map still lists "12.1 Late Presentment" (Stripe), and so do plenty of older guides. If a 12.1 turns up, answer it as an 11.3: show the transaction settled inside the allowed window.

Stripe also splits 12.6 into 12.6.1 (duplicate processing) and 12.6.2 (paid by other means) (Stripe). Same evidence rule either way: address both charges, not just the disputed one.

Two 10.4 rules worth more than any screenshot

3D Secure can end it before it starts. Under Visa's rules a 10.4 dispute is invalid on an e-commerce payment authenticated through Visa Secure with EMV 3DS at ECI 5, with the CAVV in the authorization. An attempted authentication at ECI 6 with a CAVV is covered too, except on non-reloadable prepaid cards (Visa rules). Stripe fills in the ECI for you when a dispute might fall under the liability shift (Stripe). More in the 3DS2 liability shift.

Compelling Evidence 3.0 rewards repeat customers. If the same card was used in at least two earlier transactions the issuer didn't report as fraud, processed between 120 and 365 days before the dispute, and those transactions share the device ID or fingerprint or the IP address plus at least one more identifier (account login, full delivery address, device, IP) with the disputed one, the 10.4 doesn't stand (Visa rules). Stripe checks eligibility for you and pre-fills the fields (Stripe). The catch: you can only send data you stored at the time, in clear text where the rule says so. Log it now.

Mastercard reason codes

Mastercard's Chargeback Guide is the authority here. The names and sub-conditions below are as Stripe maps them (Stripe), the evidence is Stripe's where its defense requirements cover the code and ours where they don't, and the filing windows come from Checkout.com's issuing code table (Checkout.com).

CodeWhat it coversEvidence that winsIssuer has
4837No Cardholder Authorization3D Secure proof, AVS and CVV match, IP and device history, messages where the cardholder acknowledges the purchase120 days
4808Authorization-relatedApproval codes and dates for the amount you settled90 days
4834Point-of-interaction error: amount differs, debited more than once, late presentment, currency conversion, and moreLogs showing one charge, or receipts showing separate purchases; the amount the cardholder agreed120 days
4853Cardholder dispute: not as described or defective, not provided, credit not processed, counterfeit, recurring, digital goods of USD 25 or less, no-show, and moreDepends on the sub-condition; answer it like the matching Visa 13.x120 days after the latest expected delivery or performance date, 540 max
4863Cardholder does not recognize, potential fraudOrder details and a descriptor that make the charge recognizable120 days
4870, 4871Chip liability shift (counterfeit; lost, stolen or never received)Card-present. Same logic as Visa 10.1 and 10.2120 days
4849Questionable merchant activityTalk to your acquirer, not the issuer30 days

Older numbers still turn up. Stripe lists 4831 (amount differs), 4841 (cancelled recurring or digital goods), 4855 (goods or services not provided) and 4860 (credit not processed) alongside 4853, and marks 4842 (late presentment) and 4846 (currency conversion) as deprecated (Stripe). Checkout.com's table still gives filing windows for several of them (Checkout.com). Treat a 4855 as a 4853 not-provided claim, a 4860 as a 4853 credit-not-processed claim, and so on.

Codes not worth fighting

  • Visa 10.1, 10.2 and Mastercard 4870, 4871 when the chip wasn't read. That's the liability shift working as designed.
  • Visa 10.5. Visa's guide says transaction-level evidence "is generally not sufficient" (Visa).
  • Any 11.x or 4808 without approval records. Authorization disputes are decided on whether you followed the authorization rules, not on whether the customer got the goods.
  • Any 12.x where you really did make the error. Accept it, fix the bug, move on. On Stripe you can't refund outside the dispute while it's open (Stripe).

In code

A small lookup that turns a Stripe Dispute into an evidence checklist, reading the network code first and Stripe's category second.

# Evidence to gather, keyed by (card brand, network reason code).
EVIDENCE = {
    ("visa", "10.4"): ["3ds_result", "ce3_prior_transactions", "ip_and_device",
                       "delivery_to_avs_matched_address"],
    ("visa", "13.1"): ["proof_of_delivery", "access_or_download_logs"],
    ("visa", "13.2"): ["cancellation_request_date", "effective_cancel_date",
                       "usage_before_charge"],
    ("visa", "13.3"): ["listing_as_shown_at_checkout", "refund_or_repair_offer"],
    ("visa", "13.6"): ["refund_record", "refund_policy_shown_at_checkout"],
    ("visa", "12.6"): ["records_for_both_charges"],
    ("mastercard", "4837"): ["3ds_result", "avs_cvc_result", "ip_and_device"],
    ("mastercard", "4853"): ["claim_text", "matching_visa_13x_evidence"],
}

# Fallback by Stripe's own category when the code isn't in the table.
BY_STRIPE_REASON = {
    "fraudulent": ["3ds_result", "avs_cvc_result", "ip_and_device"],
    "product_not_received": ["proof_of_delivery", "access_or_download_logs"],
    "subscription_canceled": ["cancellation_request_date", "usage_before_charge"],
    "credit_not_processed": ["refund_record", "refund_policy_shown_at_checkout"],
}


def evidence_checklist(dispute):
    """What to collect for a Stripe Dispute object (as a dict)."""
    card = (dispute.get("payment_method_details") or {}).get("card") or {}
    brand = card.get("brand", "unknown")
    code = card.get("network_reason_code") or ""
    if brand == "visa":
        code = ".".join(code.split(".")[:2])  # 12.6.1 and 12.6.2 -> 12.6
    return EVIDENCE.get((brand, code)) or BY_STRIPE_REASON.get(
        dispute["reason"], ["claim_text", "receipt", "customer_communication"])

Once you know what to collect, chargeback representment covers putting it into a packet the issuer will read, and chargeback time limits covers how long you have to do it.

Evidence assembled by reason code family, automatically, before the deadline. From chapter 19.

Chargeback Prevention System

The full implementation is available in src/examples/19-fraud/chargeback_prevention.py. Here's how to use it:

from chargeback_prevention import ChargebackPreventionSystem, ChargebackReason

# Initialize the chargeback prevention system
chargeback_system = ChargebackPreventionSystem()

# Analyze chargeback risk for a transaction
chargeback_risk = chargeback_system.analyze_chargeback_risk(
    context=transaction_context,
    fraud_score=combined_fraud_score
)

# Get prevention actions based on risk level
prevention_actions = chargeback_system.generate_prevention_actions(
    context=transaction_context,
    chargeback_risk=chargeback_risk
)
print(f"Chargeback risk: {chargeback_risk:.1%}")
print(f"Prevention actions: {prevention_actions}")

# Detect early warning signs for a customer
alerts = chargeback_system.detect_early_warning_signs(customer_id="cust_123")
for alert in alerts:
    print(f"Alert: {alert.transaction_id} - {alert.reason_category.value}")

# Prepare defense package when a chargeback is filed
defense = chargeback_system.prepare_chargeback_defense(
    transaction_id="txn_456",
    reason_code="10.4"  # Visa fraud reason code
)
print(f"Evidence required: {defense['evidence']}")

Chargeback prevention: the last line of defense

Chargebacks are expensive, slow to resolve, and, if you accumulate enough of them, fatal to your merchant account. Prevent them where you can, and have the evidence ready when you can't.

The analyze_chargeback_risk method flags transactions likely to become chargebacks even if they're not technically fraudulent. Legitimate customers dispute charges all the time. Risk factors include high fraud scores (fraud almost always becomes a chargeback), card type patterns (Amex has historically higher dispute rates than Visa or Mastercard), amount thresholds (higher-value purchases get more scrutiny from cardholders), digital goods (easier to dispute than physical items), brand-new customers with no relationship to your business, and international transactions where complexity drives disputes.

The detect_early_warning_signs method watches for chargebacks before they're filed. Multiple support inquiries inside 30 days often signal brewing dissatisfaction, and reaching out first beats waiting for the dispute. It also tracks refund requests, since a customer asking for several refunds may be probing your dispute process, or is unhappy in a way that's about to escalate.

The prepare_chargeback_defense method assembles evidence automatically based on the reason code, because different codes require different evidence. For fraud disputes (Visa 10.x, such as 10.4; Mastercard 4837), you need AVS/CVV match results, 3D Secure authentication artifacts, and device fingerprinting that links the transaction to the cardholder's normal behavior. For authorization disputes (Visa 11.1-11.3, where 11.3 now also covers late presentment; Mastercard 4808), authorization codes and timestamps prove the bank approved the transaction, you followed procedure and you settled inside the allowed window. For processing error disputes (Visa 12.x, such as 12.6 duplicate processing; Mastercard 4834), transaction records, settlement dates and refund history show the charge was presented correctly and only once. For consumer disputes (13.1, 13.2, 4855), delivery confirmations, communication logs, and terms of service prove the goods or services were provided under agreed conditions.

Treat a chargeback dispute like a small court case. Organized evidence wins more of them, automated assembly means nothing gets left out, and you make the reply deadline. Track your win rate by reason code: it tells you which evidence works and which disputes aren't worth contesting.

Questions

What are chargeback reason codes?

A chargeback reason code is the card network's number for what the cardholder is claiming. Visa groups its codes into four categories: 10 for fraud, 11 for authorization, 12 for processing errors and 13 for consumer disputes. Mastercard uses four-digit codes, most often 4837, 4808, 4834 and 4853. The code decides which evidence counts.

What is Visa reason code 10.4?

10.4 is Other Fraud - Card-Absent Environment: the cardholder says they didn't make an online, phone or mail order purchase. The strongest answers are 3D Secure authentication, which can make a 10.4 dispute invalid, and Compelling Evidence 3.0: two earlier undisputed transactions on the same card with matching device, IP or account details. The issuer has 120 days to file it.

What is Mastercard reason code 4853?

4853 is Mastercard's cardholder dispute code. It covers goods or services not as described, defective or not provided, credit not processed, counterfeit goods, recurring transaction disputes and more. Answer it with the evidence for the specific sub-condition, the same way you would answer the matching Visa 13.x code.

Which chargeback reason codes can't be won?

Visa 10.1 and 10.2 and Mastercard 4870 and 4871 are rarely winnable when the chip wasn't read, Visa 10.5 is generally not answerable with transaction evidence, and authorization and processing error disputes can't be won if you did make the error. Accept those and fix the cause.

How long does the issuer have to file a chargeback?

For most Visa reason codes, 120 days from the transaction processing date; for Visa 11.x and 12.7, 75 days. Codes tied to delivery, such as Visa 13.1 and Mastercard 4853, can run 120 days from the expected delivery date, up to 540 days after the transaction.

What the book adds

The rest of chapter 19

  • Chargeback evidence collected at checkout, not after the dispute
  • Early warning signs, before the dispute is filed
  • Card brand monitoring programs and their thresholds
  • Risk scoring that stops fraud chargebacks at checkout
  • The MATCH list, and how merchants end up on it

30-day money-back · Instant PDF and EPUB

All 42 chapters