Card decline codes explained: what 05, 51, 57, 58, 59 and others mean

Updated 2026-11-23 · by Bob, payments QA engineer

When a card payment is declined, the issuing bank returns a two-character response code (ISO 8583 field 39). Payment gateways often translate it into text such as "Do Not Honor" or "insufficient_funds". The code tells you who must act: the customer, the merchant, or nobody until later.

Look up any code in the decline code lookup. To reproduce declines in a sandbox, use test cards.

Soft vs hard declines

The most common codes

CodeMeaningTypeWhat to do
05Do Not HonorSoft / unclearGeneric refusal from the issuer. Ask the customer to contact the bank or use another card.
51Insufficient fundsSoftCustomer needs funds or another card. Retry later is allowed within scheme rules.
54Expired cardHardAsk for updated card details; check the expiry date sent.
55Incorrect PINSoftCustomer re-enters the PIN.
57Transaction not permitted to cardholderHardThe card does not allow this type of purchase (for example, online, foreign or a blocked MCC).
58Transaction not permitted to terminalHard (merchant side)Merchant/terminal setup problem: check the MID, MCC or transaction type with the acquirer.
59Suspected fraudHardDo not retry. The customer should confirm the payment with the bank.
61Exceeds withdrawal amount limitSoftLower amount, or the customer raises the limit.
62Restricted cardHardRegion or usage restriction. Use another card.
65Exceeds frequency limit (in Europe often "SCA required")SoftRetry with 3-D Secure authentication.
91Issuer or switch unavailableSoftTechnical; retry after a short delay.
93Transaction cannot be completed, violation of lawHardLegal or compliance block. Do not retry.
14Invalid card numberHardCheck the PAN; validate it with the Luhn check before sending.
41 / 43Lost / stolen cardHardNever retry. Treat the attempt as a fraud signal.

Code 05 "Do Not Honor": why it is so common

05 is the issuer's catch-all. Banks use it when they do not want to give the real reason: fraud rules, unusual country, blocked merchant category, or a card that is not enabled for online payments. From the merchant side you usually cannot tell which. Good practice:

57 vs 58: cardholder or terminal?

Both mean "not permitted", but on different sides. 57 is about the card: the issuer does not allow this kind of transaction for this cardholder. 58 is about the merchant: the acquirer or terminal is not set up for it, for example a wrong MCC, a currency that is not enabled, or a MOTO transaction on an e-commerce MID. If you see many 58s, check your merchant configuration, not the customers.

Gateway names vs ISO codes

Gateways map ISO codes to their own names. For example, Stripe returns do_not_honor, insufficient_funds, card_velocity_exceeded, transaction_not_allowed or fraudulent. The lookup tool covers both ISO codes and common gateway names such as do_not_honor and insufficient_funds.

Retry rules in short

Testing declines

Sandbox environments trigger declines with special card numbers or amounts. For example, Stripe's 4000 0000 0000 9995 returns insufficient funds, and Braintree declines amounts between 2000.00 and 2999.99 with a processor code equal to the amount. See the test card numbers guide.

FAQ

Can the merchant see the real reason behind 05?

Usually not. Only the issuer knows; the customer can ask the bank.

Is a decline the same as a chargeback?

No. A decline happens before the payment is approved. A chargeback is a dispute after a successful payment; see chargeback reason codes.

← All guides