Home / Industries / Gaming and betting

Gaming and betting

Gambling MCC codes explained: 7995, 7800, 7801, 7802 and 9406

The four-digit code on every gambling transaction shapes how issuers treat it. Here is what each code covers, who sets it, and why getting it wrong ends accounts.

Flux PaymentsOctober 28, 202612 min read

Key takeaways

  • 7995 is the default gambling code worldwide; 7800, 7801 and 7802 are US-only codes for government-owned lotteries, licensed online gambling and licensed racing; 9406 covers government lotteries outside the US.
  • Your acquirer assigns the MCC under network rules, and online gambling must carry a gambling code even when it is not your main business.
  • Mastercard's US rules have issuers block or decline e-commerce 7995 and 9406 transactions from US cardholders, while 7800, 7801 and 7802 can be approved one by one.
  • The US codes require network registration; on Mastercard, that means a license or other legal authority, a merchant attestation or a legal opinion depending on the code, and independent certification of age and location controls.
  • Miscoding and transaction laundering lead to network assessments, account termination and MATCH Pro listings that last five years.

A merchant category code (MCC) is a four-digit number your acquirer assigns to your merchant account, and it rides along with every authorization to tell the card issuer what kind of business is asking to be paid. For gambling, the codes that matter are 7995 for betting and gaming generally, 7800 for US government-owned lotteries, 7801 for licensed US online gambling, 7802 for licensed US horse and dog racing, and 9406 for government-owned lotteries outside the US.

Those five codes have a large effect on your approval rate. They are also how the card networks meet their federal obligations on internet gambling, which is why Visa and Mastercard treat a wrong code on a gambling transaction as a serious violation rather than a clerical slip.

What a merchant category code actually does

Every card authorization carries an MCC. There is an international standard for these codes, ISO 18245, but in practice Visa and Mastercard each publish their own list and definitions, and the network definitions are the ones your acquirer has to follow. Mastercard's rulebook, for example, refers to the code as the merchant type field in the authorization request.

Issuers use the code to make decisions in real time. A bank can decline a category outright, price it as a cash advance, leave it out of rewards, block it on corporate cards, or let its own customers switch off gambling spending. None of that works unless the code is right, which is why the networks care so much about accuracy.

For gambling, the code also does legal work. Regulation GG, the federal rule that implements the Unlawful Internet Gambling Enforcement Act (UIGEA), lets a card system comply by using merchant and transaction codes that allow issuers to identify and deny transactions that may be restricted, backed by testing that the coding is correct and monitoring for suspicious volumes. We cover that rule in our guide to UIGEA and Regulation GG.

Who assigns the code, and who does not

The acquirer assigns the MCC, not the merchant. Visa's Merchant Data Standards Manual says acquirers and their agents must assign the correct code to each merchant, and that Visa can require corrections. A payment facilitator has to evaluate each sponsored merchant and assign the code that fits that merchant's business, rather than putting its whole portfolio under one code.

The general rule is to choose the code that most accurately describes the business, which usually means the primary line of business. Gambling is the big exception. Under Visa's manual, a merchant that conducts online gambling must use 7995 for all of its card-absent transactions even if gambling is not its main business, and US merchants whose activity qualifies for 7800, 7801 or 7802 must use that code. Mastercard's rules say any transaction that includes the sale of something properly identified with a gambling code must carry that code.

So you do not pick your MCC. You describe your business accurately in underwriting, and the acquirer applies the network rules to what you told it. If you run a cardroom with a restaurant, the chip purchases take a gambling code and the food takes its own. If you add a product, such as a sportsbook alongside a fantasy app, the coding question has to be asked again before launch, not after the first monthly review.

The gambling codes at a glance

Visa and Mastercard use the same numbers for gambling, with slightly different names and rules. As of October 2026, the core set looks like this:

CodeWhat it coversWhere it is used
7995Betting and gambling generally: wagers, casino chips, lottery tickets, off-track and race track bettingAll regions
7800Government-owned lotteries registered with the networkUS only
7801Licensed online gambling (Visa: government licensed online casinos; Mastercard: internet gambling)US only
7802Government-licensed horse and dog racing, including pari-mutuel wageringUS only
9406Government-owned lotteries and, on Mastercard, their licensed agentsOutside the US

The three US-only codes exist for one reason: to let issuers tell state-licensed activity apart from gambling that may be unlawful where the cardholder is. Everything that does not qualify for them defaults to 7995.

7995, the default gambling code

Visa describes 7995 as betting, including lottery tickets, casino gaming chips, off-track betting, wagers at race tracks, and games of chance to win prizes of monetary value. Mastercard calls the same code gambling transactions, covering any non-ATM transaction that places a wager, buys a lottery ticket, or buys chips or other value usable for gambling. Visa's manual also lists bingo parlors, raffle tickets and sweepstakes among the merchants that belong in 7995, and says a merchant that cannot separate betting transactions from its other sales must code all of them 7995.

Online play brings extra flags. Visa requires online gambling transactions in the US and several other regions to carry its quasi-cash and online gambling indicator alongside 7995. Mastercard pairs 7995 with a specific transaction category code for gambling. Both networks require the acquirer to register a card-absent gambling merchant before processing, which we cover in our guide to Visa and Mastercard rules for gambling merchants.

Here is the part US operators feel most. Mastercard's US rules treat an e-commerce transaction coded 7995 or 9406 from a US cardholder as potentially illegal internet gambling, and require the issuer either to block those systematically or to decline them. A licensed US online sportsbook or casino that ends up coded 7995 instead of 7801 will see declines by design. That is why a licensed US operator needs its acquirer to register it under the right US code.

7800, 7801 and 7802 for licensed US activity

The US-only codes are reserved for activity a US government body has licensed or authorized, run by merchants the acquirer has registered with the network. Visa's manual describes 7801 as merchants licensed by a US government entity and registered with Visa to offer online gambling, 7802 as licensed and registered horse or dog racing wagering, and 7800 as government-owned lotteries registered with Visa to sell tickets.

Mastercard's US rules spell out what the codes do. An issuer may approve, one transaction at a time, internet gambling authorizations from US merchants coded 7800, 7801 or 7802. By using those codes, the acquirer asserts that the activity is legal and indemnifies Mastercard for it. Mastercard also requires that a registered US merchant offering intrastate online sports betting be coded 7801.

What registration involves

For a US online gambling merchant, Mastercard registration requires the acquirer to submit an intake form, a copy of the state or tribal license that expressly authorizes the activity, a merchant attestation, and a certification from a qualified independent third party that the merchant's age and location verification works and keeps play within legal limits. Racing merchants coded 7802 need a reasoned legal opinion from a US lawyer instead of a merchant attestation. Lotteries coded 7800 need evidence of legal authority to sell tickets, a legal opinion and the same independent certification, but no merchant attestation. Mastercard has to approve the registration before any of these transactions are processed.

Lottery couriers and other in-between models

Not every lottery-adjacent business is a government lottery. Mastercard describes 7800 as government bodies that sell tickets directly or through designated agents. Whether a courier or reseller fits that description, or belongs in 7995, depends on its status under state law and on what the network will register. Settle it with your acquirer in writing before you go live, and expect the answer to differ by state.

9406 and lotteries outside the US

9406 is the government-owned lottery code for the rest of the world. Mastercard restricts it to merchants in Asia/Pacific, Canada, Europe, Latin America and the Caribbean, and Middle East/Africa, and tells US lotteries to use 7800 instead. Mastercard also allows 9406 for a duly licensed agent selling lottery tickets or recurring lottery subscriptions, and requires registration for online sales.

Visa likewise uses 9406 for government-owned lotteries outside the US. For a US business, the practical point is that 9406 does not help with US cardholders. Mastercard's US rule groups e-commerce 9406 transactions with 7995 as potentially illegal internet gambling that issuers must block or decline.

Skill games, fantasy sports, sweepstakes and social casinos

Several gaming models sit at the edge of the gambling codes, and the networks have specific rules for each. These are the ones operators ask about most:

These models also face fast-moving state law, and the code follows the legal analysis rather than the marketing. See our guides to daily fantasy and pick'em contests, skill games and esports tournaments, and sweepstakes casinos in 2026.

How issuers treat gambling codes

The code is only half the story. The issuer decides what to do with it, and issuer behavior on gambling varies widely by bank, card type and state. A few patterns are consistent:

Authentication is a separate issue. Mastercard requires card-absent gambling transactions to carry authentication data, such as the CVC 2 value or a 3-D Secure result. On Visa in the US, 3-D Secure transactions coded 7801, 7802 or 7995 do not get the usual protection from card-absent fraud disputes, so authentication helps approvals and screening but does not shift fraud liability the way it does in most retail. Our post on why sports betting deposits get declined covers approval rates in depth.

Why miscoding ends accounts

Miscoding means a gambling transaction carries a code that hides what it is: a casino deposit coded as digital goods, a sportsbook coded as a general retailer, or an unlicensed product run under a licensed operator's 7801 registration. The networks look for it on purpose. Regulation GG's card system example expects the network to test whether authorization requests are coded correctly and to monitor payment patterns for suspicious volumes from a merchant.

When miscoding is found, the consequences stack up quickly:

A MATCH listing is an information tool, not a legal bar, and an acquirer makes its own decision. In high-risk categories, though, it often ends the conversation before it starts. Visa also tells acquirers to prohibit their agents from using dynamic merchant descriptors for gambling merchants, so the name on the player's statement has to stay consistent too.

Miscoding is not a pricing or approval-rate strategy. If your approval rates are poor under the correct code, the fixes are registration under the right US code where you qualify, clean authorization data, and offering the other funding methods your regulator approves.

Transaction laundering, the shortcut that ends in MATCH

Transaction laundering is processing card payments for one business through another business's merchant account. Mastercard defines it for MATCH Pro as a merchant submitting card transactions that no merchant agreement with the acquirer covers, and its rules note that it is also called factoring or transaction aggregation. In gaming, it shows up as deposits routed through an unrelated storefront, a top-up page on a different website, or a payment partner that quietly takes gambling volume on its own account.

The networks have closed the obvious gaps. Visa requires a funds transfer that will be used for online gambling to be identified as online gambling, and Mastercard bars the funding code 6540 on a staged digital wallet funding transaction if the funds may later buy chips or other gambling value, requiring 7801, 7802 or 7995 instead. Mastercard's registration covers every website URL where gambling transactions can arise. Acquirers also use merchant monitoring services that scan websites for exactly these patterns.

Transaction laundering has its own MATCH Pro reason code, and Visa lists laundering among the reasons a terminated merchant must be reported. It can bring down both accounts: the business that laundered and the one that let its account be used.

A short checklist for operators

How Flux fits

Flux works with high-risk verticals deliberately, and reviews gaming and betting businesses case by case. Approval depends on your licenses, where your players are, and your controls, and not every business qualifies. The right code follows from what you offer, where, under which licenses and on which sites and apps, so have those answers written down before you apply.

On the technology side, Flux's hosted payment fields keep card numbers off your servers, our fraud detection scores each transaction in real time against rules you control, and ACH gives players a bank-funded option where your regulator allows it. Cards settle in 1-2 business days and ACH in 1-3 business days, and gaming and betting accounts are priced after underwriting.

This article is general information, not legal advice, so confirm your coding and registration requirements with your acquirer and counsel. Our complete guide to gaming payments shows where coding sits among the other underwriting questions, and the gaming and betting hub collects the rest of the series. To talk through coding, registration and how your money moves, apply or email sales@fluxpayments.com.

Frequently asked questions

What is MCC 7995?

MCC 7995 is the merchant category code for betting and gambling, covering wagers, casino chips, lottery tickets and race track betting. Visa and Mastercard both use it worldwide, and online gambling merchants must use it for card-absent gambling transactions unless they qualify for a more specific US code.

What is the difference between MCC 7995 and MCC 7801?

7995 is the general gambling code used in every region. 7801 is a US-only code for online gambling licensed by a US government body and registered with the network. Mastercard lets US issuers approve 7801 transactions individually, while e-commerce 7995 transactions from US cardholders must be blocked or declined.

Who assigns a merchant category code?

The acquirer, or a payment facilitator for its sponsored merchants, assigns the MCC based on network rules and what the merchant discloses in underwriting. The merchant does not choose it. Visa and Mastercard can require corrections if the code does not match the business.

What is MCC 9406?

MCC 9406 is the code for government-owned lotteries outside the US. Mastercard also allows it for duly licensed lottery agents in non-US regions. US lotteries use MCC 7800 instead.

What happens if a gambling merchant is miscoded?

The network can assess the acquirer, which usually passes costs to the merchant, and the account is often terminated. A terminated merchant can be listed on Mastercard's MATCH Pro for five years and reported to Visa's terminated merchant file, which makes finding a new processor much harder.

Is MCC 7995 considered high risk?

Yes. Visa lists card-absent 7995 among its high-integrity risk codes, which means the acquirer needs Visa approval and must register the merchant before processing. Mastercard also requires registration of non-face-to-face gambling merchants.

Run a licensed gaming or betting business?

Flux reviews gaming and betting businesses case by case. Tell us how your money moves and a real person will look at it.

Get Started
← All gaming and betting guides