Response Code 12: Invalid transaction
The transaction type is not supported for this card or merchant category.
What Does Code 12 Mean?
Response code 12 indicates that the transaction type specified in the Processing Code (Field 3) is not supported for this card, merchant category, or acquirer configuration. The card itself may be valid and funded, but the specific operation being requested is not allowed.
This is a configuration error, not a cardholder problem. Common scenarios include attempting a refund on a card that was never charged through that processor, or sending a transaction type that the merchant's account is not set up to handle. Retrying the same transaction will always produce the same result.
Why You Should Not Retry
Do not retry. Check your processing code (Field 3) configuration.
Common Causes
- Transaction type (purchase, refund, cash advance) not enabled for this merchant account
- Processing Code (Field 3) misconfigured in the terminal or gateway
- Card product does not support the requested transaction type
- Attempting a refund on a transaction processed through a different acquirer
Network Behavior
The same response code can mean different things depending on the card network. Here is how each network treats Code 12:
Platform Mappings
This code surfaces under different names depending on the payment platform:
| ISO 8583 | 12 - Invalid transaction |
| Stripe | invalid_amount |
Related Decline Codes
See This Code in Action
Watch how response code 12 flows through a complete ISO 8583 authorization lifecycle.
Open Transaction Simulator