Skip to main content

Rejection codes

How to know the rejection error

In the case of rejected transactions, you can find out the reason for rejection from the error_details field. This field includes several elements with information about the reason why the issuing bank rejected the transaction.

{
"error_code":"05",
"error_description":"Transaction has been declined.",
"error_code_scheme":"59",
"error_description_scheme":"Suspected Fraud",
"error_unified":"SUSPECTED FRAUD"
}

It is possible that the error_unified is set to null. This can happen if the error returned by the issuing bank/brand (VISA, Mastercard,...) is not documented on their side and therefore does not have an associated code in Paylands.

List of errorsDescription
INVALID_MERCHANTThe trade sent is not valid (possibly the tpv has been deactivated by the acquirer)
UNSPECIFIED_REFUSALGeneric rejection code. Generally means that the user has no funds on the card
EXPIRED_CARD
SUSPECTED_FRAUD
PIN_TRIES_EXCEEDEDIn a 3DS authentication, the user has exceeded the maximum number of attempts to enter the PIN
INVALID_CARD_NUMBERIncorrect card number
CVV_FAILURE
AUTHENTICATION_FAILUREThe user has not been able to complete the 3DS correctly
DUPLICATED_OPERATION
INSUFFICIENT_FUNDSInsufficient balance. Some card issuers mask this error as UNSPECIFIED_REFUSAL
INVALID_EXPIRE_DATE
CLOSED_ACCOUNTThe bank account associated to the card has been terminated
INVALID_AMOUNTThe card does not support a transaction for the given amount
CARD_LOST_OR_STOLEN
INVALID_CURRENCYThe card does not support the currency used
EXCEEDS_AMOUNT_MAX_LIMIT
RESTRICTED_CARD
TIMEOUT
FORMAT_ERROR
INVALID_TRANSACTION_DATE
INVALID_TRANSACTION
PICK_UP_CARD
INVALID_PIN
TRANSACTION_NOT_ALLOWED_FOR_CARD
SECURITY_VIOLATION
CARD_STILL_NOT_OPERATIONAL
CARD_NOT_SUPPORTED_BY_THE_SYSTEM
INVALID_SESSIONSession token error
NOT_ACCEPTED_REFUND
PIN_REQUIREDPIN_REQUIRED - User PIN entry required

In the case of merchants with multi-acquiring services, rejected transactions will include an error_details field including information on the reason for rejection and a unified error code bringing together the equivalent error codes among the different acquirers.

error_codeError code returned by the issuer
error_descriptionDescriptive text associated to the error_code
error_code_schemeError code returned by the schemes(VISA, MC, ...)
error_description_schemeDescriptive text associated to the error_code_scheme
error_unifiedText string associated with the error_code_scheme field. In case of multi-acquirers, this field will contain the same value for the same reason for rejection among the different acquirers

It is possible that the error_code_scheme field contains two error codes separated by a comma. The second one refers to the fact that the card brand rejected the transaction but gave additional info on how to proceed depending on the following codes:

01Additional information required
02Retry later
03Do not retry
21Payment cancelled

If the card was Mastercard, the transaction can be reattempted after 30 days. In the case of VISA, the transaction cannot be reattempted.