---
description: Learn what Mastercard issuer response code 30 (Format error) means, why an incorrect terminal ID causes it, and how to fix and retry the transaction.
title: Mastercard Decline Code 30: Format Error Explained
image: https://cdn.smartretry.com/cdn-cgi/image/width=1200,height=630,quality=85,fit=cover/https%3A%2F%2Fcdn.smartretry.com%2F_next%2Fstatic%2Fmedia%2Fog-image.0z0q4_5kazzzo.jpeg
---

[Skip to main content](#main-content)

![Mastercard](https://cdn.smartretry.com/cdn-cgi/image/width=96,quality=75,format=auto,fit=cover/https%3A%2F%2Fcdn.smartretry.com%2Fpayment-providers%2Flogos%2Fmastercard.svg)

Mastercard

# Mastercard Decline Code 30: Format Error

technical decline

Last updated: September 25, 2026

## Still letting failed transactions slip through?

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

Email address Let’s talk

Table of Contents

## About 30 \- "Format error"

## Key details

Brand

![Mastercard](https://cdn.smartretry.com/cdn-cgi/image/width=256,quality=75,format=auto,fit=cover/https%3A%2F%2Fcdn.smartretry.com%2Fpayment-providers%2Flogos%2Fmastercard.svg)

Code

30

Category

Issuer Response Codes

Response

30

Detailed Response

Format error

technical decline

## What it means

Mastercard issuer response code 30 indicates that the issuer does not recognize the transaction details presented in the authorization request. It is a technical formatting or configuration error, most commonly triggered by an incorrect terminal ID (TID) or the presence of invalid characters in the transaction data. This decline is not related to the cardholder's available funds.

## Classification & retryability

technicalRetryable: conditional

Code 30 is classified by Mastercard as 'Temporarily Recoverable,' meaning a corrected request can be retried. However, you must first fix the terminal ID (TID), formatting, or transaction fields before initiating the retry, as repeating the identical authorization will likely result in another decline.

## Why does code 30 occur?

* The transaction request contains an incorrect or unregistered terminal ID (TID).
* The authorization payload includes malformed or invalid characters that the issuer cannot process.
* There is a persistent merchant integration or mapping defect causing improper transaction data formatting.

## How to solve 30?

First, review the original authorization request to verify that the terminal ID (TID) and merchant identifier match your acquirer's registered configuration. Check the transaction data payload for any malformed fields, invalid characters, or encoding errors. Once the formatting or configuration errors are identified and corrected, submit a new authorization request. If subsequent attempts fail after corrections, escalate the issue to your acquirer or processor with the original request, response, TID, and transaction timestamp.

### Solving as a merchant

Compare the submitted request with your acquirer's registered merchant and terminal configuration to validate field encoding, allowed characters, and routing parameters. Correct any improperly formatted data or incorrect TIDs in your payment gateway settings before attempting a retry. Suppress repeated identical attempts to avoid accumulating unnecessary declines.

### Solving as a customer

No action is required from the customer, as this is a technical formatting issue on the merchant or processor side.

💡Tip from SmartRetry Halt immediate automated retries on code 30, as repeating an identical payload will consistently fail and can trigger network penalty flags. Instead, hold the retry until your system applies automated character sanitization or reroutes the payment through a verified secondary acquirer connection.

[See the full list of Mastercard's decline codes \>](/payment-providers/mastercard#statuses)[Find code on Mastercard's website \>](https://developer.mastercard.com/payment-acceptance-api/documentation/code-and-formats/)

### Frequently asked questions about this topic

Does Mastercard code 30 mean the customer has insufficient funds?

No. Code 30 indicates a format error, meaning the issuer does not recognize the transaction details. It is usually caused by an incorrect terminal ID or invalid characters in the request payload, not a lack of funds.

Can I immediately retry a transaction that returned code 30?

No, you should not blindly retry the identical authorization request. While Mastercard considers this code temporarily recoverable, you must first correct the underlying formatting or configuration error before retrying the payment.

What is the most common cause of a Mastercard format error decline?

According to Mastercard's Payment Acceptance API, the most common cause of code 30 is an incorrect terminal ID (TID) submitted in the authorization request.

#### 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=Mastercard%20Decline%20Code%2030%3A%20Format%20Error&url=https%3A%2F%2Fwww.smartretry.com%2Fdecline-code%2Fmastercard-issuer-response-code-30 "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%2Fmastercard-issuer-response-code-30 "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%2Fmastercard-issuer-response-code-30 "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

Email address Subscribe

## Related codes

* [![Mastercard](https://cdn.smartretry.com/cdn-cgi/image/width=256,quality=75,format=auto,fit=cover/https%3A%2F%2Fcdn.smartretry.com%2Fpayment-providers%2Flogos%2Fmastercard.svg)14Invalid card numberhard declineRead more >](/decline-code/mastercard-issuer-response-code-14)
* [![Mastercard](https://cdn.smartretry.com/cdn-cgi/image/width=256,quality=75,format=auto,fit=cover/https%3A%2F%2Fcdn.smartretry.com%2Fpayment-providers%2Flogos%2Fmastercard.svg)12Invalid transactionhard declineRead more >](/decline-code/mastercard-issuer-response-code-12)
* [![Mastercard](https://cdn.smartretry.com/cdn-cgi/image/width=256,quality=75,format=auto,fit=cover/https%3A%2F%2Fcdn.smartretry.com%2Fpayment-providers%2Flogos%2Fmastercard.svg)10Partial Approvalsoft declineRead more >](/decline-code/mastercard-issuer-response-code-10)

## Articles you may find interesting:

[View all](/blog)

[![Turning Payment Declines into Revenue with Context-Aware Retry Logic](https://cdn.smartretry.com/cdn-cgi/image/width=3840,quality=75,format=auto,fit=cover/https%3A%2F%2Fcdn.smartretry.com%2Fuploads%2F2026%2F09%2Frecovering-revenue-with-intelligent-retries.jpg) September 25, 2026 Turning Payment Declines into Revenue with Context-Aware Retry Logic Blind retries waste fees and damage issuer trust. By analyzing decline codes and timing reattempts around payroll cycles, payment teams can successfully salvage recurring revenue without customer disruption.](/blog/turning-payment-declines-into-revenue-with-context-aware-retry-logic)[![Why Payments Fail: Decoding Decline Codes and Modernizing Retry Logic](https://cdn.smartretry.com/cdn-cgi/image/width=3840,quality=75,format=auto,fit=cover/https%3A%2F%2Fcdn.smartretry.com%2Fuploads%2F2026%2F09%2Fpayment-declines-intelligent-retry-strategies.jpg) September 25, 2026 Why Payments Fail: Decoding Decline Codes and Modernizing Retry Logic Surface-level decline messages conceal critical issuer signals. Discover how intelligent retries, network tokens, and behavioral timing protect MID health and systematically recover lost recurring revenue.](/blog/why-payments-fail-decoding-decline-codes-and-modernizing-retry-logic)[![Decoding Payment Declines: Turning Authorization Failures into Recovered Revenue](https://cdn.smartretry.com/cdn-cgi/image/width=3840,quality=75,format=auto,fit=cover/https%3A%2F%2Fcdn.smartretry.com%2Fuploads%2F2026%2F09%2Fresolving-card-authorization-declines-issuer-codes.jpg) September 25, 2026 Decoding Payment Declines: Turning Authorization Failures into Recovered Revenue Blindly retrying failed transactions hurts authorization rates and risks network fines. Discover how decoding issuer responses turns card declines into recovered revenue.](/blog/decoding-payment-declines-turning-authorization-failures-into-recovered-revenue)[![The Real Cost of Payment Declines and How to Recover Lost Revenue](https://cdn.smartretry.com/cdn-cgi/image/width=3840,quality=75,format=auto,fit=cover/https%3A%2F%2Fcdn.smartretry.com%2Fuploads%2F2026%2F09%2Frecovering-failed-payment-declines-revenue-advmo-31a392251911.jpg) September 23, 2026 The Real Cost of Payment Declines and How to Recover Lost Revenue Payment failures cost merchants billions in uncaptured revenue and customer churn. Discover how data-driven retries and response code intelligence help teams recover failed transactions and protect conversion.](/blog/cost-of-payment-declines-recovery)

---

```json
{"@context":"https://schema.org","@type":"Article","headline":"Mastercard Decline Code 30: Format Error","url":"https://www.smartretry.com/decline-code/mastercard-issuer-response-code-30","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"],"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"],"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/mastercard-issuer-response-code-30","name":"Mastercard Decline Code 30: Format Error"},"description":"Learn what Mastercard issuer response code 30 (Format error) means, why an incorrect terminal ID causes it, and how to fix and retry the transaction.","datePublished":"2026-09-24T11:16:40.000Z","dateModified":"2026-09-25T07:22:38.000Z","keywords":"Mastercard code 30, decline code 30, format error, terminal ID error, invalid characters, temporarily recoverable decline","about":{"@type":"Thing","name":"Mastercard Issuer Response Codes 30"}}
{"@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":"Mastercard","item":"https://www.smartretry.com/decline-code?provider=Mastercard"},{"@type":"ListItem","position":4,"name":"30","item":"https://www.smartretry.com/decline-code/mastercard-issuer-response-code-30"}]}
```
