Skip to content

Card decline codes

A decline code is the reason a card issuer, or the fraud screening in front of it, refused a payment. It answers two questions: can another attempt succeed, and what does the customer need to do. Never retry a lost, stolen, closed, or stop-payment decline. Fix the details for CVC, number, and ZIP declines. Wait out insufficient funds and issuer outages. On Flint, every processor reason arrives as one of 22 normalized codes, and buyers never see the sensitive ones.
Verified against official documentationReviewed Send a correction (opens in a new tab)

The codes below use Stripe's decline_code names, the most searched form, with the network response code behind each one. The cross-processor table gives the Adyen, Square, and Braintree names for the most common ones.

Every code by what to do next

What to doCodes
Never retry
Stop. Don't reattempt this card for this payment, and ask for a different payment method.
lost_card, stolen_card, pickup_card, fraudulent, duplicate_transaction, stop_payment_order, revocation_of_authorization, revocation_of_all_authorizations
Fix, then retry
Retry only with corrected details or after authentication. An identical retry fails.
authentication_required, incorrect_cvc, incorrect_number, invalid_amount, no_such_issuer, new_account_information_available, incorrect_zip
Retry later
The decline is temporary. Retry on a spaced schedule, or offer another method now.
insufficient_funds, card_velocity_exceeded, withdrawal_count_limit_exceeded, processing_error, issuer_not_available, reenter_transaction
Customer action
Only the cardholder's bank can clear it. Ask for another card or a call to the bank.
do_not_honor, generic_decline, expired_card, restricted_card, transaction_not_allowed, call_issuer, currency_not_supported, invalid_account, card_not_supported, security_violation

Declined, blocked, or broken

Three different things fail a card payment, and each needs a different response:

  • An issuer decline. The authorization reached the customer's bank, and the bank said no. The decline code is the bank's reason, as far as it shares one.
  • A blocked payment. Fraud screening stopped the payment before it reached the bank. Stripe reports a block under the same generic_decline code it uses for unexplained issuer declines, so “contact your bank” can be the wrong advice.
  • An invalid request. Your integration sent something wrong. That's an API error to fix in code, and the card had nothing to do with it.

On Flint the three never share a code: a block is payment_blocked, an issuer decline has its own code, and only an invalid request is an HTTP error. See declines on Flint.

Hard and soft declines

A hard decline won't clear on its own: the card is lost, stolen, closed, expired, or barred from this kind of purchase, and the same details keep failing. A soft decline is temporary: not enough funds today, a daily limit, an issuer outage. Visa sorts its response codes into four categories, and the category decides how often you may try again:

Visa categoryResponse codesReattempts allowed
1: Issuer will not approve04, 07, 12, 14, 15, 41, 43, 46, 57, R0, R1, R3None. Every reattempt draws a fee.
2: Issuer cannot approve at this time03, 19, 51, 59, 61, 62, 65, 75, 78, 86, 91, 93, 96, N3, N4Up to 15 in 30 days
3: Issuer cannot approve with these details14, 54, 55, 70, 82, 1A, N7Up to 15 in 30 days, plus a data quality fee above a monthly threshold
4: Generic response codesEverything else, including 05 Do not honorUp to 15 in 30 days

Code 14, invalid card number, appears in both category 1 and category 3: Visa forbids retrying the same number, and a corrected number is a new attempt. Each entry below gives its category.

How often you can retry

Card networks charge for retries that ignore their rules:

  • Visa allows no reattempts after a category 1 decline, and up to 15 reattempts in 30 days for the same transaction after a category 2, 3, or 4 decline. Reattempts beyond that draw excessive retry fees.
  • Mastercard charges for more than 10 declined attempts on the same card in 24 hours. It also charges for retrying within 30 days after merchant advice code 03, “do not try again”, or 21, “stop recurring payment”, whatever the decline code says.
  • Stripe recommends at most eight retries for a charge that permits them, and warns that issuers can treat extra retries as potential fraud.

The practical policy: never reattempt the never-retry codes or after merchant advice codes 03 and 21, keep everything else to a handful of attempts spread over days, and stop retrying on a schedule once a card has a replacement.

The codes

  • do_not_honorNetwork 05Customer action

    The issuer's catch-all refusal: the bank declined and didn't say why. Internal risk rules, account status, and velocity logic are common causes, but no one outside the bank can see which applied.

    Retry: The cardholder's bank is the only party that knows more. One retry after the customer talks to their bank is reasonable; repeated blind retries are not.

    Tell the customer: “Your bank declined this payment without giving a reason. Contact your bank, or use a different card.”

    Hard or soft: Soft. Visa category 4; Braintree classifies its 2000 Do Not Honor as soft.

    Every reattempt counts toward Visa's limit of 15 in 30 days, and blind retries lower your approval rate with that issuer. Schedule one or two spaced retries at most.

    On Flint: last_payment_error.code is do_not_honor, and buyer credentials read card_declined.

  • insufficient_fundsNetwork 51Retry later

    The account behind the card can't cover the amount right now. Network 51 reads 'insufficient funds / over credit limit', so it covers a maxed-out credit card as well as an empty debit account.

    Retry: Balances change, so this is the most recoverable decline (Visa category 2). In checkout, offer another payment method instead of waiting.

    Tell the customer: “Your card doesn't have enough funds for this payment. Use a different payment method, or try again after adding funds.”

    Hard or soft: Soft. Visa category 2; Braintree 2001: soft.

    The best candidate for subscription retries. Space them days apart, near likely funding dates such as the start of the month, rather than daily.

    On Flint: last_payment_error.code is insufficient_funds.

  • generic_declineCustomer action

    The card was declined for an unknown reason, or the payment never reached the issuer because fraud screening blocked it first. Stripe uses this one code for both.

    Retry: With no reason given, an identical retry usually repeats the outcome. A different payment method works now.

    Tell the customer: “Your card was declined. Contact your bank for details, or use a different payment method.”

    Hard or soft: Indeterminate. Treat it as hard for automatic retries.

    Stripe tells you to present lost_card, stolen_card, and fraudulent to the customer the same way as generic_decline, so this is also the message the serious codes hide behind.

    On Flint: last_payment_error.code is card_declined.

  • authentication_requiredNetwork 1A (Visa), 65 (Mastercard)Fix, then retry

    The issuer requires strong customer authentication, such as 3D Secure, before it will approve. It's a soft decline that asks you to authenticate the cardholder and try again.

    Retry: Run 3D Secure and resubmit. For an off-session payment, bring the customer back on-session to complete the challenge.

    Tell the customer: “Your bank needs to verify this payment. Complete the verification step to continue.”

    Hard or soft: Soft. Visa files 1A under category 3, 'cannot approve with these details'.

    Most common in the EEA and UK, where PSD2 requires strong customer authentication. Mastercard reuses 65 for this, the number that elsewhere means 'exceeds withdrawal count limit'.

    On Flint: last_payment_error.code is authentication_required.

  • incorrect_cvcNetwork N7Fix, then retry

    The security code the customer entered doesn't match the card. Visa's N7 reads 'decline for CVV2 failure'.

    Retry: Retry only with a corrected code; an identical retry fails.

    Tell the customer: “The security code doesn't match your card. Check the 3-digit code on the back (4 digits on the front for American Express) and try again.”

    Hard or soft: A data decline. Braintree marks 2010 hard; Visa files N7 under category 3, fix the details and retry. Both agree an identical retry fails.

    Many CVC failures on one card are a card-testing signature, so rate-limit attempts. Category 3 declines also count toward Visa's data quality fee.

    On Flint: last_payment_error.code is incorrect_cvc.

  • expired_cardNetwork 54Customer action

    The card's expiry date has passed. The card as stored will never be approved again.

    Retry: The customer usually has a reissued card with a new expiry date. Collect the new details or another card.

    Tell the customer: “This card has expired. Enter your replacement card's details, or use a different payment method.”

    Hard or soft: Hard. Braintree 2004: hard. Visa files 54 under category 3, because updated details can succeed.

    A mistyped expiry date is a different failure: Stripe reports it as invalid_expiry_month or invalid_expiry_year.

    On Flint: last_payment_error.code is expired_card.

  • incorrect_numberNetwork 14Fix, then retry

    The card number doesn't correspond to a real account. Network 14 reads 'invalid account number (no such number)'.

    Retry: Visa forbids reattempting the same account number after a 14. A corrected number is a new attempt and fine.

    Tell the customer: “The card number isn't valid. Check the digits and try again.”

    Hard or soft: Hard for the number as entered. Braintree 2005: hard. Visa lists 14 in both category 1 and category 3.

    Usually a typo that client-side Luhn validation should catch before it costs an authorization. Many of these point at your form, not your retry logic.

    On Flint: last_payment_error.code is payment_method_unavailable.

  • lost_cardNetwork 41Never retry

    The cardholder reported the card lost, and the issuer has closed it to authorizations. Network 41 reads 'pickup card (lost card)'.

    Retry: Visa category 1, 'issuer will not approve'. Any reattempt draws Visa's excessive retry fee.

    Tell the customer: “Your card was declined. Contact your bank, or use a different payment method.”

    Hard or soft: Hard. Visa category 1; Braintree 2012: hard.

    Never retry, and never name the reason: the person at your checkout may not be the cardholder. Stripe instructs presenting it as a generic decline. For a subscription, ask for a new payment method.

    On Flint: last_payment_error.code is lost_card, and buyer credentials read card_declined.

  • stolen_cardNetwork 43Never retry

    The cardholder reported the card stolen. Network 43 reads 'pickup card (stolen card)'.

    Retry: Visa category 1: the issuer will not approve this card again.

    Tell the customer: “Your card was declined. Contact your bank, or use a different payment method.”

    Hard or soft: Hard. Visa category 1; Braintree 2013: hard.

    Handle it like lost_card: never retry, never disclose. Treat it as a fraud signal on the session and the account, not just a failed payment.

    On Flint: last_payment_error.code is stolen_card, and buyer credentials read card_declined.

  • pickup_cardNetwork 04 / 07Never retry

    The issuer wants the card taken out of circulation, possibly because it was reported lost or stolen. 07 adds 'special conditions'.

    Retry: Visa category 1 for both 04 and 07: the issuer will not approve this card.

    Tell the customer: “Your card was declined. Contact your bank, or use a different payment method.”

    Hard or soft: Hard. Visa category 1.

    Online there's no card to pick up, but the signal is the same: a dead card, possibly fraud, and no retries. Don't show the code to buyers.

    On Flint: last_payment_error.code is card_declined.

  • fraudulentNetwork 59 (issuer-side analog)Never retry

    The payment was declined as suspected fraud. Network 59, 'suspected fraud', is the issuer's version.

    Retry: Retrying looks like fraud probing and runs into the same screening. If a trusted customer is flagged, have them contact their bank.

    Tell the customer: “Your card was declined. Contact your bank, or use a different payment method.”

    Hard or soft: Hard for practical purposes. Braintree 2014: hard; Visa files 59 under category 2.

    Never tell the customer fraud was suspected. Stripe says to present it the same way as generic_decline: a fraudster learns nothing, and a real customer isn't alarmed.

    On Flint: last_payment_error.code is fraudulent, and buyer credentials read card_declined.

  • card_velocity_exceededNetwork 61 / 65 familyRetry later

    The card hit a balance, credit, or transaction amount limit set by the issuer. Network 61 covers amount limits and 65 count limits; debit cards with daily caps and prepaid cards hit these most.

    Retry: Limit windows reset, often daily. An identical retry inside the same window fails.

    Tell the customer: “Your card has reached a limit set by your bank. Try again later, ask your bank to raise the limit, or use another payment method.”

    Hard or soft: Soft. Visa category 2; Braintree 2002 and 2003: soft.

    A burst of velocity declines across many different cards means something else: your checkout is being used for card testing.

    On Flint: last_payment_error.code is card_declined.

  • withdrawal_count_limit_exceededNetwork 65Retry later

    The card has made too many transactions in the issuer's time window, whatever the amounts. Network 65 reads 'exceeds withdrawal count limit'.

    Retry: Count windows reset. Visa files 65 under category 2.

    Tell the customer: “Your card has reached its transaction limit for now. Try again later, or use a different payment method.”

    Hard or soft: Soft. Visa category 2.

    On Mastercard in markets that require strong customer authentication, 65 means authentication required instead, which 3D Secure fixes and waiting doesn't. Read the processor's normalized code rather than raw 65s.

    On Flint: last_payment_error.code is card_declined.

  • restricted_cardNetwork 62Customer action

    The card is barred from this use, most often by region. Visa defines 62 as 'restricted card (card invalid in region or country)'.

    Retry: The restriction is the issuer's policy on the card, and only the cardholder can get it lifted.

    Tell the customer: “Your card can't be used for this purchase. Contact your bank, or use a different card.”

    Hard or soft: Soft. Visa category 2.

    Common in cross-border sales to domestic-only cards. Stripe notes the card may also have been reported lost or stolen, so keep buyer messaging generic.

    On Flint: last_payment_error.code is card_declined.

  • transaction_not_allowedNetwork 57 / 58Customer action

    The card, or the merchant setup, isn't permitted to run this type of transaction. Network 57 is a cardholder restriction, such as online purchases disabled; 58 is an acquirer or terminal restriction.

    Retry: For 57, only the issuer can enable the transaction type. For 58, the fix is a configuration change on your side.

    Tell the customer: “Your card doesn't allow this type of purchase. Contact your bank, or use a different card.”

    Hard or soft: Hard. Visa category 1 for 57; Braintree 2015: hard.

    A run of 58s across many customers is a merchant configuration problem, not a customer problem. Don't email customers about it.

    On Flint: last_payment_error.code is card_declined.

  • invalid_amountNetwork 13Fix, then retry

    The payment amount is invalid or above what the card allows. Network 13 reads 'invalid amount'.

    Retry: Check the amount you sent first: currency minor units, zero, or a negative total. If it's correct, the customer needs to ask their bank about purchase limits.

    Tell the customer: “This payment amount couldn't be processed. Try again, and if it keeps failing, ask your bank whether it limits purchases of this size.”

    Hard or soft: A data decline. Visa category 4. Identical retries fail; corrected amounts succeed.

    Often a merchant bug: a minor-unit mistake such as 150000 cents instead of 1500, locale decimal parsing, or a negative total after discounts.

    On Flint: last_payment_error.code is payment_method_unavailable.

  • processing_errorNetwork 96 (closest analog)Retry later

    Something in the authorization chain failed, and no one judged the card. Network 96 reads 'system malfunction'.

    Retry: Transient by definition. Retry once now, then again later if it fails.

    Tell the customer: “There was a temporary problem processing your payment. Please try again in a moment.”

    Hard or soft: Soft. Visa category 2.

    Send the retry with the same idempotency key when you're retrying a request whose response you never got, so a slow first attempt can't charge twice. A spike across many cards is an outage somewhere.

    On Flint: last_payment_error.code is processing_error.

  • issuer_not_availableNetwork 91Retry later

    The issuer's authorization system couldn't be reached, so no decision was made. Network 91 reads 'issuer system inoperative'.

    Retry: It's issuer downtime, not a judgment on the card. A short backoff and a retry recovers many of these.

    Tell the customer: “We couldn't reach your bank to approve this payment. Try again in a few minutes.”

    Hard or soft: Soft. Visa category 2.

    A cluster of 91s from one card range means one bank is down. Don't send those customers to fix their cards.

    On Flint: last_payment_error.code is processing_error.

  • reenter_transactionNetwork 19Retry later

    The issuer couldn't process the authorization and asks for it to be submitted again. Network 19 reads 're-enter transaction'.

    Retry: The issuer is asking for another attempt. Stop after a couple of failures.

    Tell the customer: “Your bank couldn't process the payment this time. Please try again.”

    Hard or soft: Soft. Visa category 2.

    Repeated 19s point to a routing or data problem, not a busy issuer.

    On Flint: last_payment_error.code is payment_failed.

  • call_issuerNetwork 01 / 02Customer action

    The issuer wants to speak with the cardholder before approving. Online, that means the payment is declined until they do.

    Retry: Banks often approve the next attempt once the cardholder confirms the purchase by phone. A retry before then repeats the decline.

    Tell the customer: “Your bank needs to speak with you before approving this payment. Call the number on the back of your card, then try again.”

    Hard or soft: Hard until the customer acts. Braintree 2044: hard; Visa category 4.

    One of the few declines where telling the customer exactly what to do, call the bank and then retry, recovers the sale.

    On Flint: last_payment_error.code is card_declined.

  • currency_not_supportedCustomer action

    The card doesn't support the currency of the payment.

    Retry: The same card and currency keep failing. A different card works now.

    Tell the customer: “Your card doesn't support payments in this currency. Use a different card, or contact your bank.”

    Hard or soft: Hard for this card and currency.

    Seen with domestic-only cards paying a price in a foreign currency.

    On Flint: last_payment_error.code is payment_method_unavailable.

  • duplicate_transactionNetwork 94Never retry

    A transaction with the same amount and card was submitted very recently, and the issuer suspects a duplicate.

    Retry: Check first: the original attempt may have succeeded, and a blind retry risks charging twice.

    Tell the customer: “This looks like a payment you just made. Check whether the first payment went through before trying again.”

    Hard or soft: Soft (Braintree 2016), but the right response is to reconcile, not retry.

    Usually a double-submitted checkout: a double-clicked pay button, a client retry after a timeout, or a missing idempotency key.

    On Flint: last_payment_error.code is payment_failed.

  • no_such_issuerNetwork 15Fix, then retry

    The leading digits of the card number don't belong to any issuing bank, so the number is structurally wrong.

    Retry: Only a corrected card number can succeed. Visa category 1 for the number as entered.

    Tell the customer: “The card number isn't valid. Check the digits, especially the first few, and try again.”

    Hard or soft: Hard. Visa category 1; Braintree 2009: hard, and Braintree notes Mastercard bans retries on it.

    Stripe has no decline code for 15. Almost always a typo in the first six to eight digits, which client-side validation catches.

  • new_account_information_availableNetwork Mastercard MAC 01Fix, then retry

    The card was replaced or reissued, and updated details exist. Mastercard's merchant advice code 01 says so in the authorization response.

    Retry: Retry with the updated card details, never the stored ones.

    Tell the customer: “Your card details are out of date, often because your bank issued a new card. Update your payment details.”

    Hard or soft: Hard for the stored details; recoverable with updated ones.

    In recurring billing, this is the issuer telling you a replacement card exists. Ask for the new details instead of retrying on a schedule.

    On Flint: last_payment_error.code is payment_failed.

  • stop_payment_orderNetwork R0Never retry

    The cardholder told their bank to block this payment, usually a recurring one. It's a cancellation made at the bank instead of with you.

    Retry: Visa category 1: the bank is enforcing the cardholder's instruction.

    Tell the customer: “Your bank blocked this payment at your request. To continue the service, update your payment method or contact us.”

    Hard or soft: Hard. Visa category 1.

    Charging again turns declines into disputes, because the cardholder already told their bank no. Stop billing this card and treat it as a cancellation.

    On Flint: last_payment_error.code is card_declined.

  • revocation_of_authorizationNetwork R1Never retry

    The cardholder withdrew, at their bank, their permission for your recurring charges.

    Retry: Consent has been revoked. Visa category 1.

    Tell the customer: “Your bank says you've withdrawn permission for these payments. To resume, update your payment details with us.”

    Hard or soft: Hard. Visa category 1.

    It ends the billing agreement, not just one payment. Mastercard's merchant advice code 21, 'stop recurring payment', is the equivalent, and retrying after either draws network fees.

    On Flint: last_payment_error.code is card_declined.

  • revocation_of_all_authorizationsNetwork R3Never retry

    The cardholder revoked every preauthorized and recurring payment on the card, for every merchant.

    Retry: Visa category 1: nothing recurring will be approved on this card again.

    Tell the customer: “Your bank has blocked automatic payments on this card. To continue, add a different payment method.”

    Hard or soft: Hard. Visa category 1.

    Cancel any scheduled retries against the card and ask for a new payment method.

    On Flint: last_payment_error.code is card_declined.

  • invalid_accountNetwork 78 / 46Customer action

    The card, or the account behind it, isn't usable. Network 46 is 'closed account'; in Mastercard usage, 78 is an invalid or nonexistent account.

    Retry: A closed or nonexistent account can't be fixed by retrying. The customer needs their bank or another card.

    Tell the customer: “Your bank reports a problem with the account behind this card. Contact your bank, or use a different payment method.”

    Hard or soft: Hard. Visa category 1 for 46.

    Visa uses 78 for a new card that hasn't been activated yet (category 2, retryable after activation), so the same number means different things per network.

    On Flint: last_payment_error.code is payment_method_unavailable.

  • card_not_supportedCustomer action

    The card doesn't support this type of purchase, such as an FSA or HSA card outside health merchant categories, or a card barred from cross-border purchases.

    Retry: The block is between the card product and your merchant category. Retrying doesn't change either.

    Tell the customer: “Your card doesn't support this type of purchase. Contact your bank, or use a different card.”

    Hard or soft: Hard for this card at this merchant.

    If these cluster on one card type, the pattern is the signal, not the single decline.

    On Flint: last_payment_error.code is payment_method_unavailable.

  • incorrect_zipFix, then retry

    Address verification failed on the postal code: it doesn't match the issuer's billing record.

    Retry: Corrected input succeeds; identical input fails.

    Tell the customer: “The billing ZIP or postal code doesn't match your card. Enter the postal code your bank has on file.”

    Hard or soft: A data decline. Braintree 2059: hard.

    Customers often enter a shipping ZIP instead of the billing ZIP, so label the field 'Billing ZIP'.

    On Flint: last_payment_error.code is payment_method_unavailable.

  • security_violationNetwork 63Customer action

    A security check at the issuer failed, and the details aren't shared. Network 63.

    Retry: Security declines rarely clear on their own; the issuer holds the details.

    Tell the customer: “Your bank declined this payment. Contact your bank, or use a different payment method.”

    Hard or soft: Treat as hard. Visa category 4 for reattempt counting.

    Keep buyer messaging calm and generic, and leave repeated 63s out of automatic retries along with the fraud codes.

    On Flint: last_payment_error.code is card_declined.

The same decline on every processor

Each processor names the same issuer response differently. Adyen cells are its refusalReason, or the raw acquirer response where that is more specific. Square publishes no network-code mapping, so “closest” marks a semantic match from its error enum.

Network responseStripeAdyenSquareBraintreeFlint
Do not honor (05)do_not_honorraw '05: Do not honor'GENERIC_DECLINE (closest)2000 Do Not Honordo_not_honor
Insufficient funds (51)insufficient_fundsNot enough balanceINSUFFICIENT_FUNDS2001 Insufficient Fundsinsufficient_funds
Expired card (54)expired_cardExpired CardCARD_EXPIRED2004 Expired Cardexpired_card
CVC mismatch (N7)incorrect_cvcCVC DeclinedCVV_FAILURE2010 Card Issuer Declined CVVincorrect_cvc
Invalid number (14)incorrect_numberInvalid Card NumberPAN_FAILURE2005 Invalid Credit Card Numberpayment_method_unavailable
Lost card (41)lost_cardraw '41: Pickup card (lost card)'CARD_DECLINED (closest)2012 Possible Lost Cardlost_card
Stolen card (43)stolen_cardraw '43: Pickup card (stolen card)'CARD_DECLINED (closest)2013 Possible Stolen Cardstolen_card
Not permitted (57/58)transaction_not_allowedTransaction Not PermittedCARD_NOT_SUPPORTED (closest)2015 Transaction Not Allowedcard_declined
Authentication required (1A)authentication_requiredAuthentication requiredCARD_DECLINED_VERIFICATION_REQUIRED2099 Cardholder Authentication Requiredauthentication_required
Issuer unavailable (91)issuer_not_availableIssuer UnavailableTEMPORARY_ERROR (closest)3000 Processor Network Unavailable (closest)processing_error
Call issuer (01/02)call_issuerReferralCARD_DECLINED_CALL_ISSUER2044 Declined, Call Issuercard_declined

Declines on Flint

Flint is a payments API with orders, tax, and subscriptions built in, running on Stripe. It turns the decline vocabulary above into something you can branch on safely.

  • 22 codes instead of 50. Stripe's catalog lists 50 card decline codes. Flint maps every processor reason to one of 22 values of last_payment_error.code, keeps the distinctions that change what you do, such as lost_card and insufficient_funds, and groups the rest. A code Flint doesn't recognize arrives as payment_failed, never as a raw processor string.
  • A decline is a result, not an exception. Paying an order returns 200 with the attempt's outcome. The order stays open with its balance owed, so nothing needs canceling before the buyer tries again.
  • Blocks are their own code. A payment stopped by your Flint risk rules or by Stripe's fraud screening is payment_blocked, so you never send a buyer to their bank about a block the bank never saw.
  • Buyer-safe by default. The sensitive reasons never reach the person paying. See what buyers see.

This sandbox request pays a $48.00 order with Stripe's lost-card test token:

cURL
curl -X POST https://api.withflintpay.com/v1/orders/ord_1kmn0aExample/pay \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: pay-ord_1kmn0aExample-1" \
  -d '{
    "action": "pay",
    "payment_source": {
      "credential_type": "token",
      "token": "pm_card_visa_chargeDeclinedLostCard"
    },
    "expected_outstanding_money": {"amount": 4800, "currency": "USD"}
  }'
JSON
{
  "data": {
    "order": {
      "order_id": "ord_1kmn0aExample",
      "status": "open",
      "payment_status": "unpaid",
      "settlement_amounts": {
        "paid_money": {"amount": 0, "currency": "USD"},
        "outstanding_money": {"amount": 4800, "currency": "USD"}
      }
    },
    "order_payment_attempt": {
      "order_payment_attempt_id": "opat_1kmn0aExample",
      "status": "failed",
      "is_resumable": false,
      "last_payment_error": {
        "code": "lost_card",
        "message": "The card issuer reported this card lost. Don't retry it; ask the customer to use a different payment method.",
        "failed_at": "2026-10-28T18:04:12Z",
        "remediation": {
          "retry": "none",
          "next_steps": "Try again with a different payment method."
        }
      }
    }
  },
  "request_id": "req_01KWM6WAHG3N9Q8T2V5XRZ7C4D"
}

The response is trimmed to the fields that matter here. The call returned 200, the attempt is failed, and last_payment_error.message is written for you, not the buyer. Every code and the recovery steps for each attempt status are in Declines and payment attempts, and the same failure arrives on the payment_intent.payment_failed webhook.

Your retry logic is one switch, whichever processor reason sits behind the code:

TypeScript
// One switch covers every processor reason. Unknown codes fall to default,
// because Flint can add values.
function nextStep(code: string): "fix_details" | "try_later" | "authenticate" | "new_method" {
  switch (code) {
    case "incorrect_cvc":
    case "expired_card":
    case "payment_method_unavailable":
      return "fix_details";
    case "processing_error":
    case "payment_method_temporarily_unavailable":
      return "try_later";
    case "authentication_required":
      return "authenticate";
    default:
      // card_declined, do_not_honor, insufficient_funds, lost_card,
      // stolen_card, fraudulent, payment_blocked, payment_failed, ...
      return "new_method";
  }
}

What buyers see

Stripe tells merchants to present lost_card, stolen_card, and fraudulent exactly like a generic decline, and leaves enforcing that to your code. Flint enforces it in the API. A buyer credential, such as a checkout session credential or a customer session on /v1/me, reads lost_card, stolen_card, fraudulent, and do_not_honor as card_declined.

Merchant view

Your API key reads

The precise code, such as lost_card, with a message telling you what to do. Log it, report on it, and decide retries from it.

Buyer view

The buyer reads

card_declined for the sensitive reasons, with a message you can show as is. No reason leaks, whatever your frontend renders.

A buyer credential reads the lost-card failure above as:

JSON
"last_payment_error": {
  "code": "card_declined",
  "message": "Your card was declined. Use a different card or contact your bank.",
  "failed_at": "2026-10-28T18:04:12Z",
  "remediation": {
    "retry": "none",
    "next_steps": "Try again with a different payment method."
  }
}

A browser that reads the payment can show that message as is. Flint's hosted checkout follows the same rule: it shows the buyer a plain decline and lets them try another card in place.

Subscription renewals that follow the rules

When a renewal is declined, the subscription becomes past_due, Flint sends subscription.past_due, and it emails the customer. Flint then retries on days 1, 4, 9, and 16 by default: four attempts, well inside Visa's 15 in 30 days. Set the window with dunning_retry_days in subscription settings, and Flint scales the four retries to fit it. A renewal declined as expired_card, lost_card, stolen_card, or fraudulent gets no automatic retries, because no retry against that card can succeed.

When the customer adds a new card, collect at once with POST /v1/subscriptions/{subscription_id}/payment-retries, or let them retry from their account. See when a renewal payment fails.

Test each decline

In a sandbox, pay an order with one of Stripe's test tokens in payment_source.token, as in the request above, and read the code Flint returns:

Test tokenlast_payment_error.code
pm_card_visa_chargeDeclinedcard_declined
pm_card_visa_chargeDeclinedInsufficientFundsinsufficient_funds
pm_card_visa_chargeDeclinedLostCardlost_card
pm_card_visa_chargeDeclinedStolenCardstolen_card
pm_card_chargeDeclinedExpiredCardexpired_card
pm_card_chargeDeclinedIncorrectCvcincorrect_cvc
pm_card_chargeDeclinedProcessingErrorprocessing_error

Testing covers the hosted checkout path with card numbers, and test card numbers lists them for every processor.

Questions, answered

What does a do_not_honor decline mean?

The card issuer declined the payment without giving a reason. It's network response 05 and Visa's most common generic decline. Ask the customer to contact their bank or use another card, and don't retry it more than once or twice.

Should I retry a declined card?

It depends on the code. Never retry lost, stolen, pickup, closed-account, stop-payment, or revoked-authorization declines. Retry CVC, number, ZIP, and expiry declines only with corrected details. Retry insufficient funds, velocity limits, and issuer outages on a spaced schedule.

How many times can I retry a declined card payment?

Visa allows no reattempts after a category 1 decline and up to 15 reattempts in 30 days for categories 2, 3, and 4. Mastercard charges fees for more than 10 declined attempts on the same card in 24 hours, and for retrying within 30 days after merchant advice code 03 or 21. Stripe recommends at most eight retries.

What is the difference between a hard decline and a soft decline?

A hard decline won't succeed on retry because the card is lost, stolen, closed, expired, or barred from the transaction. A soft decline is temporary, such as insufficient funds, a velocity limit, or an issuer outage, and a later attempt can succeed.

What should I tell a customer whose card was declined as lost, stolen, or fraudulent?

Show the same message as a generic decline, such as 'Your card was declined. Contact your bank, or use a different payment method.' Stripe instructs merchants not to reveal these reasons, because the person paying may not be the cardholder.

Sources