Decline code · Hard decline
Decline code 58: Transaction Not Permitted to Terminal
The mirror image of code 57: here the restriction sits on the merchant side. Your terminal, MID, or acquirer is not authorized to perform this transaction type. The issuer looked at where the request came from and what it asked for, and concluded that this merchant setup is not entitled to ask.
Should you retry?
Retrying changes nothing while the capability gap exists, and the response is deterministic for that transaction type on that MID. Once the acquirer enables the capability or you correct the transaction flags, new submissions flow normally.
Why code 58 happens
- Your merchant account is not enabled for the transaction type you sent, such as ecommerce transactions on a card-present-only MID or recurring flags on a one-time account.
- The MID lacks the capability for the card brand or product presented, for example corporate purchasing cards requiring enhanced data support.
- Acquirer configuration prohibits the currency, region, or channel of the attempted transaction.
- A gateway is sending POS entry mode or channel indicators inconsistent with what the MID is boarded for.
What to do about it
- Compare what your MID is boarded to do against what your gateway actually sends: channel indicators, recurring flags, currency, and entry mode.
- Call your acquirer and ask precisely which capability the declined transaction type requires; boarding fixes are often same-week.
- If only certain card products fail, ask whether your account needs enablement for those programs rather than assuming customer problems.
- After any migration between gateways or acquirers, regression-test each transaction type you rely on, since 58 outbreaks commonly follow migrations.
Frequently asked questions
- What is the difference between decline codes 57 and 58?
- Code 57 means the cardholder's card is not allowed to make this type of transaction. Code 58 means your merchant setup is not allowed to accept it. One restricts the payer, the other restricts the payee.
- How do I fix recurring payments failing with code 58?
- Your MID is likely not boarded for recurring or stored-credential transactions. Contact your acquirer to enable the capability, and meanwhile ensure your routing does not send rebills through MIDs that lack it.
Related decline codes