Insufficient funds (decline code 51): what it means and when to retry
Decline code 51 means the card lacked funds or credit for the charge. Its names on Stripe, Braintree, Adyen and Recurly, the retry limits and when to retry.

Decline code 51, “insufficient funds”, means the customer’s bank refused the payment because the account did not have enough money, or the credit card not enough credit left, at the moment of the charge. Nothing is wrong with the card itself, and the same card can pay a few days later. That makes it a soft decline: retry it on a better day, a limited number of times, and do not cancel the subscription on the first failure.
This guide covers what the code is called on Stripe, Braintree, Adyen and Recurly, why it appears at renewal when the signup went fine, how many retries Visa and Mastercard allow, when to place them, and what to tell the customer. Every rule below comes from the documents listed in the sources.
What does decline code 51 mean?
When a card payment is sent for authorization, the issuing bank answers with a two-character response code. 51 is the answer for a lack of funds. Stripe’s network decline codes reference gives the wording of each network: for Visa, 51 is “Not sufficient funds”; for Mastercard, 51 is “Insufficient funds / over credit limit”.
The Mastercard wording shows that one code covers two situations:
- On a debit or prepaid card, the balance is lower than the amount of the charge.
- On a credit card, the charge would take the account over its credit limit.
Unlike code 05 (“do not honor”), 51 names a reason. It still leaves a lot out. You do not know how much is missing, whether the customer is short for a day or for a month, or when money will arrive. You only know that the bank looked at this amount, at this moment, and said no.
For the other two-digit codes and how the networks group them, see credit card decline codes.
What is it called on each provider?
Most teams never see the raw 51. They see their provider’s name for it:
| Where | Code | What the docs say |
|---|---|---|
| Stripe | insufficient_funds |
“The card has insufficient funds to complete the purchase.” |
| Braintree | 2001 Insufficient Funds |
Soft; “subsequent attempts at a later date may be successful” |
| Adyen | Refusal reason 12 “Not enough balance”; raw response 51 |
“The card does not have enough money to cover the payable amount.” |
| Recurly | insufficient_funds |
Soft; “The card has insufficient funds to cover the cost of the transaction.” |
The advice differs from one page to the next, and both versions are right. Stripe’s next step for insufficient_funds is that the customer needs to use an alternative payment method. That fits a checkout, where the customer is in front of the form and can pick another card. Braintree’s note that later attempts may succeed, and Adyen’s that the shopper “can try again after adding funds to their bank account, or use another payment method”, fit a renewal, where nobody is present and time can fix the problem.
If you bill with Chargebee, Zuora or Maxio on top of a gateway, look for the gateway’s own code in the payment’s error details: that is where you will see which of these you got.
Stripe uses the same insufficient_funds name for failed bank debits: ACH Direct Debit returns R01 and R09, and SEPA Direct Debit reason AM04. Its advice there is to contact the customer to verify that they have the required funds, then retry. Bank debits have their own retry rules; this guide is about cards.
Why does it happen at renewal when signup worked?
A card that paid last month can return 51 this month, and a card saved at the start of a trial can fail on its first real charge. Three reasons explain most cases:
- The balance moves and your billing date does not. A renewal lands on the anniversary of the signup, whatever is in the account that day.
- A card check without a charge does not look at funds. Visa’s rules, in the public edition of 24 October 2026, say that from that date an issuer must not answer an Account Verification request with code 51. The issuer evaluates funds only when the request carries an anticipated amount, and may then answer
Z5, “Valid account, amount not supported”. So a card validated when a free trial starts tells you the account exists. It tells you nothing about whether the first payment will clear. - The amount is bigger than usual. An annual renewal, or a prorated upgrade on top of the monthly charge, is more likely to exceed what is left on the card than a normal month.
None of this is the customer leaving. It is involuntary churn if you let the subscription end on it.
Should you retry, and how many times?
Yes. Insufficient funds is a decline where a retry can work, because the cause can go away without anyone changing the card. The limits come from the card networks and from your provider.
- 01 Read the advice code A Mastercard MAC 24 to 30 gives the wait, from 1 hour to 10 days
- 02 No second attempt on the same day The balance of a few minutes ago is the balance now
- 03 A few attempts over two to three weeks Inside Stripe's eight and the Visa limit
- 04 Retry at once on a new payment method Do not make the customer wait for the next slot
- 05 Stop when the signal changes On a hard decline or a "do not try again" advice code, ask for another card
Stripe. insufficient_funds is not on the list of hard decline codes that Smart Retries will not retry (incorrect_number, lost_card, pickup_card, stolen_card, revocation_of_authorization, revocation_of_all_authorizations, authentication_required, highest_risk_level, transaction_not_allowed). Before retrying yourself, read outcome.advice_code: try_again_later means the issuer declined but you can retry, and do_not_try_again means you should not use the card again for the same transaction.
Visa. Visa’s rules put 51 in Category 2, “Issuer cannot approve at this time”, next to 61 (exceeds approval amount limit) and 65 (exceeds withdrawal frequency limit). The public rules of 24 October 2026 allow a merchant to reattempt a Category 2 decline “up to 20 attempts in 30 days”. Braintree’s declines page gives a lower figure for the same category: 15 retries over a rolling 30-day period, with a fee of $0.10 per domestic and $0.15 per international transaction beyond the threshold. Your processor applies its own reading of the rule, so plan around the lower number.
The same rules say that a reattempt after a decline must not intentionally manipulate data elements from the original authorization request, such as the merchant country or the merchant category code. A retry is the same payment sent again later, not a different-looking one.
Mastercard. Mastercard issuers can attach a Merchant Advice Code (MAC) to a decline. Adyen’s reference lists seven that say “insufficient funds” and give the wait:
| MAC | Retry the payment after |
|---|---|
24 |
1 hour |
25 |
24 hours |
26 |
2 days |
27 |
4 days |
28 |
6 days |
29 |
8 days |
30 |
10 days |
Adyen also lists MAC 02, “Cannot approve at this time, try again later”, which can come from a credit limit or from insufficient funds; the recommended action is to try again after 72 hours.
Adyen notes that not all Mastercard issuers return the MAC. When one is present, it is the issuer telling you when to come back, and it beats any schedule of your own. On Stripe it appears as network_advice_code, on Adyen as additionalData.merchantAdviceCode and on Braintree as merchant_advice_code. Braintree adds that Mastercard charges $0.10 for every reattempt beyond 10 retries in 24 hours for MAC 03 and MAC 21, the two codes that mean stop.
Your provider’s own ceiling. Stripe recommends a maximum of eight retries for charges that permit retries, and warns that issuers can see extra retries as potential fraud, which can increase declines on legitimate charges. For new Stripe accounts, Smart Retries is on by default with up to 8 retries within 2 weeks; a custom schedule allows up to three. Stripe Smart Retries, Chargebee, Recurly and Paddle each run a different schedule: see payment retry schedules compared.
When is the best time to retry?
The documentation gives two firm signals:
- The MAC, when there is one. A
26means two days. Follow it. - The local time of the cardholder. Among the signals Stripe names for Smart Retries is “the best time to pay”: payments on debit cards in certain countries “might be slightly more successful at 12:01 am in local time zones”.
The rest is judgment, not a network rule. The decline says the money was missing at one moment, so the next attempt should land when the balance has had a reason to change: after a likely payday, at the start of a month, on another day of the week. A schedule that fits this decline:
- No second attempt on the same day, unless a MAC
24asks for one after an hour. The balance of a few minutes ago is the balance now. - A few attempts spread over two to three weeks, on different days of the week and at a time that is early morning for the customer, well inside Stripe’s eight and the Visa limit.
- An immediate retry when the customer updates their payment method. Do not make them wait for the next slot.
- A stop when the signal changes. If a later attempt returns a hard decline or a “do not try again” advice code, stop retrying that card and ask for another one.
Keep access open while this runs. A customer who is locked out on day one, then charged on day five, has paid for days they could not use.
What should you tell the customer?
Tell them the payment did not go through, when you will try again, and how to pay another way. Do not tell them they are out of money.
Two reasons. First, you do not know their situation: on a credit card, code 51 can mean a limit was reached, and on any card it describes one moment. Second, the details of a decline are not meant for display. Adyen’s refusal reasons page says not to expose the details of the refusal reason to shoppers, “to prevent malicious use”.
Recurly’s default customer message for insufficient_funds is more direct: “Your transaction was declined due to insufficient funds in your account. Please use a different card or contact your bank.” That can work on a checkout page, which only the customer sees. In an email, which may be read on a shared screen or forwarded to a finance team, softer wording is safer:
Subject: Your payment for [Product] didn't go through
Hi [First name],
Your bank did not approve this month's payment of [amount] for [Product]. This is usually temporary.
We'll try again on [date]. If you'd rather not wait, you can pay with another card here: [update link]
Your account stays active in the meantime.
At checkout, where the customer is present, offer another way to pay straight away. Stripe’s card declines guide suggests adding a buy now, pay later option to help minimize declines due to insufficient funds.
What mistakes should you avoid?
- Retrying in a loop. Several attempts within an hour meet the same balance, count toward the network limits, and can look like fraud to the issuer.
- Cancelling on the first failure. This decline can clear without any action from the customer.
- Asking the customer to re-enter the same card. The card details are fine. Ask for another card, or wait.
- Ignoring the Merchant Advice Code. If the issuer says ten days, an attempt on day three is wasted and counts against you.
- Trusting the card check at trial start. A verified card is not a funded card. Send a reminder before the first charge and plan retries for trial conversions too.
- Writing “insufficient funds” in the email subject. It is visible in notifications and inbox previews.
How do you test an insufficient funds decline?
Stripe’s test card 4000000000009995 returns a card_declined error with the decline code insufficient_funds (also available as pm_card_visa_chargeDeclinedInsufficientFunds). Use it in test mode to check that your checkout shows a clear message, and that your renewal flow sends the email, keeps access open, waits before retrying and retries at once when the card is updated.
How NoChurn helps
NoChurn reads the decline code and history of every failed renewal. For soft declines such as insufficient funds, retries land on likely paydays in the customer’s time zone, inside the days and hours you allow, or you keep your provider’s own retries, such as Stripe Smart Retries. The recovery emails go out on days 0, 3, 7 and 14 by default, each written by AI for that customer and that decline and checked before it leaves; they never show the raw code, and each one links to a hosted card update page with no login. See failed payments.
FAQ
What does decline code 51 mean?
The customer’s bank refused the payment because the account did not have enough funds, or the credit card not enough credit left, for that amount at that moment. Visa words it “Not sufficient funds” and Mastercard “Insufficient funds / over credit limit”. Stripe returns it as insufficient_funds.
Is insufficient funds a soft or a hard decline?
Soft. Braintree and Recurly both class it as soft, and Stripe does not list it among the hard decline codes that Smart Retries will not retry. A later attempt on the same card can succeed.
How many times can you retry an insufficient funds decline?
Visa’s public rules of 24 October 2026 allow up to 20 attempts in 30 days for this category; Braintree’s page says 15 retries over a rolling 30 days. Stripe recommends at most eight. On Mastercard, follow the Merchant Advice Code when the issuer sends one.
Does code 51 mean the customer has no money?
No. It means this charge did not fit at this moment. On a credit card it can be a credit limit, and on a debit card the balance may be back within days. That is why your message should not mention the customer’s funds.
Can a card pass a check at signup and still fail with code 51?
Yes. Under Visa’s rules, from 24 October 2026 an issuer must not answer an Account Verification request with code 51, so a card check without an amount does not test funds. The first real charge is the first time the balance is looked at.
Sources
All accessed 30 November 2026.
- Decline codes, Stripe
- Network decline codes, Stripe
- Card declines, Stripe
- Automate payment retries, Stripe
- Testing, Stripe
- Declines, Braintree
- Refusal reasons, Adyen
- Raw acquirer responses, Adyen (Mastercard Merchant Advice Codes)
- API transaction errors, Recurly
- Visa Core Rules and Visa Product and Service Rules, public edition of 24 October 2026: sections 1.7.2.1, 7.3.6.3 (Table 7-2) and 7.3.10.1