Mocks
Address verification system (AVS)
Address verification system (AVS) checks with the acquiring bank if the address of the cardholder matches the billing address. The acquiring bank provides a score as a result of this verification.
Testing values
The AVS feature is testable in Sandbox when making pay-ins in GBP by changing the two first digits of the billing address PostalCode
.
First 2 digits of the PostalCode | AVSResult |
---|---|
22 | FULL_MATCH |
12, 42, 82 | ADDRESS_MATCH_ONLY |
21, 24, 28 | POSTAL_CODE_MATCH_ONLY |
14, 18, 41, 44, 48, 81, 84, 88 | NO_MATCH |
11, any other value | NO_CHECK |
Note – PostalCode
default value
Keep in mind that, by default, the Address
information of the Billing
parameter inherits the values of the Shipping
parameter, if provided, otherwise the user (author).
Worked example
Prerequisites
To go through the worked example below, you need to have everything you usually have for making a pay-in:
- A User object, with a GBP wallet
- A GBP card for the same user
REST
API Response with AVS check
Was this page helpful?