Founder deal: 75% off the lifetime licence. Unlimited sites, one payment, every update.See the founder plan
Home / Response code lookup

NMI Response Code Lookup

Look up NMI response_code values by family (100, 200, 300, 400) with a plain meaning and a link to the full guide for each code.

How to read an NMI response code

Every transaction response from the NMI gateway includes response (1 approved, 2 declined, 3 error), a responsetext and a numeric response_code. The code maps the processor result to a short list that NMI publishes. This page lists those documented codes by family. The first digit tells you who to talk to: 1xx approved, 2xx the card issuer, 3xx the gateway, 4xx the processor or your merchant setup. NMI documents the ranges only as a table, so treat the families as a rule of thumb.

Always read the responsetext too, especially for code 300 and 260, where the text carries the real reason. The full explanation of the three fields is in Reading the NMI Transaction Response. NMI for WooCommerce writes the raw code into the order notes, so you can match it here. Codes not listed on this page are not in NMI’s published table, so check with your gateway provider.

100: approved

The only success code.

100 Transaction was approved

The sale or authorization went through (response 1). If the WooCommerce order still failed, see approved but the order failed. If the customer sees two charges, see double charges.

200 family: declined by the processor or issuer

The bank said no. The customer usually has to act.

200 to 204: generic declines

200 declined by processor, 201 do not honor, 202 insufficient funds, 203 over limit, 204 transaction not allowed. When the card is valid but still refused, work through where to look first.

220 to 226: card data problems

220 incorrect payment information, 221 no such card issuer, 222 no card number on file with issuer, 223 expired card, 224 invalid expiration date, 225 invalid card security code, 226 invalid PIN. For 225, see CVV errors with hosted fields.

240 to 253: call the issuer or card flagged

240 call issuer for further information, 250 pick up card, 251 lost card, 252 stolen card, 253 fraudulent card. Do not retry these. Ask the customer to use another card.

260: read the text

260 is declined with further instructions available. The instructions are in responsetext. AVS rules can also cause declines, see AVS settings in the merchant portal.

261 and 262: stop recurring

261 is declined, stop all recurring payments. 262 is declined, stop this recurring program. Read Stop All Recurring Payments declines before you retry any renewal.

263 and 264: update or retry

263 means updated cardholder data is available. 264 means retry in a few days; see handling renewal retries. For failed renewals in general, see renewal failed and token errors.

300 family: rejected by the gateway

The request was refused before it reached the issuer.

300 Transaction was rejected by gateway

A missing or invalid field, bad credentials, permissions or a duplicate can all produce 300. The responsetext tells you which. See response code 300, invalid security key errors and duplicate transaction errors.

301 rate limit

NMI documents a response with the text Rate limit exceeded and code 301 when you send too many requests. Do not retry immediately. If requests fail before a response arrives, see gateway connection errors.

400 family: processor and merchant setup

Usually fixed by your processor or gateway provider, not by WordPress.

400 transaction error returned by processor

A general processor error. Retry once, then contact your processor with the transaction ID.

410 and 411: merchant account

410 invalid merchant configuration, 411 merchant account is inactive. See code 410 and code 411.

420 and 421: communication

420 communication error, 421 communication error with issuer. These are transient. Retry later and check processor status.

430: duplicate at processor

430 is a duplicate transaction at the processor. See duplicate transaction errors.

440 and 441: format

440 processor format error, 441 invalid transaction information. Check order data you send, such as amounts, addresses and line items.

460 and 461: not enabled

460 processor feature not available, 461 unsupported card type. See code 460 and code 461.

Guides for each code family

Deeper pages for the codes you will see most often.

Declines and diagnostics

NMI Processor Response Codes vs Gateway Response Codes

NMI processor response codes come from the issuer or processor. The gateway response code is NMI's own number. Here is how to tell them apart and use both.

Declines and diagnostics

NMI Response Codes 400 to 461: Processor Errors and Merchant Setup Problems

NMI response codes 400 to 461 are processor and merchant setup errors such as 410 and 461. Learn what each means and who fixes it.

Declines and diagnostics

NMI Response Codes 220 to 226: Incorrect Payment Information

NMI response code 225 is Invalid card security code, part of the 220 to 226 group for incorrect payment information. Learn what each means and how to fix it.

Declines and diagnostics

NMI Response Codes 201 to 204: The Issuer Decline Family

NMI response code 201 is Do not honor, part of the 201 to 204 issuer decline family. Here is what each code means and who has to fix it.

Declines and diagnostics

Mastercard Decline Codes and Merchant Advice Codes Explained

Mastercard decline codes come with a Merchant Advice Code: MAC 01 update the card, 02 retry later, 03 stop. Here is how to act on each one.

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.

Declines and diagnostics

Hard Decline vs Soft Decline: When to Retry a Card in WooCommerce

A hard decline will not change on retry and a soft decline might. Here is a working split by NMI response code, with a decision rule for each retry.

Declines and diagnostics

Refer to Card Issuer (Code 01, 02, NMI 240): What It Means

Refer to card issuer (01, 02, NMI 240) means the bank wants to talk to the cardholder before approving. Here is what to tell the customer and when to stop.

Declines and diagnostics

Decline Code 14: Invalid Card Number at NMI Checkout

Decline code 14 means the card number is invalid, usually a typo, not a bank refusal. Here is how to read it in NMI, tell typos from card testing and fix it.

Declines and diagnostics

Decline Codes 61 and 65: Exceeds Withdrawal and Activity Limit

Decline code 61 means the amount is over the card limit, and 65 means too many uses. Both are issuer limits, not low balance. Here is how to recover the sale.

Declines and diagnostics

Decline Code 57: Transaction Not Permitted to Cardholder

Decline code 57 means the bank has not permitted this kind of purchase on the card. In NMI it usually appears as 204. Here is how to tell who must fix it.

Declines and diagnostics

Decline Code 54: Expired Card in WooCommerce and NMI

Decline code 54 means the issuer says the card is expired. In NMI it usually shows as 223 or 224. Here is how to tell a typo from a dead card and what to do.

Declines and diagnostics

Gateway Reject: BIN Number Blacklist Error Explained

A BIN blacklist reject means the gateway refused the card number's first digits under a block rule, before the issuer saw it. Here is how to find the rule.

Declines and diagnostics

CVV2 Failure Decline: Why It Happens and How to Fix It

A CVV2 failure decline means the security code did not pass the check. Here is why it happens, what the customer should do, and when to stop retrying.

Fraud and disputes

CVV Response Codes M, N, P and U: What Each One Means

CVV response codes: M is a match, N a mismatch, P not processed, S not present, U issuer not certified. Here is how to read each and what to do next.

Fraud and disputes

AVS Codes R, U, S and G: Retry, Unavailable and International Cards

AVS codes R, U, S and G mean the address check could not run, not that the address is wrong. Here is how to handle each one, especially international cards.

Fraud and disputes

AVS Codes Y, Z, A and X: Partial Matches and Whether to Ship

AVS Y is a full match, Z is a ZIP-only match and A is an address-only match. Here is when each partial match is safe to ship and when to hold the order.

Fraud and disputes

AVS Code N: No Match on Address and ZIP, and What to Do

AVS code N means neither the billing street number nor the ZIP matched the card issuer's records. It is a result, not a decline, so here is how to decide.

Declines and diagnostics

NMI Plugin Bad Auth Response: Causes and Fixes in WooCommerce

An NMI plugin bad auth response means the gateway refused your credentials, not the card. Check key type, sandbox versus live, permissions and typos.

Declines and diagnostics

Credit Card Return Codes and Bank Response Codes Explained

Credit card return codes come from the issuer, processor and gateway, and the same decline can carry a different number at each layer. Here is how to read them.

Declines and diagnostics

Generic Decline Meaning: Why a Bank Refuses Without Giving a Reason

Generic decline meaning: the issuer refused and gave no reason, often NMI 200 or 201. Here is why it happens and what to do next.

Declines and diagnostics

What Does Declined Mean on a Credit Card? A Plain Guide for Shoppers and Stores

Declined on a credit card means the payment was refused and nothing was charged. Learn hard versus soft declines and what to do next.

Declines and diagnostics

Pick Up Card Decline (04, 07, 41, 43 and NMI 250-253): What to Do

A pick up card decline (04, 07, 41, 43, NMI 250 to 253) is a hard decline: do not retry or ship. Here is what to do next.

Declines and diagnostics

Velocity Exceeded Decline: Why Cards Get Blocked and How to Fix It

A velocity exceeded decline means a rule counted too many attempts or dollars in a window. Learn which rule fired and how to fix it.

Declines and diagnostics

Credit Floor Decline (Code 89, 302) Explained for WooCommerce Stores

A credit floor decline (89 or 302) is a processor rule on minimum amounts, not an NMI code. Here is what it means and how to fix it.

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.

Declines and diagnostics

NMI Do Not Honor Decline (201, 05, 2000): What It Means and What to Do

An NMI do not honor decline (201, often issuer code 05) means the bank refused without a reason. Here is why it happens and the steps to take.

Start free, upgrade when the store needs it.

Install from WordPress.org, connect your gateway, take a real order today.

Download from WordPress.orgSee pricing