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):
| Result | Typical meaning |
|---|---|
| Y | Address and postal code match |
| Z | Postal code matches, address does not |
| A | Address matches, postal code does not |
| N | Neither matches |
| U | Address information unavailable or issuer cannot verify |
| R | Retry, issuer system unavailable |
| S | AVS not supported by the issuer |
| G | Non-U.S. issuer that does not participate |
Common CVV2 results (exact values vary by processor):
| Result | Typical meaning |
|---|---|
| M | Match |
| N | No match |
| P | Not processed |
| S | Merchant indicated the code is not present on the card |
| U | Issuer does not support CVV2 checking |
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.
| AVS | CVV2 | Suggested action | Rationale |
|---|---|---|---|
| Y | M | Approve and proceed | Full match |
| Z or A | M | Approve, optionally route to review above a value threshold | Partial address match is common with legitimate customers |
| N | M | Review; decline and reverse for high-risk or digital goods | Mismatch with a correct code is mixed evidence |
| Any | N | Reverse the authorization and decline | A wrong security code is a strong signal in card-not-present |
| U, R, S, G | M | Approve; rely on other signals | No address data available |
| U, R, S, G | N | Reverse the authorization and decline | Code failed |
| Any | P or U | Treat as neutral; use other signals | Check could not run |
| Any | S | Review; investigate your integration | The 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.
| Approach | Customer impact | Engineering impact | Recommendation |
|---|---|---|---|
| $0 account verification | No pending charge | Needs acquirer and issuer support; response may include AVS and CVV2 | Use for card-on-file set-up and trial sign-ups |
| $1 authorization | Pending charge appears until reversed | You must reverse it; fee and customer-support exposure | Avoid |
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.
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.
Related Topics
- Authorization Types: reversing the authorization after a verification-driven decline.
- CIT vs MIT and Stored Credentials: using verification to start a stored credential.
- Fraud Detection Tools: AVS and CVV2 as fraud signals.
- Response Codes: how approval and decline codes are classified.
- Check your understanding: Authorization Quiz
References
- Estimated and Incremental Authorization and Reversal Processing Requirements for Visa Merchants — Visa, 2024
- Visa Account Updater FAQ — Visa Developer
- Visa Core Rules and Visa Product and Service Rules — Visa, 24 October 2026 edition