When a transaction fails, the issuing bank returns a decline code - a specific reason code that explains exactly why the authorization was refused. SmartRetry reads these codes in real time and uses them to decide whether and how to attempt recovery.Documentation Index
Fetch the complete documentation index at: https://www.smartretry.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
What are decline codes?
Decline codes are standardized response codes generated by the issuing bank at the end of the authorization flow. After the card network routes your transaction to the issuer, the issuer evaluates it against account status, fraud rules, balance, and velocity limits - then returns an approval or a specific decline reason. Without decline codes, merchants would have no way to distinguish a stolen card from a temporary funds issue. SmartRetry uses these codes as the primary input to its recovery decision logic. ThereasonCode field on the transaction status object contains the specific decline reason. The domain field tells you which part of the payment chain produced it.
Hard vs. soft declines
Not all declines are equal. The most important distinction in payment recovery is between hard declines and soft declines.- Soft declines
- Hard declines
A soft decline indicates a temporary issue. The underlying payment method is structurally valid, but something situational prevented the authorization from succeeding right now.Common causes include:
- Insufficient funds at the time of the attempt
- Temporary fraud filters that may clear on a second attempt
- Velocity or spending limits that reset over time
- Network timeouts or transient processor errors
Common decline reason codes
The table below lists frequently encountered declinereasonCode values, their type, and how SmartRetry responds to each.
SmartRetry only retries transactions with a realistic probability of success. The retry behavior shown below reflects SmartRetry’s default logic; actual behavior may vary based on issuer signals, transaction context, and your configuration.
| Reason code | Description | Type | SmartRetry retries? |
|---|---|---|---|
INSUFFICIENT_FUNDS | The payer’s account does not have enough funds to cover the transaction. | Soft | Yes - retried after a delay aligned with typical deposit timing. |
DO_NOT_HONOR | A generic issuer refusal, often triggered by fraud filters or internal bank rules. | Soft (context-dependent) | Yes - retried with routing and parameter changes to reduce issuer friction. |
EXPIRED_CARD | The card’s expiry date has passed. | Hard | No - the payment method must be updated. |
FRAUD_SUSPECTED | The issuer has flagged the transaction as potentially fraudulent. | Hard | No - retrying a fraud-flagged transaction worsens the merchant’s risk profile. |
STOLEN_CARD | The card has been reported stolen by the cardholder. | Hard | No - the account is permanently blocked for this payment method. |
LOST_CARD | The card has been reported lost by the cardholder. | Hard | No - the account is permanently blocked for this payment method. |
CVV_FAILURE | The CVV provided does not match the issuer’s records. | Soft | Yes - retried using CVV optimization strategies from the Arsenal. |
3DS_CHALLENGE_FAILED | The payer did not complete the 3DS authentication challenge. | Soft | Yes - retried with adjusted 3DS parameters and exemption logic where applicable. |
DUPLICATE_TRANSACTION | The issuer identified this as a duplicate of a recent transaction. | Soft | Yes - retried after a sufficient interval to clear the duplicate window. |
INVALID_CARD | The card number or account details are not valid. | Hard | No - the payment method must be replaced. |
VELOCITY_LIMIT | The transaction exceeds the number of attempts allowed in a given time period. | Soft | Yes - retried via a different acquirer or after the velocity window resets. |
AMOUNT_LIMIT_EXCEEDED | The transaction amount exceeds a limit set by the issuer or acquirer. | Soft | Yes - retried through an alternative acquirer with a higher limit threshold. |
CARD_RESTRICTED | The card has a restriction that prevents this transaction type, merchant category, or region. | Context-dependent | Depends on the restriction type. SmartRetry evaluates available routing and parameter options before deciding. |
Using the domain field
Thedomain field on the status object helps you understand the systemic source of a decline - not just the specific reason code.
For example:
- A
CVV_FAILUREwithdomain: PAYMENT_METHODpoints to a data quality issue on the card itself. - A
FRAUD_SUSPECTEDwithdomain: RISKpoints to a risk rule at the acquirer or issuer level. - A
VELOCITY_LIMITwithdomain: PROCESSORpoints to an acquirer-side limit, not an issuer limit - meaning routing to a different acquirer may resolve it.
domain alongside reasonCode gives you a clearer picture of where recovery efforts should focus. See Transaction Statuses for the full list of domains.