Stripe decline code · By Hanzalah Seikhai, Stripe developer

Stripe invalid_account decline: closed or invalid card accounts

invalid_account means: The card, or the account behind it, is not valid.

Retry? No, customer must contact bank.

Why it happens

  • The card or the bank account linked to it is closed or not valid any more.

What to do

  • Ask for another card. On subscriptions, send the customer to update their card in the Customer Portal.

Where to find the code

In the Stripe Dashboard, open the failed payment and read the decline reason. In code, the error from the API has decline_code next to code: card_declined. Some errors also carry an advice_code that says whether a retry can work.


If declines like this are hurting your conversions, I find the cause in your integration and fix it as a fixed-price job. Hire me on Upwork or send the error. All codes are on the Stripe decline codes page.

Other decline codes