Skip to main content
Cresora Commerce
Testing & Sandbox

AVS & CVV Testing

Simulate address verification and CVV check outcomes in the sandbox.

Address Verification Service (AVS) and CVV checks are card security features that verify the cardholder's billing address and card security code.

How AVS works

AVS compares the billing address you pass with the address on file at the issuer. The result is an AVS response code, not a pass/fail — Cresora returns the code and you decide whether to accept the payment.

How CVV works

CVV (Card Verification Value) compares the 3-digit code you pass against the issuer's record. Like AVS, the result is a code — you decide whether to accept.

Test cards

PANAVS resultCVV resultPayment
4111111111111111MatchMatchApproved
4000000000000127No matchMatchApproved (AVS mismatch logged)
4000000000000101MatchNo matchApproved (CVV mismatch logged)
4000000000000010No matchNo matchDeclined

Configuring AVS/CVV rules

In the Partner Portal, go to Merchant Settings → Processing → AVS & CVV Rules to configure whether mismatches should automatically decline payments or just log the mismatch.

💡Tip

For most card-not-present integrations, declining on CVV mismatch (but allowing AVS mismatch) is the recommended starting configuration. High-risk merchants should consider declining on both.

Passing billing address

To enable AVS checking, include the billing address in your payment request:

{
  "card": {
    "number": "4111111111111111",
    "exp_month": 12,
    "exp_year": 2028,
    "cvv": "123",
    "billing_address": {
      "line1": "123 Main St",
      "city": "New York",
      "state": "NY",
      "postal_code": "10001",
      "country": "US"
    }
  }
}