Card product configuration
Marqeta’s configuration allows you to select which behaviors of AVS you would like to activate for your program. Enabling AVS allows Marqeta to validate and respond to the merchant when AVS data is provided.-
av_messages– Account verification (AV) messages are zero-amount authorizations that allow merchants to validate the address before adding a card to their records. -
auth_messages– Authorization messages are purchase transactions in which the merchant provides AVS data during the transaction and Marqeta returns the validation during the authorization response. Merchants then have the option to reverse transactions based on address validation.
decline_on_address_number_mismatch and/or decline_on_postal_code_mismatch if declining such transactions is required, for example, when the address data does not match the data from the merchant. Use the following request body to enable AVS in the countries that support it:
Enabling AVS
JSON
Transaction data
As part of the transaction payload that Marqeta provides in both JIT Funding and webhooks, AVS validation compares the values that the merchant has provided in the request with the values in Marqeta’s records. See the following code sample for reference.Validating AVS
JSON
JIT validation
You can also choose to provide AVS validation using a JIT gateway response. JIT validation is useful when storing the address data on your own servers instead of Marqeta’s platform. Using the transaction payload described in Transaction data, you can either override or return validation from the address that Marqeta provides. See the following code sample for reference.JIT validation
JSON