Skip to main content

Response Codes

Quick Reference

WhatAPI response codes
WhyUnderstand and handle every API response

A55 returns structured error codes that map acquirer-specific responses into a consistent set you can program against. Each code includes a description, suggested action, and troubleshooting guidance.

Find codes quickly

Use Ctrl+F (or Cmd+F on macOS) to search for a specific code on this page.

Response code reference

CodeDescriptionSuggested actionTroubleshooting
CARD_DECLINEDIssuer declined the transactionAsk customer to use another cardCheck if card has international or online restrictions
INVALID_CARDCard number fails Luhn checkValidate card number client-sideEnsure no typos in card entry
EXPIRED_CARDExpiration date is in the pastPrompt customer to update cardVerify MM/YY format in request
INSUFFICIENT_FUNDSNot enough balance on cardSuggest lower amount or different cardConsider offering installments
INVALID_CVCCVC/CVV does not matchRe-prompt for security codeCheck field mapping in your integration
3DS_REQUIRED3D Secure authentication neededRedirect to 3DS challenge URLEnsure return_url is set in request
3DS_FAILEDCardholder failed 3DS challengeDo not retry, ask for another cardCheck if card supports 3DS2
3DS_UNAVAILABLE3DS service temporarily downRetry after 60 secondsVerify acquirer 3DS enrollment
PROCESSING_ERRORInternal processing failureRetry with exponential backoffInclude idempotency key on retry
TIMEOUTAcquirer did not respond in timeRetry once after 30 secondsCheck charge status before retrying
DUPLICATE_REQUESTIdempotency key already usedUse the original responseGenerate unique keys per attempt
FRAUD_SUSPECTEDRisk engine flagged transactionDo not retry, review manuallyCheck antifraud score threshold
CURRENCY_NOT_SUPPORTEDCurrency not enabled for merchantUse a supported currencySee provider capabilities
AMOUNT_INVALIDAmount below minimum, above max, or wrong decimal precisionValidate amount before sendingCLP and COP are zero-decimal currencies — send integers. BRL, MXN, USD, PEN, ARS use 2 decimals. EUR uses 2 decimals (FX display only). See currency decimal rules
amount_below_minimumAmount is below the acquirer or method minimum (normalized code — same as amount_too_low)Increase amountBoleto minimum is R$5.00. OXXO, SPEI minimums vary by acquirer. See provider capabilities
amount_exceeds_maximumAmount exceeds the method or acquirer maximum (normalized code — same as amount_too_high)Reduce amount or split into multiple chargesOXXO maximum is MXN $10,000 per transaction. See provider capabilities
amount_too_lowAcquirer-native code for amount below minimum (alias of amount_below_minimum)Increase the value to continueSome acquirers return this instead of amount_below_minimum
amount_too_highAcquirer-native code for amount above maximum (alias of amount_exceeds_maximum)Try a lower amountSome acquirers return this instead of amount_exceeds_maximum
MERCHANT_NOT_ALLOWEDMerchant not authorized for operationContact A55 supportVerify merchant profile settings
ACQUIRER_ERRORAcquirer returned unexpected errorRetry with backoffContact support with the charge ID

Common errors and fixes

Category quick map

ScenarioCodes
Card declinedCARD_DECLINED, INSUFFICIENT_FUNDS, FRAUD_SUSPECTED
Card data problemsINVALID_CARD, EXPIRED_CARD, INVALID_CVC
3DS3DS_REQUIRED, 3DS_FAILED, 3DS_UNAVAILABLE
InfrastructurePROCESSING_ERROR, TIMEOUT, ACQUIRER_ERROR, DUPLICATE_REQUEST
Amount / currencyAMOUNT_INVALID, amount_below_minimum, amount_exceeds_maximum, amount_too_low, amount_too_high, CURRENCY_NOT_SUPPORTED
ConfigurationMERCHANT_NOT_ALLOWED
Never log card data

Never log full card numbers, CVC values, or sensitive authentication data. This is a serious security risk and can result in data breaches.

Decision tree