Testing values
The AVS feature is testable in Sandbox when making pay-ins in GBP by changing the two first digits of the billing addressPostalCode
.
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 valueKeep 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
PrerequisitesTo 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