Card verification

An AVS mismatch is a signal, not a decline

The address didn't match and the payment was approved anyway. That's normal: the issuer reports the check and leaves the decision to you. Block every mismatch and you turn away customers who moved house; ignore them all and you ship to thieves. This is the full code table, with the rules we'd actually run, the interchange angle from chapter 29, and the evidence angle from chapter 19.

An AVS mismatch means the billing address your customer typed doesn't match the one their card issuer has on file. The Address Verification Service sends the street address and postal code with the authorization, the issuer compares them, and you get back a one-letter result code. The match result rides alongside the approval or decline. It isn't one. Adyen puts it plainly: its AVS rules "run after authorization", so you decide what to do with an approved payment whose address didn't check out (Adyen).

A CVV check (CVC, CVV2, CID, depending on the brand) does the same thing for the three or four digits on the card. It's the stronger signal of the two. Merchants aren't allowed to store the code, so a breached database rarely leaks it, while an address fails for boring reasons: a typo, or a customer who moved and never told the bank (Stripe).

The short version: a failed CVV on an online order is worth blocking. A failed AVS on its own is worth a look, not an automatic decline. And "unavailable" outside the US, Canada and the UK is what normal looks like, because issuers elsewhere mostly don't support AVS (Adyen, Stripe).

AVS response codes

These are the Visa-standard letters most US processors return, from CyberSource and Airwallex. The "what to do" column is ours.

CodeResultWhat it meansWhat to do
YMatchStreet address and 5-digit ZIP matchAccept
XMatchStreet address and 9-digit ZIP matchAccept
D, MMatchStreet address and postal code match (Visa, international)Accept
APartialStreet address matches, ZIP doesn'tAccept; review high-value orders
BPartialStreet address matches, postal code not verified (Visa, international)Accept
PPartialPostal code matches, street address not verified (Visa, international)Accept
ZPartial5-digit ZIP matches, street address doesn'tAccept; review if shipping differs from billing
WPartial9-digit ZIP matches, street address doesn'tAs Z
NNo matchNeither street address nor ZIP matchesReview; block if CVV also fails
CVariesVisa international. CyberSource reads it as no match, Airwallex as not verified (incompatible formats)Review
IUnavailableAddress not verified (Visa, international)Treat as unavailable
GUnavailableIssuer outside the US doesn't take part in AVSTreat as unavailable
UUnavailableIssuer returned no result or has no address on fileTreat as unavailable
SUnavailableAVS not supported by the issuer. US issuers don't send itTreat as unavailable
RRetrySystem unavailable or timed outRetry once, or review
EErrorAVS data invalid, or not allowed for this card type or merchant categoryCheck your request

Two traps. American Express adds its own letters that also check the cardholder's name (CyberSource lists F, H, J, K, L, O, Q, T and V), and F means something different on a Visa card in the UK. So read the code together with the card brand, never on its own. And processors re-map codes: Adyen returns numbers (7 is a full match, 2 is neither) instead of letters (Adyen). Map whatever you receive into match, partial, no match and unavailable before any rule touches it.

CVV response codes

From CyberSource:

CodeWhat it meansWhat to do
MCVV matchesAccept
NCVV doesn't matchBlock on card-not-present orders
PNot processed, reason unspecifiedReview
SThe card has a CVV but the request left it outFix your checkout; you should always send it
UThe issuer doesn't support card verificationTreat as unavailable
XThe card network doesn't support card verificationTreat as unavailable

If you're on Stripe

Stripe collapses all of this into three fields on the charge, address_line1_check, address_postal_code_check and cvc_check, each one of pass, fail, unavailable or unchecked. Radar has built-in rules to block a failed CVC or a failed postal code check, and the CVC rule leaves alone the payments where no check was possible, like Apple Pay and off-session renewals (Stripe). Turn the CVC rule on. Think hard before the postal code rule, because Stripe itself warns that AVS fails for legitimate customers.

Block, review, accept

  • Block a failed CVV on any order the customer typed in. Block AVS N with CVV N together.
  • Review AVS N with a matching CVV, and partial matches (A, Z, W) on high-value orders shipping somewhere other than the billing address.
  • Accept full matches, and treat unavailable as neutral. Blocking on it declines most of your foreign customers.
  • Cancel the authorization rather than capturing when you reject a payment that was already approved, so the hold comes off the customer's card.

Keep the results either way. AVS and CVV matches are part of the evidence you send when a fraud chargeback lands, and you can't collect them after the fact. A wave of CVV failures from one IP is also how card testing usually shows up first.

AVS also decides which interchange rate a Visa credit transaction lands in. Chapter 29 follows one merchant doing $1M a year at a $100 average order; this is what sending AVS does to its bill.

Interchange Qualification

The cheapest win is making sure each transaction qualifies for the interchange category it's entitled to. Visa's card-not-present consumer credit rates require CPS qualification, which includes an AVS check with the authorization and settlement within a set window after shipping (CardFellow's summary of Visa CPS). Miss a requirement and the transaction is "downgraded" (rates from Visa USA Interchange Reimbursement Fees, 24 October 2026):

Missing DataWhat Visa Charges InsteadDifference
AVS, or settled outside the CPS window (consumer credit)Non-Qualified, 3.15% + $0.10, instead of Product 1 at 1.89-2.60% + $0.100.55-1.26 points
Line-item data on a corporate or purchasing cardCommercial Card Not Present, 2.70% + $0.10, instead of Commercial Product 3 at 1.75% + $0.100.95 points
Level 2 data only (tax amount, customer reference)No separate rate; the schedule has no Level II category outside fuelNone

If all of the merchant's orders downgraded, that's $5,500-$12,600 a year on $1M. Watch the share of volume landing in Non-Qualified on your statement.

For the merchant, the table reads top to bottom as a to-do list. AVS means collecting the billing ZIP code at checkout and sending it with the authorization. The settlement window is a batch schedule setting. CVV is worth collecting to stop fraud, but it isn't a CPS requirement, so don't expect it to move your rate. Line-item data applies to commercial cards only, so the 0.95-point win is on the corporate slice of the $1M, not the whole of it. Visa replaced its Level 3 program with this line-item requirement, the Commercial Enhanced Data Program, in October 2025, and charges a scheme fee on transactions that send the data (Stripe support).

Two things about this lever. It only shows up on your statement if you're on interchange-plus; on blended pricing the processor absorbs the downgrade and prices it into your rate. And it's the one lever that costs nothing but developer time, which is why the chapter calls it the cheapest win. Send the data before you switch models, so your first interchange-plus statement shows what clean transactions cost, not what your downgrades did.

Questions

What does AVS mismatch mean?

The billing address the customer entered doesn't match the address the card issuer has on file. The issuer returns a code such as N (neither street nor ZIP matches) or Z (ZIP matches, street doesn't), and the merchant decides what to do with it.

Does an AVS mismatch mean the payment is fraud?

No. Addresses fail for ordinary reasons, such as a typo or a customer who moved without telling their bank. Treat a mismatch on its own as a reason to review the order, and block when it comes with a failed CVV or other fraud signals.

Will a payment be declined if AVS doesn't match?

Not by the AVS check itself. The result comes back alongside the issuer's approval or decline, and AVS rules run after authorization. If you reject an approved payment, cancel the authorization instead of capturing it.

What is the difference between an AVS check and a CVV check?

AVS compares the billing street address and postal code with the issuer's records. The CVV check compares the three or four digit security code. Merchants can't store the CVV, so a CVV failure is the stronger fraud signal.

Does AVS work outside the US?

Mostly in the US, Canada and the UK. Elsewhere many issuers don't support it, so an unavailable result is normal and shouldn't be treated as a failure.

What the book adds

The rest of chapter 19

  • Layered risk scoring that answers inside 100ms
  • The ML ensemble, and when to retrain it
  • When a transaction earns a 3D Secure challenge
  • Chargeback evidence assembled by reason code
  • The MATCH list, and how merchants end up on it

30-day money-back · Instant PDF and EPUB

All 42 chapters