Key facts
- Also known as: merchant identification number, card acceptor ID (CAID)
- Assigned by: the acquirer (Visa, Visa Acceptance Risk Standards, October 2024)
- Uniqueness: each merchant or third-party agent needs its own (Visa, Visa Acceptance Risk Standards, October 2024)
- Length: set by the acquirer or its processor; commonly 15 characters, the size of the card acceptor ID field in card messages, and shorter on some processing platforms
- For sub-merchants: a separate identifier given by the payment facilitator, sent together with the facilitator’s own Visa-assigned identifier (Visa, Payment Facilitator and Marketplace Risk Guide, April 2021)
Who issues a MID
The acquirer does, when it opens the merchant account at the end of underwriting. Visa’s Acceptance Risk Standards (October 2024) list the acquirer-assigned identifier among the data an acquirer holds on every merchant and require it to be unique.
A PSP does not create these identifiers unless it is a payment facilitator. In that model, the Visa Payment Facilitator and Marketplace Risk Guide (April 2021, section 6.4) describes two levels: Visa assigns an identifier to the facilitator, the facilitator assigns one to each sponsored merchant, and both appear in the transactions.
Why one merchant has several
An identifier belongs to one account at one acquirer, so every extra account brings another. The usual reasons:
- More than one acquirer. Each acquirer issues its own.
- More than one currency or settlement account. Acquirers commonly open a separate account per settlement currency.
- More than one line of trade. Under Visa’s Merchant Data Standards Manual (October 2026), a merchant with several lines either uses the category code of its highest-volume line or a separate code per line, and a high-risk line must carry its own code; a separate code is normally set up as a separate account.
- More than one sales channel or legal entity. In-store and online sales, or subsidiaries in different countries, are often kept apart for pricing and reporting.
MID vs terminal ID vs sub-merchant ID
| Merchant ID | Terminal ID (TID) | Sub-merchant ID | |
|---|---|---|---|
| Identifies | A merchant account at an acquirer | One terminal or other acceptance point under that account | One sponsored merchant under a payment facilitator |
| Assigned by | The acquirer | The acquirer or its processor | The payment facilitator |
| How many | One per account; a merchant can hold several | Many per account | One per sponsored merchant |
| Used for | Settlement, pricing, chargebacks, scheme reporting | Tracing a transaction to a device or checkout | Telling the scheme and the acquirer which seller stands behind a facilitator’s transaction |
Visa’s standards of October 2024 name the terminal identifier among the merchant data that has to stay consistent from one transaction to the next.
How a PSP sets up MIDs per merchant, acquirer and currency
For a PSP that connects merchants to several acquirers, the unit of routing is the account, not the bank. Each merchant has a table of the accounts open to it:
- the acquirer and the identifier it issued;
- the settlement currency of that account;
- the category code and descriptor registered on it;
- the card brands and channels it may be used for;
- its limits, fees and reserve terms.
A routing rule then chooses a row of that table. Reports, reconciliation, chargeback counts and monitoring thresholds follow the same rows, so a merchant with four accounts has four sets of figures to watch.
Two controls matter more than the rest. An identifier is used only for the merchant and the line of trade it was approved for: sending one merchant’s sales through another’s account is transaction laundering, which Mastercard’s Security Rules and Procedures – Merchant Edition (4 August 2026, section 6.2.2.8) makes part of the acquirer’s periodic review. And a PSP that acts as a payment facilitator never reuses a sub-merchant identifier, because the Visa guide of April 2021 requires each one to be unique.
Related terms
- Merchant Category Code (MCC)
- Bank Identification Number (BIN)
- Acquirer (Acquiring Bank)
- ISO 8583
- Merchant Underwriting
Read next
- This page shows portfolio, pricing and limit settings per merchant in one place.
- This guide explains rules that pick a provider for each transaction, with the parameters they can read.
Sources
- Visa – Visa Acceptance Risk Standards (VARS), October 2024
- Visa – Payment Facilitator and Marketplace Risk Guide, April 2021
- Visa – Merchant Data Standards Manual, October 2026
- Mastercard – Security Rules and Procedures, Merchant Edition, 4 August 2026
Last reviewed: November 2026



