Thaw

All decline codes

restricted_card

The customer cannot use this card to make this payment. Stripe says it is possible the card was reported lost or stolen.

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": "restricted_card"
  }
}
{
  "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 restriction can be put on a card at any time, including between two cycles. These are possibilities, and the code alone cannot tell them apart.

Stripe's pages give no signal that separates these. Because a report is among the possibilities, review the account before you write to the customer.

Should you retry

Unclear. Stripe's next step is that the customer contacts their card issuer for more information. Stripe does not say whether a retry can help.

Stripe's decline-code table says the customer needs to contact their card issuer for more information. Stripe does not say whether a retry can help or 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.

Say the payment was declined and ask them to contact their card issuer or use another card.

The customer should contact their card issuer or provide 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. Stripe says the card may have been reported lost or stolen, but Thaw has no rule for this code and does not hold contact for it. 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 treat this code as a fraud signal and does not hold contact for it, so it may email a customer whose card was reported lost or stolen. It cannot tell the cases apart.

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 Stripe

Source: Stripe docs: decline codes. Sample audit.