Skip to main content

AVS and CVV2 Checks and $0 Account Verification

Last Updated: 2026-12-01 Status: Complete

AVS and CVV2 checks are verification signals returned by the issuer alongside an authorization decision, and $0 account verification is a separate message that validates a credential without placing a hold. After reading this page you should be able to parse the results, build a decision matrix for the case where the issuer approves but verification fails, and choose the right way to validate a card at set-up. Fraud strategy is covered in Fraud Detection Tools; this page is about the engineering.

Quick Reference​

  • AVS compares the numeric parts of the billing address and postal code supplied by the customer with the issuer's records.
  • CVV2 compares the card security code printed on the card with the value the issuer holds.
  • Both results are returned in the authorization response as separate fields. They are advisory: the issuer's approval decision is independent.
  • The security code is sensitive authentication data. Send it, never store it after authorization, and never log it.

How Do AVS and CVV2 Results Come Back?​

The merchant sends the postal code and address digits and the security code in the authorization request. The issuer returns an approval or decline in the response code plus one result for AVS and one for CVV2. Gateways normalise these into their own fields (names vary by provider) and often return the raw network value too.

Common U.S. AVS results (exact letters vary by processor and network):

ResultTypical meaning
YAddress and postal code match
ZPostal code matches, address does not
AAddress matches, postal code does not
NNeither matches
UAddress information unavailable or issuer cannot verify
RRetry, issuer system unavailable
SAVS not supported by the issuer
GNon-U.S. issuer that does not participate

Common CVV2 results (exact values vary by processor):

ResultTypical meaning
MMatch
NNo match
PNot processed
SMerchant indicated the code is not present on the card
UIssuer does not support CVV2 checking
Caveat

Letters beyond these sets, and their precise definitions, differ by network, processor and region. Map from your processor's documentation, and keep the raw value alongside your normalised enum.

AVS is a U.S. and Canada-centred mechanism and is of limited use for many international cards. Treat U, R, S and G as "no information" rather than "failure".

What Should I Do When the Issuer Approves but AVS or CVV2 Fails?​

The issuer's approval has already placed a hold on the cardholder's funds. Whatever you decide, the authorization must be closed: either captured or reversed. Declining the order on your side without sending a reversal leaves an orphaned hold that persists until the issuer releases it, frustrates the customer and can attract a Visa Misuse of Authorization System fee for an approved authorization that is never cleared or reversed. See authorization reversals.

AVSCVV2Suggested actionRationale
YMApprove and proceedFull match
Z or AMApprove, optionally route to review above a value thresholdPartial address match is common with legitimate customers
NMReview; decline and reverse for high-risk or digital goodsMismatch with a correct code is mixed evidence
AnyNReverse the authorization and declineA wrong security code is a strong signal in card-not-present
U, R, S, GMApprove; rely on other signalsNo address data available
U, R, S, GNReverse the authorization and declineCode failed
AnyP or UTreat as neutral; use other signalsCheck could not run
AnySReview; investigate your integrationThe code was reported missing

These thresholds are policy choices, not network rules. Tune them against your own chargeback and false-decline data, ideally per merchant segment and risk tier, and review them with your risk team.

export type VerificationAction = 'APPROVE' | 'REVIEW' | 'REVERSE_AND_DECLINE';

export function decideOnVerification(avs: string, cvv2: string, amountMinor: number): VerificationAction {
const noInfo = ['U', 'R', 'S', 'G'].includes(avs);
if (cvv2 === 'N') return 'REVERSE_AND_DECLINE';
if (cvv2 === 'S') return 'REVIEW';
if (avs === 'Y' && cvv2 === 'M') return 'APPROVE';
if (avs === 'N' && !noInfo) return amountMinor > 50_000 ? 'REVERSE_AND_DECLINE' : 'REVIEW';
if (avs === 'Z' || avs === 'A') return amountMinor > 50_000 ? 'REVIEW' : 'APPROVE';
return 'APPROVE';
}

The threshold of 50,000 minor units is illustrative. Whenever the function returns REVERSE_AND_DECLINE, the calling service must send the reversal and record the outcome. If the reversal itself fails, queue it for retry; do not drop it. Reversal calls should carry an idempotency key.

What Is a $0 Account Verification?​

A $0 account verification is an authorization-class message with a zero amount that asks the issuer to validate the account, and optionally the AVS and CVV2 data. It is a verification request, not a purchase: no funds are held, so there is nothing to reverse. Visa's guidance is to check a credential's status using account verification, not an estimated authorization. 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.

ApproachCustomer impactEngineering impactRecommendation
$0 account verificationNo pending chargeNeeds acquirer and issuer support; response may include AVS and CVV2Use for card-on-file set-up and trial sign-ups
$1 authorizationPending charge appears until reversedYou must reverse it; fee and customer-support exposureAvoid

Verification is also a permitted way to establish a stored credential (see CIT vs MIT). Real Time Visa Account Updater does not operate on account verification transactions, so do not rely on it for updated credentials at that step.

How Do Verification Endpoints Become Card-Testing Targets?​

Because a $0 verification costs the fraudster nothing and shows no charge, endpoints that accept a card and return an AVS, CVV2 or approval result are attractive for card testing, in which stolen card data is validated in bulk. Engineering controls:

  • Require authentication and rate limit by IP, device, account and card fingerprint.
  • Challenge with CAPTCHA or bot detection before the verification call.
  • Do not expose raw AVS, CVV2 or issuer response codes to the client; return a generic result.
  • Alert on bursts of verification failures and on high decline-to-approval ratios.
  • Cap verifications per customer session.

See Fraud Detection Tools and the card-testing glossary entry for the fraud-side treatment.

Time-Sensitive

Network rules on verification and the supported result values are revised periodically and vary by acquirer. See Key Numbers for dated values and confirm current requirements with your acquirer. Fraud policy decisions should be reviewed by your risk team.

References​

Share: