generic_decline
The card was declined for an unknown reason, or Stripe Radar or Adaptive Acceptance blocked the payment. The code deliberately carries no detail.
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": "generic_decline"
}
}{
"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
The code carries no reason, so every cause below is a possibility, and the code alone cannot tell them apart.
- The issuer declined and gave Stripe no specific reason.
- Stripe Radar or Adaptive Acceptance blocked the payment, which Stripe's decline-code table lists as a cause.
- The card is a company or virtual card with a per-merchant or monthly limit that was reached or that was set to block this merchant.
- The card was issued to a person who has left the customer's company, and it was cancelled.
On the Charge, outcome.type says whether the issuer declined or Stripe blocked the payment. Stripe also suggests looking at the associated data, such as failed CVC or address checks in payment_method_details.card.checks. A card that paid for several cycles and then failed is a different case from one refused on its first charge.
Should you retry
Unclear. Stripe's next step is that the customer contacts their card issuer. A retry may or may not help because the reason is not known.
Stripe's decline-code table gives this next step: the customer needs to contact their card issuer for more information. Stripe adds that card issuers discuss the specifics of a decline only with their cardholders. 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.
- Ask the customer to contact their card issuer for more information.
- Offer a way to pay with a different card.
- Check whether your own Radar rules could have blocked the payment.
Say the payment was declined without a reason and suggest they contact their card issuer or try another card.
The customer should contact their card issuer or use another card.
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 72 hours, 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. It treats every generic_decline the same way. 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 tell an issuer refusal from a block by Stripe. It plans the same sequence for every generic_decline.
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.