paymentswithpaul_

Decline code · Hard decline

Decline code 12: Invalid Transaction

The issuer considers the transaction itself malformed or impermissible, independent of the account's standing. Something about the transaction type, its structure, or its context is not allowed, such as a refund attempted against a card that cannot accept one or a transaction type the card does not support.

Should you retry?

Resubmitting the identical message will fail identically, so do not simply retry. Fix the transaction construction or reference first; a corrected submission is a new transaction, not a retry, and can be sent immediately. Visa classifies 12 as a Category 1 code for reattempt purposes, so unchanged retries also carry compliance exposure.

Why code 12 happens

What to do about it

Frequently asked questions

What causes an invalid transaction decline code 12?
The issuer rejected the transaction's type or structure, not the account. Common causes are refunds or captures referencing the wrong original transaction, unsupported transaction types for that card product, or gateway configuration errors.
Can the customer fix a code 12 decline?
Rarely. This code almost always points at how the merchant or gateway built the transaction. Trying a different card sometimes works if the issue is card-product support, but the durable fix is on the processing side.

Related decline codes