Decline Code 51 (Insufficient Funds): What It Means and What to Do
Decline code 51 means the card doesn't have enough money or available credit for this payment. The cardholder can check their available balance, wait for a pending deposit to clear, or pay with another card. Retrying right away won't help.
- Code
- 51
- Name
- Insufficient Funds
- Type
- Soft
- Retry?
- Later, not right away
What does decline code 51 mean?
When a card payment comes in, the issuer, the bank that gave the customer the card, checks whether the account can cover it. For a debit or prepaid card, that is the available balance. For a credit card, it is the available credit. If the payment is bigger than what is available, the bank sends back code 51.
It is one of the clearest declines: the bank is saying exactly what is wrong. It is also a soft decline, because the same card will work once there is enough money or credit.
Why does code 51 happen?
- The balance or available credit is lower than the payment.
- Pending payments and holds, such as hotel, car rental or fuel pre-authorizations, have reduced the available balance.
- A deposit or transfer hasn't cleared yet, so the bank doesn't count it.
- The credit card is at or near its limit.
- A prepaid or gift card has less on it than the total, including taxes or fees.
- A foreign transaction fee or exchange rate pushed the total above what is available.
Code 51 vs code 61
Code 51 means the money or credit isn't there. Code 61, Exceeds Withdrawal Limit, means the money may be there but the payment would go over a daily or per-payment limit on the card. The fixes are different: for 51 the cardholder needs more funds, for 61 they need the limit to reset or be raised.
Your card was declined with code 51: what to do
- Check your available balance or available credit in your banking app, not just the current balance.
- Look for pending payments or holds that are using up part of your balance.
- If you are waiting for a deposit, try again once it has cleared.
- Pay a smaller amount if the purchase allows it, or use another card or payment method.
How merchants should handle code 51
- Don't retry in quick succession. Nothing changes in a few seconds. Repeated attempts only add declines to the card and to your processing record.
- Retry scheduled payments later. For a payment you collect on a schedule, a retry a few days later, after common paydays, has a much better chance than an immediate one.
- Show the full total before the customer pays. Taxes and fees that appear only at the last step are a common reason a payment lands just above the available balance.
- Offer another way to pay. A second card, a digital wallet or a bank payment lets the customer finish the purchase now.
How declines show up in Soap
When a card payment is declined in a Soap checkout:
- The checkout stays open. The customer goes back to the payment form and can try again with another card or another payment method, without starting over.
- You see what the bank said. The decline code and message from the processor are kept on the payment attempt, unchanged. Your team can read them on the payment in the Soap dashboard, through the API, and in the
checkout.failedwebhook if you turn it on. - You can test it first. In Soap's sandbox, a $1.02 payment sends
checkout.failed, so developers can check how their app handles a decline before going live. See the sandbox test data.
Codes and messages differ a little between processors, which is why Soap passes them through as they are instead of translating them. Soap is a payment orchestration platform with 15+ processor relationships, available through one integration.
Other decline codes
- Decline code 05: Do Not Honor
- Decline code 57: Transaction Not Permitted
- Decline code 61: Exceeds Withdrawal Limit
- All common card decline codes, and soft vs hard declines
- Card testing fraud: when a wave of declines is an attack
Frequently asked questions
What does decline code 51 mean?
Code 51 means Insufficient Funds. The bank that issued the card declined the payment because the account doesn't have enough money, or the card doesn't have enough available credit, to cover this amount.
Why does my card say insufficient funds when I have money?
Banks check your available balance, not your current balance. Pending card payments and holds, such as a hotel or fuel pre-authorization, lower the available balance until they clear. A deposit that hasn't cleared yet doesn't count either. Fees or taxes can also push the total above what is available.
Does an insufficient funds decline hurt my credit score?
A declined card payment is not reported to the credit bureaus, so the decline itself doesn't affect your score. Running a credit card at its limit for a long time can, because it raises your credit utilization.
Will I be charged a fee for a declined card payment?
Usually not for a card purchase that was simply declined, but check your bank's terms. Overdraft and returned-payment fees are more common with bank transfers and checks than with card declines.
Is code 51 a soft or hard decline?
Soft. The same card can be approved later, once there is enough money or credit. Retrying a few seconds later won't help, though; something has to change first.
Talk to the Soap team
If declines are costing you sales, talk to the Soap team. We'll look at where your declines come from.