Free tools / Stripe decline codes / security_violation
Stripe decline code: security_violation
security_violation is one of the decline codes Stripe returns when a card payment fails, in last_payment_error.decline_code on the PaymentIntent or outcome.reason on the Charge. Stripe's label for it is "Security violation". Here is what it means, whether a retry can succeed, who can fix it, and what to tell the customer.
- Decline code
- security_violation
- Type
- Blocked card
- Who can fix it
- The customer — needs to act
- Will a retry help?
- No: do not retry
What it means
Stripe gives no reason and says the customer should contact their bank; the network response names a security block on the card.
Blocked card. Lost, stolen, flagged or withdrawn. Do not retry: it can hurt your acceptance rate. Ask for a different card, through a neutral message.
Should you retry?
No: do not retry. No. The bank will refuse the same card as is, or Stripe or the network asked not to try again. Retrying wastes an attempt and can breach the card networks' reattempt rules. Change what is wrong, or ask for another card.
Recommended action
Who can fix it: The customer — needs to act. Do not retry. Ask for another card.
What to tell the customer
Short and neutral, ready for a checkout error, a billing page or a support reply. No placeholders — ready to paste.
Your bank declined this card. Please contact your bank, or pay with another card.
Customer email template
Neutral wording for this situation. Replace {name}, {product}, {link} and {company}.
Hi {name},
We were unable to process the payment for {product} with the card on file. Please get in touch so we can sort it out. If you would like to keep your subscription, you can add a different card here: {link}
Thanks,
{company}Stripe's documentation
Stripe lists this code, with its advice for the customer, in its decline codes reference. The data on this page was last checked against it on 12 November 2026.
Related decline codes
Codes that behave the same way, to read next.
Handling many failed payments? See how FlowMRR helps you prioritize failed Stripe payments by revenue at risk.
Try FlowMRR free