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

Visa Decline Codes Explained for Online Merchants

Visa decline codes tell you whether the bank will never approve, cannot approve now, or saw bad data. Here is how to read them and when to stop retrying.

Visa decline codes are two-digit response values that the issuing bank sends back through Visa’s network, and Visa groups the important ones into four categories that tell you whether to retry. Your NMI gateway does not show those two-digit values as its own response code. It returns a 2xx response_code, and the processor text may carry the Visa value.

What Visa decline codes mean

When a Visa card is declined, the issuer answers with a code such as 05, 51, 54 or 57. The code says why the bank refused. Wording and exact numbers vary by processor and card network, so check your processor’s code list before you build rules on them.

Two things matter more than the number: is the decline permanent or temporary, and is the fix on your side or the cardholder’s side. The general layers are covered in the main decline codes guide. This post goes deep on how Visa sorts them.

The four Visa decline categories

Visa’s published decline guidance, which acquirers pass down to merchants, sorts reasons into four buckets. Treat the labels below as a working model and confirm the current rules and retry limits with your acquirer.

  1. Category 1, issuer will never approve. Examples: lost card, stolen card, pick up card, invalid account. Do not retry the same card. See pick up card declines.
  2. Category 2, cannot approve at this time. Examples: insufficient funds, over a limit, issuer unavailable. A later retry can work. See code 51 insufficient funds.
  3. Category 3, data quality. Examples: wrong expiry, wrong card number, wrong security code. Correct the data first, then retry. See code 54 expired card.
  4. Category 4, generic. The bank refused with no useful reason, usually 05 do not honor. See NMI do not honor.

Visa has also set limits on how many times a merchant may re-submit a declined card in a given period for categories 2 to 4, and it expects no retries for category 1. The exact numbers and fees change, so ask your acquirer for the current figure rather than copying one from a blog.

Common Visa codes and the usual NMI match

  • 05 do not honor, usually NMI 201 Do not honor.
  • 51 insufficient funds, usually NMI 202 Insufficient funds.
  • 54 expired card, usually NMI 223 Expired card.
  • 57 transaction not permitted to cardholder, often shown as NMI 204 Transaction not allowed, but it depends on the processor. See code 57.
  • 61 and 65, the limit family, usually NMI 203 Over limit.
  • 41 and 43, lost and stolen, usually the NMI 250 to 253 family.

“Usually” is deliberate. The mapping depends on the processor, and some processors collapse several issuer values into one gateway code. Read the processor text in the order note, not just the numeric code.

Visa debit card declined codes

Visa debit cards use the same code set, but the reasons skew differently. Insufficient funds is far more common because the money comes straight from a checking account. Daily spending limits and online-use restrictions also show up as 61, 65 or 57. A debit decline that works on a second attempt a day later is typically a limit that reset.

Decision rule: retry or stop

  1. Read the processor text in the WooCommerce order note.
  2. Category 1 value (lost, stolen, pick up, invalid account): stop. Ask for a different card.
  3. Data error (expiry, number, CVV): show a field-specific message and let the customer fix it now.
  4. Funds or limit: offer another card, or one scheduled retry a few days later for subscriptions.
  5. 05 or unknown: one retry at most, then ask for another card. See hard versus soft declines.

Never loop retries on a timer. Repeated retries on a hard decline can draw network fees.

What to tell the customer

Your bank declined this payment and did not tell us why. Please try a different card, or call the number on the back of your card to ask them to approve it.

When to call the bank or your provider

The cardholder calls the bank for any issuer refusal. You call your processor or reseller when the same Visa value appears across many different customers, which points at your merchant setup, or when codes such as 89, 93, 302 or 1500 appear, because those are processor-specific.

How NMIWP helps

NMI for WooCommerce writes the gateway response, AVS and CVV results and the raw response code into the order notes, so you can see which category a decline falls into without opening the gateway. That is in the free plugin. It cannot change what the issuer decided. For a wider view of the number families, see credit card return codes and the NMI response code lookup.

Quick answers

What are Visa category 1 decline codes?

Reasons where the issuer will not approve the card at all, such as lost, stolen or invalid account. Do not retry them.

Are Visa declined codes the same as NMI response codes?

No. NMI returns a 2xx response code, while the two-digit Visa value is an issuer or processor value that may appear in the text.

Why does a Visa debit card fail when the balance is fine?

Usually a daily limit, a restriction on online or card-not-present use, or a bank fraud rule. The cardholder has to ask the bank.

How many times can I retry a declined Visa card?

It depends on the category and current Visa rules. Ask your acquirer for the present limit.

More in this series: Mastercard Decline Codes and Merchant Advice Codes Explained | NMI Processor Response Codes vs Gateway Response Codes | NMI Response Codes 400 to 461: Processor Errors and Merchant Setup Problems

Last reviewed November 2026.

NMI for WooCommerce

See why each payment declined

The free plugin writes the gateway response and raw code into every WooCommerce order note.

See pricing

Free on WordPress.org. Pro adds more payment methods.