What is a card decline code?
A card decline code is the short label, such as insufficient_funds or expired_card, that Stripe attaches to a failed card charge to say why the card was declined and what the customer can do next.
Also called: Stripe decline codes, card decline reasons, payment decline codes
Where you see a decline code#
When a card charge fails, Stripe records why. In the Stripe Dashboard the reason shows on the payment, and through the API it comes back as the `decline_code` on the card error. Stripe keeps the full list, with what each code means and the next step it suggests, in its decline codes reference (checked 27 November 2026).
Two kinds of decline#
For a subscription it helps to sort declines into two groups. Some can clear later on the same card: money arrives, a limit resets. Others only the customer can fix: an expired card stays expired however often you retry it. The first group suits retries plus a gentle email; the second needs an email that asks for a new card straight away.
Five decline codes to know first#
- generic_decline: the card was declined for an unknown reason, or Stripe Radar blocked the payment.
- insufficient_funds: the card doesn’t have enough money for the charge.
- do_not_honor: the bank declined without giving a reason.
- expired_card: the card on file has expired.
- card_velocity_exceeded: the charge went over the card’s balance, credit limit or transaction limit.
What to do with them#
A decline code is the starting point for dunning: it tells you whether to wait for a retry or ask for a new card, and what to say in the email. Our dunning email templates cover the messages, and Stripe Smart Retries covers charging the card again. Customers lost this way are involuntary churn.
How ExitLoop shows decline codes#
In ExitLoop, each failed payment on a customer’s page shows the decline reason in plain words, such as “Not enough money”, “Card expired” or “Bank declined”, next to the card and the dates. Stripe’s own retries charge the card again, and ExitLoop’s failed payment emails ask the customer to update their card. See Recover failed payments.
Last updated .