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
| Code | Meaning | Visa category | What the merchant should do |
|---|---|---|---|
| 00 | Approved or completed successfully | ApprovalDo not resubmit | Confirm the order. Do not send the same request again, or you will charge twice. |
| 05 | Do not honour, a generic decline | Category 4 · generic codeUp to 20 attempts in 30 days | The issuer gives no reason. Avoid a burst of retries on the same card; ask the customer to call their bank or use another card. |
| 12 | Invalid transaction | Category 1 · issuer will never approveNever retry with the same card | Check the transaction type, instalment count and currency in the request. Do not retry the same request. |
| 13 | Invalid amount | Category 4 · generic codeUp to 20 attempts in 30 days | Check the amount format and currency, correct them and send a new request. |
| 14 | Invalid card number | Category 1 · issuer will never approveNever retry with the same card | The number was most likely mistyped. Ask for the card details again; do not resend the same number. |
| 15 | No such issuer | Category 1 · issuer will never approveNever retry with the same card | The first digits of the card do not belong to a known issuer. Ask for the card number again. |
| 41 | Lost card | Category 1 · issuer will never approveNever retry with the same card | Stop the order and do not retry the card. Show the customer a generic decline message without details. |
| 43 | Stolen card | Category 1 · issuer will never approveNever retry with the same card | Stop the order and do not retry the card. Show the customer a generic decline message without details. |
| 46 | Closed account | Category 1 · issuer will never approveNever retry with the same card | Ask for another card. For a stored card or a subscription, deactivate it and request a new card. |
| 51 | Insufficient funds or over credit limit | Category 2 · cannot approve at this timeUp to 20 attempts in 30 days | The customer can try another card or try later. For subscriptions, space out retries instead of repeating them the same day. |
| 54 | Expired card or expiry date missing | Category 3 · data qualityAfter fixing the data; up to 20 attempts in 30 days | Ask for the expiry date again. For a stored card, ask the customer for their current card. |
| 55 | Incorrect or missing PIN | Category 3 · data qualityAfter fixing the data; up to 20 attempts in 30 days | At a physical terminal, ask for the PIN once more; do not push repeated attempts. |
| 57 | Transaction not permitted to cardholder | Category 1 · issuer will never approveNever retry with the same card | The 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. |
| 58 | Transaction not permitted to acquirer or terminal | Category 4 · generic codeUp to 20 attempts in 30 days | The problem is in your merchant set-up: ask your acquirer whether this transaction type or instalment option is enabled for you. |
| 59 | Suspected fraud | Category 2 · cannot approve at this timeUp to 20 attempts in 30 days | Review the order and do not force the same card. Show the customer a generic decline message. |
| 61 | Exceeds amount limit | Category 2 · cannot approve at this timeUp to 20 attempts in 30 days | Do not split the amount into smaller charges. Ask the customer to check their limit with the bank or use another card. |
| 62 | Restricted card (for example, invalid in that region or country) | Category 2 · cannot approve at this timeUp to 20 attempts in 30 days | The card is blocked for this channel or country. Ask for another card. |
| 65 | Exceeds frequency or count limit | Category 2 · cannot approve at this timeUp to 20 attempts in 30 days | The card may have hit its daily transaction count; a later retry is allowed. |
| 75 | Allowable number of PIN tries exceeded | Category 2 · cannot approve at this timeUp to 20 attempts in 30 days | The PIN is locked. The customer needs to contact their bank; do not retry. |
| 91 | Issuer or switch inoperative | Category 2 · cannot approve at this timeUp to 20 attempts in 30 days | A temporary problem. Retry shortly or route the payment to another acquirer. |
| 96 | System malfunction | Category 2 · cannot approve at this timeUp to 20 attempts in 30 days | A temporary problem. If the response is unclear, check the transaction status first, then retry or move to a backup acquirer. |
| 1A | Additional customer authentication required | Category 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
- Visa: Visa Core Rules and Visa Product and Service Rules, 24 October 2026 (Table 7-2, Decline Response Code Use)
- Visa: Updates to Rules for Declined Transaction Resubmission and Use of Authorization Response Codes (2020)
- Mastercard Developers: Network Response Codes (DE 39)
- Mastercard Developers: Decline Details: Merchant Advice Codes
- TD Merchant Solutions: Excessive Transaction Attempts, PCN Compliance Integrity Fees and Advice Decline Fees