Table with error codes for payments
Error message structure
{
'error': {
'code': "{Code}",
'message': "{Description}"
}
}
Errors List
Code | Description |
---|---|
METHOD_NOT_ALLOWED | Method Not Allowed |
MISSING_FIELD | Invalid request. Field(s) required: {public_key, time, amount, currency, trans_id, url_ok, url_error, channel, signature} |
EMPTY_FIELD | Invalid request. Field(s) cannot be empty |
INVALID_CHANNEL | Invalid channel - {channel} |
INVALID_MERCHANT | No merchant found with provided {public_key} |
INVALID_SIGNATURE | The provided signature is incorrect. {signature} |
NEGATIVE_AMOUNT | Amount must be greater than zero - {amount} |
NO_DECIMALS | The currency [{currency}] does not allow decimal values - {currency} |
INVALID_CURRENCY | Invalid currency - {currency} |
INVALID_AMOUNT | Amount must be a valid number - {amount} |
INVALID_CURRENCY_CHANNEL | Currency code not allowed for this channel - {currency} |
INVALID_CHANNEL_MID | Invalid channel for mid_id - {channel} |
USERBANK_CODE_REQUIRED | Field is required - {user_bank_code} |
SHOPPERINFO_REQUIRED | Shopper's information is required - {shopper_information} |
SHOPPERINFO_BAD_FORMAT | Shopper's information has bad format - {shopper_information} |
SHOPPER_INVALID_ID | Invalid shopper document type ID - {shopper_information.type_doc_identi} |
SHOPPER_INVALID_CPF | Invalid CPF/CNPJ - {shopper_information.Num_doc_identi} |
SHOPPER_INVALID_PHONE | Invalid Phone number - {shopper_information.Phone} |
SHOPPER_INVALID_ADDRESS | Invalid address format - {shopper_information.address} |
SHOPPER_ADDRESS_REQUIRED | Address shopper information should have the following fields {zipcode, street, number, district, complement, city, state} - {shopper_information.address} |
SHOPPER_INVALID_ZIPCODE | Address zipcode length should be eight (8) charecters - {shopper_information.address.zipcode} |
SHOPPER_INVALID_STATE | Address state code length should be two (2) charecters - {shopper_information.address.state} |
SHOPPER_INVALID_IDTYPE | Invalid shopper document type ID - {shopper_information.type_doc_identi} |
SHOPPER_INVALID_EMAIL | Invalid shopper email - {shopper_information.email} |
SHOPPER_COUNTRY_REQUIRED | Shopper's country is required - {shopper_information.country} |
SHOPPER_INVALID_COUNTRY | Invalid country - {shopper_information.country} |
SHOPPER_INVALID_RUT | Invalid RUT - {shopper_information.Num_doc_identi} |
SHOPPER_INVALID_CPF | Invalid CPF/CNPJ - {shopper_information.Num_doc_identi} |
SHOPPER_COUNTRY_NOTALLOWED | Country not allowed for this channel - {shopper_information.country} |
KYC_FAILED | KYC validation failed |
MAX_AMOUNT_LIMIT | Amount exceeds the maximum allowed (7500 USD) - {amount} |
DISABLED_CURRENCY | This currency is not currently available - {currency} |
DISABLED_CHANNEL | This channel is not currently available - {channel} |