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
| PAN | AVS result | CVV result | Payment |
|---|---|---|---|
4111111111111111 | Match | Match | Approved |
4000000000000127 | No match | Match | Approved (AVS mismatch logged) |
4000000000000101 | Match | No match | Approved (CVV mismatch logged) |
4000000000000010 | No match | No match | Declined |
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.
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"
}
}
}