Skip to content

Decline code 51: insufficient funds

Response code 51 means insufficient funds: the account behind the card can't cover the amount right now. Stripe reports it as insufficient_funds. It's the most recoverable card decline, as long as you retry at the right time.
Verified against official documentationReviewed Send a correction (opens in a new tab)

What it means

Decline code 51 means the card's account doesn't have enough available money or credit for this payment. On a debit card the balance is too low; on a credit card it's over its limit. Balances change, so a later retry, or a different payment method now, usually works.

RetryRetry later The decline is temporary. Retry on a spaced schedule, or offer another method now.
WhyBalances change, so this is the most recoverable decline (Visa category 2). In checkout, offer another payment method instead of waiting.
Hard or softSoft. Visa category 2; Braintree 2001: soft.
Tell the buyer“Your card doesn't have enough funds for this payment. Use a different payment method, or try again after adding funds.”
Stripe decline_codeinsufficient_funds
Flint last_payment_error.codeinsufficient_funds

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

Network response codes

Card networks send a numeric response code with every decline. Processors translate it, so the same decline can reach you under several names.

CodeNameMeaningWhen a retry can work
51Insufficient fundsThe account can't cover the amount right now. Mastercard's 51 also covers a card over its credit limit.Yes, spaced days apart, up to 15 times in 30 days. Visa category 2.

How each processor reports it

StripeAdyenBraintreeSquareFlint
insufficient_fundsNot enough balance2001 Insufficient FundsINSUFFICIENT_FUNDSinsufficient_funds

Square publishes no network code mapping, so its cell is the closest documented error code.

Why it happens

  • A debit or prepaid card whose balance is below the payment amount.
  • A credit card at or near its credit limit, which Mastercard also reports as 51.
  • Pending holds, such as hotel or fuel authorizations, that reduce the available balance below the account balance.
  • A payment larger than usual, such as an annual plan or a big order.

If your card was declined

  1. Check your available balance or credit in your banking app. Pending holds count against it even before they post.
  2. Add funds or pay down the card, then try again.
  3. Use a different card or payment method to pay now.

If you're the merchant

  1. Tell the buyer plainly that the card doesn't have enough funds, and offer another payment method on the same page instead of making them start over.
  2. For subscriptions and invoices, retry days apart, near likely funding dates such as the start of the month, rather than daily.
  3. Stay inside the network limits: Visa allows up to 15 reattempts in 30 days for code 51, and Mastercard charges fees for more than 10 declined attempts on one card in 24 hours.

How Flint handles it

Flint reports code 51 as last_payment_error.code insufficient_funds, to your API key and to buyer credentials alike, so you can tell the buyer exactly what happened.

In Flint's hosted checkout, a decline never ends the session. The buyer sees the failure inline and can try another card on the same page, and the order keeps its balance due until a payment succeeds.

When a subscription renewal fails with this code, Flint's built-in dunning retries it for you: four times by default, 1, 4, 9, and 16 days after the first failure, which stays well inside Visa's limit of 15 reattempts in 30 days. Flint emails the buyer a link to update their card once per failed period, and next_retry_at on the subscription says when the next retry runs.

Test it

In a Flint sandbox, pay with 4000 0000 0000 9995, any future expiry, and any CVC, or send the test token pm_card_visa_chargeDeclinedInsufficientFunds from your server. The attempt ends failed with insufficient_funds, and the order stays open.

Test card numbers lists every documented decline card for Flint, Stripe, Adyen, Braintree, PayPal, Square, Checkout.com, and Authorize.net.

Questions, answered

What does decline code 51 mean?

Insufficient funds: the account behind the card can't cover the amount right now, and on Mastercard it also covers a card over its credit limit. Stripe reports it as insufficient_funds.

Can I retry a code 51 decline?

Yes. It's a soft decline in Visa category 2, so you can retry up to 15 times in 30 days. Space retries days apart; an immediate retry fails for the same reason.

Why was my card declined for insufficient funds when I have money?

Pending holds reduce your available balance before they post, and a credit card can be at its limit even when the statement balance looks low. Your bank's app shows the available amount the bank checks.

Sources

Meanings, retry rules, and processor names come from the networks' and processors' own docs, last checked November 17, 2026. Flint behavior comes from Flint's guides.