Skip to main content
The Address Verification System (AVS) is a service that verifies if a billing address matches the address of a credit card cardholder. AVS is a widely used fraud-prevention measure for Card Not Present (CNP) transactions, such as online payments or point-of-sale Mail Order/Telephone Order (MOTO) payments.
AVS gives you a way to check if the shopper who is placing the order is the same person as the cardholder, which is more likely if the billing address details match.

Requirements

Before you begin, take into account the following requirements and limitations.

How does AVS work?

When a shopper pays for a transaction, you can collect their billing address details. Then, you send that data in the billingAddress object in the payment authorization request. When you have enabled AVS, the system checks if and to what extent these billing address details match the information that the issuing bank has on file about the holder of the credit card. The response to the payment request will contain an Adyen AVS response code that is mapped to a raw AVS response code. You can see the mapping in the mapping table. When the AVS check results in a mismatch, you can trigger a risk rule. You can use the Adyen-provided Address Verification System (AVS) rule, or create a custom post-authorization rule when you have enabled premium features. Based on the AVS response, you can decide what to do with the payment: you can accept, make an exception, or cancel a transaction. AVS is supported for card payments with Visa, Mastercard, Discover or American Express. Credit card issuers in the United States, Canada, the United Kingdom, and Europe (Visa only) must support AVS verification requests when you send them in, however, using AVS is not mandatory for you as a merchant.

Enable and test AVS

To be able to trigger AVS and the AVS risk rules, you set up your payment authorization requests to include billing address details. How you do that depends on your integration. Follow the instructions below that are relevant for you.

AVS in API requests

  1. Collect the shopper’s billing address details in your checkout form, and include them in the payment request. If you are using a client-side integration for Web, the Web Drop-in and Card Component can be configured to collect your shopper’s billing address.
  2. Send the collected billing address information in the payment authorization request. Provide the full address of the shopper using the billingAddress child element:
    • When you submit the billingAddress object for AVS, the following child elements are required:
    To qualify for better interchange rates submit the billing address and ZIP code for card not present transactions. This is not guaranteed, contact our Support Team to learn more.

Test AVS results

To test your system’s response to receiving an avsResult:
  1. Use our provided AVS test cards and billing addresses or create your own test cards.
  2. Include and define all the required billingAddress parameters.
  3. Set the value of street to Test AVS result.
  4. Set the value of houseNumberOrName to the AVS response code that you want to test from the mapping table. This table shows AVS response codes returned by Adyen, which are mapped to raw AVS response codes from acquirers.

Use AVS risk rules

You can enable and use the Adyen-provided Address Verification System (AVS) post-authorization rule. When you have enabled premium features, you can create a post-authorization custom rule. In your custom rule, for the field avsResponseCode, you can use the Adyen response values from the mapping table to define the risk rule behavior.

AVS responses and mapping

Different card brands and networks have specific AVS response codes. Many of them are mapped to the response codes that you receive from Adyen. We also have a number of Adyen AVS response codes to accommodate acquirers that send in slightly different raw AVS responses. For the mapping of AVS results for point-of-sale MOTO transactions with AVS, refer to AVS responses for point of sale. If you prefer to receive the actual response code from the card or network, you can turn these on in your Customer Area:
  1. Log in to your Customer Area.
  2. Go to Developers > Additional data.
  3. Select the Acquirer result and Raw acquirer result checkboxes.
  4. Select Save configuration.
The Adyen AVS response in your test environment is a simulated value because the test payments are not processed via a live acquirer. In your live environment, you will receive both a raw AVS response from the acquirer, and the Adyen AVS response.

See also