Skip to main content

Result codes

Address Verification Service (AVS)

Address Verification Service (AVS) is a service provided by the payment brands that determines the match or partial match of the consumer's address information. Below is a table of AVS response codes and their descriptions.

CodeDescriptionVisaMastercard
AAddress matches, zip code does not match.
BAddress matches, postal code does not match (foreign card).-
CAddress and postal code do not match (foreign card).-
DAddress and postal code match (foreign card).-
EIneligible transaction or message contains content error.-
FAddress and postal code match (UK only).-
GAddress and postal code verification not supported by card issuer (foreign card).-
IAddress not verified (foreign card).-
MAddress and postal code match (foreign card).-
NNeither address nor ZIP code matches.
PPostal code matches, address does not match (foreign card).-
RSystem unavailable or timed out. Retry.
SCard issuer does not support address verification system.
UAddress information is unavailable (domestic).
W9-digit ZIP code matches, address does not match.
XAddress and 9-digit ZIP code match.
YAddress and 5-digit ZIP code match.
Z5-digit ZIP code matches, address does not.

Card Verification Value (CVV)

The table below explains the card verification value (CVV) response codes that you might receive when you are carrying out a CVV check or verifying a card.

CodeDescription
MCard verification value matches.
NCard verification value does not match or is invalid.
PCard verification value not processed.
UIssuer not registered. Issuer has not certified for CVV or issuer has not provided Visa with the CVV encryption keys.
SIssuer indicates that CVV data should be present on the card, but the merchant has indicated data is not present on the card.

Merchant Advice Code (MAC)

The Merchant Advice Code (MAC) is a Mastercard-specific code that provides more details about a response:

  • The reason for approving or declining a transaction.
  • The actions merchants can take to continue to serve their customers.
CodeDescriptionRecommended merchant action
01New account information available.Retry allowed only after credentials refresh.
02Cannot approve at this time, try again later.Wait 24 hours before resubmitting the authorization request.
03Do not try again.Do not retry.
04Token requirements not fulfilled for this token type.Retry allowed only after token correction.
05Negotiated value not approved.Do not retry only after parameters correction.
21Recurring payment cancelled.Do not retry.
22Merchant does not qualify for product code.Do not retry.
24Indicate insufficient funds.Retry after 1 hour (Mastercard use only).
25Indicate insufficient funds.Retry after 24 hours (Mastercard use only).
26Indicate insufficient funds.Retry after 2 days (Mastercard use only).
27Indicate insufficient funds.Retry after 4 days (Mastercard use only).
28Indicate insufficient funds.Retry after 6 days (Mastercard use only).
29Indicate insufficient funds.Retry after 8 days (Mastercard use only).
30Indicate insufficient funds.Retry after 10 days (Mastercard use only).
40Consumer non-reloadable prepaid card.Do not retry.
41Consumer single-use virtual card number.Do not retry.
42Sanctions scoring service.Do not retry.
43Consumer multi-use virtual card number.Retry allowed, depending on issuer response.
note

For further information about retries, see authorization retry strategies.

Response code category

The Response code category is a Visa-specific category based on the response code of the scheme that provides more details about a response. It indicates the actions merchants can take to continue serving their customers.

Response code categoryDescriptionRecommended merchant action
issuer_will_never_approveIndicates a permanent condition that cannot be fixed by the merchant.Do not retry with the same credential. Request an alternative payment method or contact the cardholder.
issuer_cannot_approve_this_timeIndicates the issuer may approve the request in the future but cannot do so at the time of the request.Retry allowed. Limit reattempts and consider retrying at a later time or after customer action.
revalidate_data_before_reattemptIndicates the issuer may approve the request in the future but cannot do so at the time of the request.Correct the transaction data (e.g. expiry date, CVV, authentication) before retrying.
generic_issuer_declineIndicates data quality issues in which invalid payment or authentication data has been provided and that the issuer will approve the transaction if valid information is provided.Retry permitted, but outcome uncertain. Avoid excessive retries.
note

For further information about retries, see authorization retry strategies.