insufficient_funds
The card does not have enough funds to complete the purchase. Nothing is wrong with the card itself; the balance or available credit was too low at the moment of the attempt.
What you see in Stripe
The decline code is on the PaymentIntent, in last_payment_error. The details of the attempt are on the Charge. Abridged, example values:
{
"id": "pi_example",
"object": "payment_intent",
"last_payment_error": {
"charge": "ch_example",
"decline_code": "insufficient_funds"
}
}{
"id": "ch_example",
"object": "charge",
"payment_intent": "pi_example"
}The Charge has no top-level decline_code: read it from last_payment_error on the PaymentIntent. Stripe's pages do not say which outcome fields (outcome.type, outcome.network_status, network codes) this code carries, or whether it always comes with a Charge, so the example leaves them out rather than guess. For the same reason it shows no card details (payment_method_details). The fields shown are identifiers only.
Fields as documented in the Stripe API reference: PaymentIntent, Charge.
Why it happens on a subscription
A subscription charges on a fixed date, whether or not the account holds money that day. These are possibilities, and the code alone cannot tell them apart.
- The balance or available credit was low on the billing date.
- The card is a company or virtual card with a spending limit or a funded balance, and the limit was used up or the balance was not topped up.
- The card is a prepaid card that has run out.
- The card was issued to a person who has left the customer's company, and the company no longer funds it.
The clues are card.funding (credit, debit, prepaid or unknown) and the pattern across the customer's earlier charges. A card that paid for several cycles and then failed is a different case from one refused on its first charge. Neither tells you the cause on its own.
Should you retry
Soft decline. Often a temporary condition, so a later attempt can succeed, but Stripe's own next step is that the customer needs to use an alternative payment method.
Stripe's decline-code table gives this next step: the customer needs to use an alternative payment method. Stripe does not publish a retry wait or limit for this code, or say how retries of it affect issuer decisions. Stripe's card-declines page says card networks limit how often a single charge can be reattempted, recommends a maximum of eight retries for charges that permit them, and says issuers might see extra retries as potential fraud, which can increase declines for legitimate charges. Stripe: card declines.
- Let the customer know the payment did not go through and give them an easy way to pay with another card.
- If you retry the same card, space the attempts out rather than repeating them straight away.
Say the payment was declined for insufficient funds and offer a link to update the payment method or pay with a different card.
The customer may need to add funds or use another payment method.
How Thaw treats it
Thaw classes this code as soft. It plans recovery emails that carry a link to update the card, a card-update email on day six, and two retries. The first retry is planned for day three or later and the second for day nine or later, each also after a wait from the failure. The wait is chosen from 12 hours, 24 hours, 48 hours, 72 hours, 5 days, 7 days, 10 days; for this code the choice starts from a wait of 5 days, and Thaw's record of past retry outcomes can change which wait is chosen, so the retry date is the later of the step day and the chosen wait. Either retry can then move forward by up to four days to reach the first, second, fifteenth or sixteenth of the month (UTC). A retry is checked again when it is due. If looking up the decline code from Stripe failed and still cannot be answered when an action is due, Thaw defers that action and sends nothing for it until the lookup answers.
What Thaw does not do
Thaw does not read the card's balance, check whether funds have arrived, or ask the customer when they can pay. The retry date comes from a fixed wait and a payday nudge, not from anything about the customer's account.
Sign in with an email link, then connect Stripe to get Thaw's free audit of your account. It only reads; nothing sends until you activate.
Sign in to connect StripeSource: Stripe docs: decline codes. Sample audit.