Founder deal: 75% off the lifetime licence. Unlimited sites, one payment, every update.See the founder plan
Home / Blog / Declines and diagnostics

Decline Code 51 Insufficient Funds in NMI: What to Tell the Customer

Decline code 51 means insufficient funds: NMI shows 202. Here is why it happens, what to tell the customer, and when to retry or stop.

Decline code 51 insufficient funds means the cardholder’s available balance or credit was too low for the purchase, so the issuer refused it. In NMI the matching gateway value is response_code 202, official wording “Insufficient funds.” Issuer code 51 usually corresponds to it, but that depends on the processor. It is one of the few declines a customer can fix on their own.

What it means

The issuer checked the account and the amount did not fit. For a debit card it is the account balance. For a credit card it is the open-to-buy amount, which includes pending authorizations that have not yet cleared. The card itself is valid, which is why you often see this decline on a card that worked yesterday.

NMI returns the 2xx response_code; the processor text may include the issuer number. People searching for “declined – 51”, “host code 51” or “declined-051” are looking at processor text that carries issuer code 51. Formats vary by processor and card network, so check your processor’s code list. For the wider map of declines, see credit card decline codes explained.

Why it happens

  1. The balance or available credit is simply lower than the order total.
  2. Pending holds are consuming the limit: hotel, fuel, or earlier authorizations that have not dropped off.
  3. A debit card linked to a checking account that has not received a deposit yet.
  4. A daily or per-transaction spending limit set by the bank. Some issuers report that with a different code, or as the generic refusal described in NMI do not honor decline.
  5. Shipping or tax pushed the total above what the customer expected to pay.

What to do

  1. Confirm in the order notes that the response is 202 or carries issuer 51, and not a generic 201 or an AVS failure.
  2. Show a neutral message. “Your bank declined this payment” is enough; naming the balance on a public checkout screen embarrasses the buyer and is not always accurate.
  3. Offer another card or a different method. ACH is a Pro feature in NMIWP and needs to be enabled on your account by your processor.
  4. For large orders, offer to take part now and the rest later, through a deposit or pay-for-order link.
  5. Do not hammer the same card. One retry after the customer confirms funds is reasonable.

A sentence you can send:

Your bank declined this payment, which usually means the card did not have enough available balance right now. You have not been charged. You can try another card, or try this one again once funds are available.

Fix, retry or stop: a decision rule

Treat 202 as a soft decline. Use the order total and the customer type to decide:

  • One-time order, customer present: ask for another card now.
  • One-time order, customer gone: send one reminder email with the pay link after 24 to 48 hours, not more.
  • Subscription renewal: retry on a schedule spread over several days, ideally close to common paydays, and stop after your cap. See the dunning playbook.
  • Same card returns 202 three times in a week: stop and ask for a new payment method.

Retry limits are set by card network rules and your processor; confirm them with your processor.

When to call the bank or your provider

The customer should call their bank if they believe the funds were there; the issuer is the only party that can see why. Call your gateway provider or reseller only when 202 appears at an implausible rate across many customers, or when the order notes show a different code than the one the customer reports. If you are unsure who supports what, read gateway, processor and merchant account.

How NMIWP helps

NMI for WooCommerce writes the raw response code, authorization code, transaction ID and AVS and CVV results into the order notes on the Free plan, so you can tell 202 from 201 in seconds. For subscriptions, Enterprise renewals can retry on soft declines. It cannot change the issuer’s answer. Use the response code lookup and NMI gateway response codes for the neighbors of this code.

Quick answers

What does declined code 51 mean?

Issuer code 51 is insufficient funds: the account could not cover the amount.

Is decline code 51 meaning the same as NMI 202?

Usually, depending on the processor. NMI reports 202; 51 is the issuer-side number in processor text.

Does the customer’s bank know why?

Yes. The issuer can see the balance, holds and limits; you cannot.

Will the same card work later?

Often, after a deposit or after pending holds clear. That is why insufficient funds is treated as a soft decline.

Running NMI on WooCommerce? Free covers the basics and Pro adds the paid features. Compare Free and Pro.

More in this series: Decline Code 14: Invalid Card Number at NMI Checkout | Decline Code 57: Transaction Not Permitted to Cardholder | Decline Code 54: Expired Card in WooCommerce and NMI

Last reviewed November 2026.

Keep reading

NMI for WooCommerce

Read declines right on the order

Response codes, AVS and CVV are saved in order notes so you can tell the decline type quickly.

See pricing

Free on WordPress.org. Enterprise adds renewal retries.