---
description: Learn what Visa issuer response code 12 (Invalid transaction) means, common technical causes, and how merchants can resolve payment processing issues.
title: Decline Code 12: Invalid Transaction
image: https://cdn.smartretry.com/cdn-cgi/image/width=1200,height=630,quality=85,fit=cover/https%3A%2F%2Fcdn.smartretry.com%2Fuploads%2F2026%2F10%2Fog-decline-code-visa-issuer-response-code-12.png
---

VI

Visa, Mastercard

# Decline Code 12: Invalid Transaction

hard decline

Last updated: November 20, 2026

## Still letting failed transactions slip through?

SmartRetry turns declines into approvals - automatically, intelligently, and without changing your payment provider.

Table of Contents

## Key details

Brand

Visa, Mastercard

Code

12

Category

Issuer Response Codes

Response

12

Detailed Response

Invalid transaction

hard decline

## Code by card network

| Network    | Code | Official wording    |
| ---------- | ---- | ------------------- |
| Visa       | 12   | Invalid transaction |
| Mastercard | 12   | Invalid transaction |
| Diners     | 12   | Invalid transaction |
| Discover   | 12   | Invalid transaction |
| Maestro    | 12   | Invalid transaction |
| V Pay      | 12   | Invalid transaction |

This transaction is not retriable

Payments failing with code 12 are hard declines and typically cannot be recovered by retrying. SmartRetry still helps you avoid future hard declines with smarter routing and validation.

But many other declines in your payment flow may still be recoverable. SmartRetry identifies which failed transactions have recovery potential and applies the right strategy to recover them.

[Find out what you can recover \>](/pricing)

## What it means

Decline code 12 means the same on Visa and Mastercard. Visa and Mastercard both call it "Invalid transaction". Visa response code 12 indicates an 'Invalid transaction.' This error occurs when the issuing bank or payment network rejects the transaction request because it contains invalid parameters or represents an operation not permitted for the card or merchant setup.

## Why does code 12 occur?

* The transaction request contains missing, malformed, or conflicting data fields.
* The cardholder's account is restricted from performing this specific type of transaction.
* The merchant account is attempting an operation or currency not supported by the issuing bank.

## How to solve 12?

Examine your gateway and processor logs to verify the format and contents of the authorization request. Ensure that all mandatory transaction fields, currency codes, and processing indicators comply with Visa network rules. If the technical request is valid, advise the cardholder to use a different card or check with their issuing bank.

### Solving as a merchant

Verify that your payment integration is sending properly formatted authorization requests and that your merchant account supports the attempted payment type. If the payload is correct, prompt the customer for an alternative payment method.

### Solving as a client

Contact your card-issuing bank to verify if your card has restrictions against this type of transaction, or use an alternative payment card to complete the purchase.

💡 Tip from SmartRetry Suppress immediate automated retries on code 12, as resubmitting identical payloads will consistently fail. Instead, verify whether the decline stems from acquirer-level terminal or currency restrictions, then conditionally reroute through an alternative processing pathway that supports the transaction configuration.

[See the full list of Visa, Mastercard's decline codes \>](/payment-providers/visa#statuses)

### Frequently asked questions about this topic

What does Visa response code 12 mean?

Visa response code 12 indicates an invalid transaction, meaning the card issuer or network declined the request due to unacceptable transaction data or an unsupported operation.

Can I automatically retry a transaction with code 12?

No. Retrying an identical request without fixing the underlying parameter error will result in the same decline.

Does Visa code 12 mean the card is fraudulent?

Not necessarily. Code 12 is primarily a technical or operational decline indicating an invalid request format or an unsupported transaction type rather than suspected fraud.

#### Share this article

[![Share on X](https://cdn.smartretry.com/cdn-cgi/image/width=3840,quality=75,format=auto,fit=cover/https%3A%2F%2Fcdn.smartretry.com%2F_next%2Fstatic%2Fmedia%2Ftwitter.21z6yr9njnznr.svg)](https://twitter.com/intent/tweet?text=Decline%20Code%2012%3A%20Invalid%20Transaction&url=https%3A%2F%2Fwww.smartretry.com%2Fdecline-code%2F12-invalid-transaction "Share on X")[![Share on Facebook](https://cdn.smartretry.com/cdn-cgi/image/width=3840,quality=75,format=auto,fit=cover/https%3A%2F%2Fcdn.smartretry.com%2F_next%2Fstatic%2Fmedia%2Ffacebook.3sbfjbsxa26qg.svg)](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fwww.smartretry.com%2Fdecline-code%2F12-invalid-transaction "Share on Facebook")[![Share on LinkedIn](https://cdn.smartretry.com/cdn-cgi/image/width=3840,quality=75,format=auto,fit=cover/https%3A%2F%2Fcdn.smartretry.com%2F_next%2Fstatic%2Fmedia%2Flinkedin.09sdc8tnlrn4a.svg)](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fwww.smartretry.com%2Fdecline-code%2F12-invalid-transaction "Share on LinkedIn")

Make us your preferred source

![Kyle Regacho](https://cdn.smartretry.com/cdn-cgi/image/width=256,quality=75,format=auto,fit=cover/https%3A%2F%2Fsecure.gravatar.com%2Favatar%2Faa4329c7f45a68c68f2fbccab899d0f43f3740f3f9e92d5c6ea711171fc1a35f%3Fs%3D96%26d%3Dmm%26r%3Dg)

Author

##### Kyle Regacho

[![LinkedIn](https://cdn.smartretry.com/cdn-cgi/image/width=32,quality=75,format=auto,fit=cover/https%3A%2F%2Fcdn.smartretry.com%2F_next%2Fstatic%2Fmedia%2Flinkedin.09sdc8tnlrn4a.svg)Find me on Linkedin](https://www.linkedin.com/in/kdregacho/)

Focused on payment recovery, decline codes, and authorization optimization at SmartRetry. Helps payment teams turn failed transactions into recovered revenue

[Read all articles >](/authors/kyle-regacho)

## Join our newsletter!

Real strategies to recover lost revenue - straight to your inbox

## Related codes

* [![Visa](https://cdn.smartretry.com/cdn-cgi/image/width=256,quality=75,format=auto,fit=cover/https%3A%2F%2Fcdn.smartretry.com%2Fpayment-providers%2Flogos%2Fvisa.svg)10Approved, partialsoft declineRead more >](/decline-code/10-partial-approval)
* [![Visa](https://cdn.smartretry.com/cdn-cgi/image/width=256,quality=75,format=auto,fit=cover/https%3A%2F%2Fcdn.smartretry.com%2Fpayment-providers%2Flogos%2Fvisa.svg)13Invalid amounthard declineRead more >](/decline-code/13-invalid-amount)
* [![Visa](https://cdn.smartretry.com/cdn-cgi/image/width=256,quality=75,format=auto,fit=cover/https%3A%2F%2Fcdn.smartretry.com%2Fpayment-providers%2Flogos%2Fvisa.svg)14Invalid card numberhard declineRead more >](/decline-code/14-invalid-card-number)
* [![Visa](https://cdn.smartretry.com/cdn-cgi/image/width=256,quality=75,format=auto,fit=cover/https%3A%2F%2Fcdn.smartretry.com%2Fpayment-providers%2Flogos%2Fvisa.svg)15No such issuerhard declineRead more >](/decline-code/15-invalid-issuer)

## Articles you may find interesting:

[View all](/blog)

[![When Processing Stops: Navigating Gateway Locks and Account Holds](https://cdn.smartretry.com/cdn-cgi/image/width=3840,quality=75,format=auto,fit=cover/https%3A%2F%2Fcdn.smartretry.com%2Fuploads%2F2026%2F11%2Fresolving-payment-gateway-account-holds-guide.jpg) November 22, 2026 When Processing Stops: Navigating Gateway Locks and Account Holds When aggregators freeze processing, standard support tickets fail. Discover how fintech operators diagnose automated underwriting triggers, appeal held funds, and deploy redundant routing to eliminate single points of failure.](/blog/resolving-payment-gateway-locks-holds)[![Fine-Tuning Stripe for Subscriptions: How to Stop Losing Customers to Failed Payments](https://cdn.smartretry.com/cdn-cgi/image/width=3840,quality=75,format=auto,fit=cover/https%3A%2F%2Fcdn.smartretry.com%2Fuploads%2F2026%2F11%2Fstripe-subscription-payment-optimization.jpg) November 17, 2026 Fine-Tuning Stripe for Subscriptions: How to Stop Losing Customers to Failed Payments Default billing setups quietly surrender recurring revenue to preventable declines. Discover how adjusting stored credential flags, deploying network tokens, and timing retries protect subscriber retention and improve authorization health.](/blog/optimize-stripe-recurring-payments)[![Understanding CAVV: How 3D Secure Tokens Secure Approvals and Shift Liability](https://cdn.smartretry.com/cdn-cgi/image/width=3840,quality=75,format=auto,fit=cover/https%3A%2F%2Fcdn.smartretry.com%2Fuploads%2F2026%2F11%2Fcavv-cardholder-authentication-verification-value-3ds.jpg) November 10, 2026 Understanding CAVV: How 3D Secure Tokens Secure Approvals and Shift Liability Mastering 3D Secure CAVV tokens helps payment teams prevent false declines and secure fraud liability shifts. Learn how cryptographic validation impacts issuer authorization decisions and recurring payment retry performance.](/blog/what-is-cavv-in-3ds)[![Does Numeral Offer Load Balancing for Payment Requests?](https://cdn.smartretry.com/cdn-cgi/image/width=3840,quality=75,format=auto,fit=cover/https%3A%2F%2Fcdn.smartretry.com%2Fuploads%2F2026%2F11%2Fnumeral-payment-routing-load-balancing-guide.jpg) November 7, 2026 Does Numeral Offer Load Balancing for Payment Requests? Discover why traditional load balancing fails across banking rails and multi-acquirer setups, and how intelligent routing protects your transaction approval rates.](/blog/numeral-load-balancing-payment-requests)

![SmartRetry - Payment Recovery Platform](https://cdn.smartretry.com/cdn-cgi/image/width=3840,quality=75,format=auto,fit=cover/https%3A%2F%2Fcdn.smartretry.com%2F_next%2Fstatic%2Fmedia%2Flogo.3mm2n0hdxl3mi.svg)

## Decline codes tell you why. We fix it.

SmartRetry reads every decline reason and applies the right retry strategy for each one. Your recovery rate goes up without any changes to your payment provider.

---

```json
{"@context":"https://schema.org","@type":"Article","headline":"Decline Code 12: Invalid Transaction","url":"https://www.smartretry.com/decline-code/12-invalid-transaction","inLanguage":"en","author":{"@type":"Organization","@id":"https://www.smartretry.com/#organization","name":"SmartRetry","url":"https://www.smartretry.com","logo":{"@type":"ImageObject","url":"https://cdn.smartretry.com/logo.png","width":{"@type":"QuantitativeValue","value":175,"unitCode":"PX"},"height":{"@type":"QuantitativeValue","value":29,"unitCode":"PX"}},"description":"SmartRetry is a smart payment recovery platform that helps businesses save revenue from failed payment transactions and reduce false declines.","sameAs":["https://x.com/smartretry","https://www.facebook.com/smartretry","https://www.instagram.com/smartretry","https://www.linkedin.com/company/smartretry","https://www.youtube.com/@smartretry","https://github.com/smartretry"],"contactPoint":{"@type":"ContactPoint","contactType":"customer support","availableLanguage":["Hebrew","English"],"url":"https://www.smartretry.com/contact"},"address":{"@type":"PostalAddress","streetAddress":"Menachem Begin","addressLocality":"Tel Aviv-Yafo","addressCountry":"IL"}},"publisher":{"@type":"Organization","@id":"https://www.smartretry.com/#organization","name":"SmartRetry","url":"https://www.smartretry.com","logo":{"@type":"ImageObject","url":"https://cdn.smartretry.com/logo.png","width":{"@type":"QuantitativeValue","value":175,"unitCode":"PX"},"height":{"@type":"QuantitativeValue","value":29,"unitCode":"PX"}},"description":"SmartRetry is a smart payment recovery platform that helps businesses save revenue from failed payment transactions and reduce false declines.","sameAs":["https://x.com/smartretry","https://www.facebook.com/smartretry","https://www.instagram.com/smartretry","https://www.linkedin.com/company/smartretry","https://www.youtube.com/@smartretry","https://github.com/smartretry"],"contactPoint":{"@type":"ContactPoint","contactType":"customer support","availableLanguage":["Hebrew","English"],"url":"https://www.smartretry.com/contact"},"address":{"@type":"PostalAddress","streetAddress":"Menachem Begin","addressLocality":"Tel Aviv-Yafo","addressCountry":"IL"}},"mainEntityOfPage":{"@type":"WebPage","@id":"https://www.smartretry.com/decline-code/12-invalid-transaction","name":"Decline Code 12: Invalid Transaction"},"description":"Learn what Visa issuer response code 12 (Invalid transaction) means, common technical causes, and how merchants can resolve payment processing issues.","datePublished":"2026-09-24T11:13:31.000Z","dateModified":"2026-11-20T11:09:33.000Z","keywords":"visa decline code 12, visa response code 12, invalid transaction, visa error 12","about":{"@type":"Thing","name":"Visa, Mastercard Issuer Response Codes 12"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://www.smartretry.com/"},{"@type":"ListItem","position":2,"name":"Decline Code","item":"https://www.smartretry.com/decline-code"},{"@type":"ListItem","position":3,"name":"12","item":"https://www.smartretry.com/decline-code/12-invalid-transaction"}]}
```
