Free tool

Card decline codes: look up a response code

When a bank declines a card payment, the response carries a two-digit code such as 05, 51 or 14. Type the code here to see what it means, which Visa reattempt category it falls into and what to do next as a merchant. Below you will find the full table, the difference between hard and soft declines and what to tell the customer.

Type the code from your acquirer's response. If it arrives as four digits, such as 0051, you can leave out the leading zeros.

Type a code and the result appears here.

All codes

CodeMeaningVisa categoryWhat the merchant should do
00Approved or completed successfullyApprovalDo not resubmitConfirm the order. Do not send the same request again, or you will charge twice.
05Do not honour, a generic declineCategory 4 · generic codeUp to 20 attempts in 30 daysThe issuer gives no reason. Avoid a burst of retries on the same card; ask the customer to call their bank or use another card.
12Invalid transactionCategory 1 · issuer will never approveNever retry with the same cardCheck the transaction type, instalment count and currency in the request. Do not retry the same request.
13Invalid amountCategory 4 · generic codeUp to 20 attempts in 30 daysCheck the amount format and currency, correct them and send a new request.
14Invalid card numberCategory 1 · issuer will never approveNever retry with the same cardThe number was most likely mistyped. Ask for the card details again; do not resend the same number.
15No such issuerCategory 1 · issuer will never approveNever retry with the same cardThe first digits of the card do not belong to a known issuer. Ask for the card number again.
41Lost cardCategory 1 · issuer will never approveNever retry with the same cardStop the order and do not retry the card. Show the customer a generic decline message without details.
43Stolen cardCategory 1 · issuer will never approveNever retry with the same cardStop the order and do not retry the card. Show the customer a generic decline message without details.
46Closed accountCategory 1 · issuer will never approveNever retry with the same cardAsk for another card. For a stored card or a subscription, deactivate it and request a new card.
51Insufficient funds or over credit limitCategory 2 · cannot approve at this timeUp to 20 attempts in 30 daysThe customer can try another card or try later. For subscriptions, space out retries instead of repeating them the same day.
54Expired card or expiry date missingCategory 3 · data qualityAfter fixing the data; up to 20 attempts in 30 daysAsk for the expiry date again. For a stored card, ask the customer for their current card.
55Incorrect or missing PINCategory 3 · data qualityAfter fixing the data; up to 20 attempts in 30 daysAt a physical terminal, ask for the PIN once more; do not push repeated attempts.
57Transaction not permitted to cardholderCategory 1 · issuer will never approveNever retry with the same cardThe card is closed to this kind of transaction, such as online or cross-border use. The customer can ask the bank to enable it or use another card.
58Transaction not permitted to acquirer or terminalCategory 4 · generic codeUp to 20 attempts in 30 daysThe problem is in your merchant set-up: ask your acquirer whether this transaction type or instalment option is enabled for you.
59Suspected fraudCategory 2 · cannot approve at this timeUp to 20 attempts in 30 daysReview the order and do not force the same card. Show the customer a generic decline message.
61Exceeds amount limitCategory 2 · cannot approve at this timeUp to 20 attempts in 30 daysDo not split the amount into smaller charges. Ask the customer to check their limit with the bank or use another card.
62Restricted card (for example, invalid in that region or country)Category 2 · cannot approve at this timeUp to 20 attempts in 30 daysThe card is blocked for this channel or country. Ask for another card.
65Exceeds frequency or count limitCategory 2 · cannot approve at this timeUp to 20 attempts in 30 daysThe card may have hit its daily transaction count; a later retry is allowed.
75Allowable number of PIN tries exceededCategory 2 · cannot approve at this timeUp to 20 attempts in 30 daysThe PIN is locked. The customer needs to contact their bank; do not retry.
91Issuer or switch inoperativeCategory 2 · cannot approve at this timeUp to 20 attempts in 30 daysA temporary problem. Retry shortly or route the payment to another acquirer.
96System malfunctionCategory 2 · cannot approve at this timeUp to 20 attempts in 30 daysA temporary problem. If the response is unclear, check the transaction status first, then retry or move to a backup acquirer.
1AAdditional customer authentication requiredCategory 3 · data qualityAfter fixing the data; up to 20 attempts in 30 daysVisa treats this code as Category 3 in the CEMEA and Europe regions only.Restart the payment with 3D Secure, that is, with strong customer authentication.

Where does a decline code come from?

In a card payment, the issuing bank approves or declines. Its decision travels over the card network to the acquirer and back to your payment page as a two-digit code. The code sits in field 39 of the ISO 8583 message standard; Mastercard calls the same field DE 39. 00 means approved, and most of the others name a reason for a decline.

Meanings are largely shared across networks, but not identical. Code 65 is a good example: Mastercard defines it as exceeding the withdrawal count limit, Visa as exceeding the frequency limit. Some acquirers pad the code to four digits and return 0051 instead of 51; the meaning stays the same. If your acquirer publishes its own code table, that table has the last word.

What you do with the code matters as much as the code itself. Sending the same decline again and again on the same card does not bring an approval, and it runs into card network rules. That is why the table below shows the reattempt rule for every code.

Hard and soft declines: Visa's four categories

Visa's rules sort decline codes into four categories and say, for each one, how far a merchant may retry with the same card. Category 1 means the issuer will never approve: lost or stolen card (41, 43), closed account (46), invalid card number (14), invalid transaction (12) and a transaction not permitted to the cardholder (57). After these codes, no new authorisation request goes out with the same payment credential.

Category 2 means the issuer cannot approve at this time: insufficient funds (51), suspected fraud (59), limits exceeded (61, 65), restricted card (62), PIN tries exceeded (75) and the issuer or system being down (91, 96). Category 3 is data quality: expiry date (54), PIN (55) and, in the CEMEA and Europe regions, additional customer authentication (1A). Every code the table does not name, 05 included, is Category 4, a generic code.

For Categories 2, 3 and 4 Visa allows up to 20 reattempts in 30 days. The rules that took effect in 2021 set the limit at 15, so check the current rulebook rather than an old summary. Attempts beyond the limit, or any attempt after a Category 1 code, can come back to the merchant as extra fees.

Mastercard Merchant Advice Codes

Alongside a decline, Mastercard often sends a Merchant Advice Code (MAC). It tells you more plainly than the decline code what to do:

MAC 01
New account information available: get the updated card details, then retry.
MAC 02
Cannot approve at this time, try again later.
MAC 03
Do not try again.
MAC 04
Token requirements not fulfilled for this token type.
MAC 21
Payment cancellation: the cardholder stopped the recurring payment, do not retry.
MAC 24–30
Retry after a set time: 1 hour, 24 hours, or 2, 4, 6, 8 or 10 days.

If code 51 arrives together with MAC 03, the advice code wins: do not retry with those card details.

What should you tell the customer?

A decline message should help the customer take the next step, not repeat the issuer's reason word for word. For codes such as lost card, stolen card or suspected fraud (41, 43, 59), spelling out the reason upsets a genuine customer and helps anyone testing a stolen card. A generic line works: "Your bank did not approve this payment. You can try another card or contact your bank."

For data quality codes (14, 54, 55), tell the customer what to fix: ask them to re-enter the card number or the expiry date. For insufficient funds (51) and limits (61, 65), offering another card or another payment method is the most useful step. For temporary errors such as 91 and 96, you can invite the customer to try once more straight away.

What Lunixi does with these codes

After every decline Lunixi makes one of three decisions: no retry, retry on the same provider, or move to a different provider. Hard declines are not sent to another bank; soft declines cascade to the next acquirer before the 3D Secure step. When an outcome is unclear, the status is checked with the same provider first, so there is no double charge. Subscriptions follow the same split: permanent and soft declines are classified separately and retries are spaced out.

Frequently asked questions

What does decline code 05 mean?
05 means "do not honour": the issuer declined the payment without giving a reason. Visa's table does not name it, so it counts as a generic code (Category 4), with up to 20 reattempts in 30 days. In practice, asking the customer for another card works better than retrying the same card in a row.
What does decline code 51 mean?
51 means there are not enough funds or available credit on the card. Visa places it in Category 2, "cannot approve at this time", so a later retry is allowed. The customer can pay with another card; for subscriptions, space retries a few days apart rather than repeating them the same day.
What does decline code 14 mean?
14 means an invalid card number: no such number exists. Most of the time the customer mistyped it. Visa places it in Category 1, so the same number is not retried; ask the customer to enter the card details again.
Which decline codes must never be retried?
Visa's Category 1 codes: 04, 07, 12, 14, 15, 41, 43, 46 and 57, plus R0, R1 and R3. After these, no new authorisation or account verification request goes out with the same payment credential. With Mastercard, a Merchant Advice Code of 03 or 21 alongside the decline tells you not to retry.
Are decline codes the same at every bank?
Largely yes, because they come from field 39 of ISO 8583 and the card networks use the same field. Details can differ: some acquirers pad the code to four digits such as 0051, some add their own codes, and the definition of some codes, such as 65, varies by network. Your acquirer's code table is the final reference.

Sources

  1. Visa: Visa Core Rules and Visa Product and Service Rules, 24 October 2026 (Table 7-2, Decline Response Code Use)
  2. Visa: Updates to Rules for Declined Transaction Resubmission and Use of Authorization Response Codes (2020)
  3. Mastercard Developers: Network Response Codes (DE 39)
  4. Mastercard Developers: Decline Details: Merchant Advice Codes
  5. TD Merchant Solutions: Excessive Transaction Attempts, PCN Compliance Integrity Fees and Advice Decline Fees