1. Help Centre
  2. Developer information

What do Address Verification Service (AVS) response codes mean?

Find out why a payment may not have been processed successfully.

If you’re a partner, for example with a gateway that you want to integrate with our acquiring platform, the following codes can help you to understand why and how a payment has failed. Each response code has one of the following prefixes:

V indicates a validation error (for example, invalid card number)
For information, see What do Vx response codes mean?

D indicates a declined transaction
For information, see What do Dx response codes mean?

R indicates a referral (to be treated as a declined transaction)
For information, see What do Rx response codes mean?

C indicates a cancelled transaction (for example, a user selected Cancel on a payment page)
For information, see What do Cx response codes mean?

S indicates a system error
For information, see What do Sx response codes mean?

Address Verification Service (AVS)

Code

Explanation

24

2 - address matched
4 - postcode not matched

42

4 - address not matched
2 - postcode matched

44

4 - address not matched
4 - postcode not matched