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

Credit card decline codes: what each one means, and what to tell the customer

Roughly a third of declines can be recovered at the checkout. The rest cannot. Reading the code is what separates the two.

A decline is a one line answer to a question the customer bank was asked. The useful part is not that the payment failed, but which of the roughly forty possible reasons applied, because about a third of them are recoverable at checkout and the rest are not.

Who actually declined it

Three parties can stop a payment, and they produce different codes.

  • The issuing bank. Most declines. Nothing on your side caused it, and nobody at your processor can overturn it.
  • The processor or gateway. Formatting problems, invalid credentials, unsupported currency, duplicate transaction, velocity rules.
  • Your own rules. Fraud filters, AVS mismatch rejection, country blocks.

The declines you can recover

ReasonWhat to show the customer
Insufficient fundsAsk them to try another card. Retrying the same card later works surprisingly often, which is why dunning exists.
Incorrect number, expiry or CVVAsk them to check the field named. Do not say declined, say check the security code.
Do not honourGeneric issuer refusal. Ask for another card, or ask them to call the number on the back.
Card not supported for this transaction typeCommon with prepaid and some debit cards on recurring billing. Offer a different method.
Suspected fraudThe bank blocked it. Only the cardholder can clear it, usually by approving a push notification.

The declines that are yours to fix

  • Invalid merchant credentials. Wrong API key, wrong environment, or a key rotated in the gateway and not in the store.
  • Transaction not permitted. The MID is not enabled for that transaction type, for example ACH, recurring, or a currency you have not been approved for.
  • Duplicate transaction. The same amount, same card, within a short window. Usually a double submit on your checkout, not a customer error.
  • Invalid amount. Zero, negative, or too many decimal places. Nearly always a currency formatting bug.
  • Velocity exceeded. Your own fraud rule fired. Check the threshold before assuming a card problem.

Soft and hard declines, and why the difference matters

A soft decline is temporary: insufficient funds, issuer unavailable, a limit hit for today. Retrying later can work, and the card networks permit a limited number of retries.

A hard decline is permanent: stolen card, closed account, pick up card. Retrying a hard decline is not just useless, it can attract network fines under the excessive retry rules. Any dunning routine you build must read the code and stop on a hard decline.

What to write in your checkout messages

Never show the raw gateway text to a shopper. It is written for a terminal in 1994. Map it instead:

  • Wrong CVV becomes: The security code did not match. Check the three digits on the back and try again.
  • Insufficient funds becomes: Your bank declined the payment. Try another card, or contact your bank.
  • Do not honour becomes: Your bank declined the payment and did not say why. Trying a different card usually works.
  • Fraud suspicion becomes the same message as above. Never tell a shopper that fraud was suspected. If they are a genuine customer it is insulting, and if they are not you are teaching them your rules.

Measuring the right thing

Track the decline rate as a share of attempts, split by reason, weekly. A healthy card not present store sits somewhere between five and twelve percent. A sudden jump in one reason code is the signal worth chasing. Three patterns are common:

  • A spike in invalid card number attempts across many small amounts is card testing. Add velocity limits and a CAPTCHA on the checkout.
  • A spike in do not honour on one BIN range usually means an issuer changed its risk model. Nothing to fix, it settles.
  • A spike in transaction not permitted after a deploy means credentials or a gateway setting changed.

Where to look inside WooCommerce

Order notes carry the gateway response for each attempt, including the code and the AVS and CVV results. When the response is missing entirely, the request never reached the gateway, which points at the checkout, a plugin conflict, or an outbound connection problem rather than at the card. The troubleshooting guide covers reading those notes step by step.

One habit is worth building: when a customer emails about a failed payment, find the order note before replying. Ninety percent of the time it names the cause in one line, and you can answer with something specific rather than asking them to try again.

Quick reference: common issuer decline codes

These two-digit codes come from the card issuer and card network (ISO 8583 style values). NMI itself returns a 2xx response_code, but the processor text can include the issuer code. Wording and exact numbers vary by processor and card network, so check your processor’s code list.

CodeUsual meaningSoft or hardWhat the merchant does
05Do not honorSoft, usuallyLet the customer retry once or call the bank; offer another card
51Insufficient fundsSoftAsk for another card or a later retry
54Expired cardSoftAsk for the new expiry or a new card
57Transaction not permitted to cardholderHard until the bank changes itCustomer asks the bank to allow online use or this transaction type
61Exceeds withdrawal amount limitSoftLower or split the amount, or try another card
65Exceeds withdrawal frequency limitSoftWait a day or use another card
14Invalid card numberHard until correctedAsk the customer to re-enter the number
41Lost card, pick upHardDo not retry; ask for another card
43Stolen card, pick upHardDo not retry; ask for another card
01Refer to card issuerSoftCustomer calls the number on the card
02Refer to card issuer, special conditionSoftCustomer calls the bank
04Pick up cardHardDo not retry; ask for another card
07Pick up card, special conditionHardDo not retry; review the order
62Restricted cardHard, usuallyCustomer contacts the bank; offer another method
78No account or blocked (wording varies)Hard, usuallyDo not retry; ask for another card

NMI 2xx codes at a glance

NMI groups issuer and processor declines in the 2xx range of its response_code table. These are the official labels. The pairing with issuer codes is only “usually” and depends on the processor. Deeper detail is in the guides on codes 201 to 204 and codes 220 to 226.

NMI codeOfficial wordingUsually lines up with
200Transaction was declined by processor.Generic decline
201Do not honor.Issuer 05
202Insufficient funds.Issuer 51
203Over limit.Issuer 61 or 65 family
204Transaction not allowed.Varies by processor
220 to 226Incorrect payment information; no such card issuer; no card number on file with issuer; expired card (223); invalid expiration date (224); invalid card security code (225); invalid PIN (226).223 with issuer 54; 225 with a CVV failure
240Call issuer for further information.Issuer 01 or 02
250 to 253Pick up card; lost card; stolen card; fraudulent card.Issuer 04, 07, 41, 43 family
260 to 264Declined with further instructions available (see response text); stop all recurring payments; stop this recurring program; update cardholder data available; retry in a few days.Processor advice codes

Soft vs hard decline in one minute

A soft decline says “not now”: the same card might work later or after the customer fixes something. Typical examples are insufficient funds, a limit, a generic do not honor and an expiry date the customer can correct. A hard decline says “not this card”: lost, stolen, pick up, restricted, invalid number or a closed account.

A simple rule for retries: retry a soft decline once, after the customer changes something (amount, card, details) or after a pause. Never retry a hard decline. Never retry a pick up or fraud-flavored code at all, because repeated attempts add to your decline rate and can draw the issuer’s attention.

For subscriptions, NMI 261 and 262 say to stop recurring charges, and 264 says to retry in a few days. Confirm with your processor how it treats each one. The full retry playbook for WooCommerce is in the guide list below.

Decline code questions

Short answers to what people search most.

What does decline mean in credit card terms?
The bank or processor refused the charge, so no money was authorized. The cause is not always the card: it can be funds, a limit, a security check or a rule on your side. The plain guide in the list above covers the full picture.
What does do not honor mean?
A generic refusal from the issuer, usually shown as 05 at the bank and 201 in NMI. The bank gives no specific reason, so the customer should call it or use another card.
What does decline code 51 mean?
Insufficient funds or available credit. NMI 202 usually corresponds to it. Retrying right away rarely helps; ask for another card or a later attempt.
What is a credit floor or velocity decline?
Both are processor-specific rules, not standard network codes. A credit floor decline relates to a minimum credit or balance rule, and velocity means too many attempts or too much volume in a time window. Ask your processor or reseller how it labels them.
Where do I see these codes in WooCommerce?
With the NMIWP plugin, the raw gateway response is stored in the order notes, including the response code, on the Free plan. Issuer text varies by processor, so read the full note rather than the number alone.
NMI for WooCommerce

See exactly why a payment failed.

Every attempt writes the gateway response, AVS and CVV result into the WooCommerce order notes.

Read the troubleshooting guideSee pricing

Free on WordPress.org. Pro from $49 per year, lifetime from $149.