Skip to main content

Rejection codes

Rejection code detail

When a transaction is declined, an error message is associated with it, depending on the payment service used to carry out the operation. This error message often contains both the error code and its description, and may vary over time. To interpret the error, it is advisable to rely on the error_details object contained in the transaction in the payment notification.

This object contains a breakdown of the error code and description of the payment service used, as well as the official error code and description of the card brand (Visa, Mastercard...). In addition, whenever possible, a unified error message is included to quickly identify the cause of the error, which does not vary between payment services.

All fields are nullable although if all of them are null, the object error_details is not included in the response (its value will be null).

"error_details": {
"error_code": "190",
"error_description": "Denegación del emisor sin especificar motivo",
"error_code_scheme": "05",
"error_description_scheme": "Do not honor",
"error_unified": "UNSPECIFIED_REFUSAL"
}
CampoDescripción
error_codeCódigo de error devuelto por la procesadora
error_descriptionTexto descriptivo del error_code
error_code_schemeCódigo de error devuelto por la marca de la tarjeta
error_description_schemeTexto descriptivo asociado al error_code_scheme
error_unifiedError común a todas las procesadoras asociado al error_code_scheme

Unified errors list

Listed below are all unified errors that can be returned by the API along with a description of the reason behind the denial and the value of the official Visa and Mastercard error_code_scheme.

Unified ErrorDescriptionOfficial Code
AUTHENTICATION FAILUREThe user failed to complete 3DS authentication successfully1A, Q1 (Visa)
BLOCKED MERCHANTThe user requested their bank to block the merchant from charging their cardR1 (Visa)
CARD LOST OR STOLENThe user reported their card as lost or stolen, and it cannot be used for payments41, 43 (Visa/Mastercard)
CARD NOT SUPPORTED BY THE SYSTEMThe card brand is not accepted
CARD STILL NOT OPERATIONALThe card has not yet been activated
CLOSED ACCOUNTThe bank account linked to the card has been closed39, 46, 52, 53, 78 (Visa) 76, 77, 78, 79 (Mastercard)
CRYPTOGRAPHIC ERRORA cryptographic error occurred, preventing the payment from continuing81 (Visa) 88 (Mastercard)
CVV FAILUREThe CVV (Card Verification Code) entered by the user is incorrectN7 (Visa)
DECLINED BY ISSUERThe card issuer bank declined the payment for any reason82 (Mastercard)
DUPLICATED OPERATIONA similar transaction occurred within a very short period94 (Visa/Mastercard)
EXCEEDS AMOUNT MAX LIMITThe payment exceeded the user's balance limit61, N4, N8, Z5 (Visa)
EXCEEDS WITHDRAWAL FREQUENCY LIMITThe payment exceeded the maximum number of transactions for the user61 (Visa) 61, 65 (Mastercard)
EXPIRED CARDThe card has expired54 (Visa/Mastercard)
FORMAT ERRORCommunication failed due to a format error between parties30 (Mastercard)
INSUFFICIENT FUNDSThe card has insufficient funds51 (Visa/Mastercard)
INVALID AMOUNTThe card does not support a transaction for the specified amount13, B1 (Visa) 13 (Mastercard)
INVALID CARD NUMBERIncorrect card number14 (Visa/Mastercard)
INVALID CURRENCYThe card does not support the currency used
INVALID EXPIRE DATEThe card expiration date is invalid
INVALID ISSUERThe card is not associated with any issuing bank15, 21 (Visa) 15 (Mastercard)
INVALID MERCHANTThe specified merchant is not valid (possibly the terminal has been deactivated by the acquirer)03, Z6 (Visa) 03 (Mastercard)
INVALID PINSome authentication values for the transaction (CVV, PIN, TAVV, etc.) are incorrect55, 64, 74, 82, P5, Q1 (Visa) 55 (Mastercard)
INVALID SESSIONThe payment session has expired or the transaction was not authenticated correctly
INVALID TRANSACTIONThe transaction cannot be completed for any reason12, 76 (Visa) 12, 84 (Mastercard)
INVALID TRANSACTION DATEThe date/time indicated in the transaction is incorrect
LAW VIOLATIONThe issuing bank, card, or merchant prevents the payment for any reason93 (Visa)
NO FINANCIAL IMPACTA generic error occurred, and the transaction was not processed80 (Visa)
NOT ACCEPTED REFUNDThe transaction could not be refunded
PICK UP CARDThe card has been disabled by the user or has been reported stolen04, 07 (Visa) 04 (Mastercard)
PIN REQUIREDPIN_REQUIRED - The user is required to enter the PIN70, P6 (Visa) 71 (Mastercard)
PIN TRIES EXCEEDEDIn a 3DS authentication, the user exceeded the maximum attempts to enter the PIN75 (Visa/Mastercard)
PIN VALIDATION NOT POSSIBLEThe PIN could not be validated86, P6 (Visa) 86, 89 (Mastercard)
RESTRICTED CARDThe card is restricted62 (Visa/Mastercard)
REVERSEDTransaction reversed79 (Visa)
SECURITY VIOLATIONThe payment cannot continue due to fraud suspicion or card restriction63 (Visa/Mastercard)
SUSPECTED FRAUDThe payment might be fraudulent and has been blocked59 (Visa) 83 (Mastercard)
SYSTEM ERRORAn unexpected system error prevented the payment from being completed06, 28, 96, N0, N3, R0, R3, Z3 (Visa) 96 (Mastercard)
TIMEOUTA process took too long to respond
TRANSACTION NOT ALLOWED FOR CARDThe card is not allowed to perform the transaction57 (Visa) 57, 81 (Mastercard)
TRANSACTION NOT ALLOWED FOR MERCHANTThe merchant is not allowed to perform the transaction58 (Visa/Mastercard)
TRY AGAINA temporary error prevents the transaction from being processed, try again later19 (Visa)
UNABLE TO ROUTE TRANSACTIONThe issuing bank or switch is temporarily unavailable25, 91, 92 (Visa) 91, 92 (Mastercard)
UNSPECIFIED REFUSALGeneric refusal code normally used when the card has insufficient funds05 (Visa/Mastercard)

Merchant advice code (MAC)

Only in the case of Mastercard cards, it is possible that the field error_code_scheme contains two error codes separated by a comma. The second value is the MAC field (Merchant Advice Code) through which the brand informs us when we should try to charge the user again.

MACDescriptionRetry Possible
01Card data has changed
02Retry later
03Do not retryNo
04Token requirements not met for this type of token
05Negotiated value not approved
21Payment canceledNo
22Merchant does not qualify for product code
24Try again after 1 hour (Mastercard use only)
25Try again after 24 hours (Mastercard use only)
26Try again after 2 days (Mastercard use only)
27Try again after 4 days (Mastercard use only)
28Try again after 6 days (Mastercard use only)
29Try again after 8 days (Mastercard use only)
30Try again after 10 days (Mastercard use only)
40Non-reloadable prepaid card for the consumer
41Single-use virtual card number for the consumer

A MAC code of 03 or 21 indicates that the card will never again have a charge accepted, so no further attempts should be made to charge the card. Future attempts to charge these cards will be blocked by the gateway to avoid penalties from the brands. When an attempt is made to initiate a payment with a blocked card, the error returned will be Card blacklisted.