Most credit card reward leakage doesn't come from carrying a bad card. It comes from using a great card at a merchant whose backend code disqualifies you from bonus multipliers. Here is how merchant category codes work and how to maximize every transaction.
Credit card issuers do not reward you based on what you buy; they reward you based on how the merchant's payment terminal is classified via its 4-digit Merchant Category Code (MCC). Buying groceries at Walmart or gas station snacks at 7-Eleven will often trigger completely unexpected earn rates.
A Merchant Category Code (MCC) is a standardized four-digit number assigned by payment processors (Visa, Mastercard, American Express) to categorize the merchant's primary line of business. When you swipe your card, the terminal transmits this 4-digit code to your bank in milliseconds.
Your card issuer's automated rules engine checks this MCC to decide whether to grant a 5x bonus multiplier or drop your purchase to a 1x base rate.
| Spending Category | Primary MCCs | Qualifying Merchants | Common Exclusions / Pitfalls |
|---|---|---|---|
| Groceries & Supermarkets | 5411 | Metro, Loblaws, Sobeys, Whole Foods, Safeway, Kroger | Walmart, Target, Costco, Wholesale clubs |
| Dining & Restaurants | 5812, 5814 | Full-service restaurants, cafes, fast food, Uber Eats, DoorDash | Hotel banquet halls, bakeries coding as retail |
| Gas & Service Stations | 5541, 5542 | Shell, Esso, Petro-Canada, Chevron, ExxonMobil | Gas bought at warehouse pumps (Costco Gas without Mastercard) |
| Travel & Transit | 3000–3350, 4111, 4789 | Air Canada, Delta, subways, trains, taxis, Uber rides | Third-party tour agencies coding as general business |
| Recurring Bills & Utilities | 4814, 4900 | Cell phone plans, internet, hydro, electric utilities | Property taxes without specialized bill-pay setups |
Major card issuers explicitly exclude Walmart, Target, and Costco from standard "Grocery" multipliers. Even if you purchase $300 worth of fresh produce and milk at Walmart Supercentre, the transaction codes as MCC 5310/5311 (Discount Store / Department Store), earning only 1x points on cards like the Amex Cobalt or Blue Cash Preferred.
To capture maximum rewards at wholesale clubs, use dedicated cards like the CIBC Costco Mastercard or our Costco Canada Optimization Hack.
Ordering food through Uber Eats, DoorDash, or SkipTheDishes usually codes as dining (MCC 5812). However, ordering groceries or convenience items through the exact same delivery apps can occasionally switch the transaction code to grocery delivery or courier service, dropping multiplier yields depending on the issuer's backend parsing.
Purchasing fuel directly at automated dispensers (MCC 5542) triggers 3%–4% gas multipliers. However, paying inside convenience stores attached to independent stations can sometimes code as general grocery or retail convenience (MCC 5499), causing your gas card to earn baseline 1%.
To avoid leaving hundreds of dollars on the table, assign each card in your wallet to a single dominant category where it holds an unbeatable edge:
Instead of memorizing thousands of 4-digit codes, smart cardholders use WalletFit's Rewards Optimizer.
WalletFit continuously synchronizes:
Credit card spending categories are defined by merchant category codes (MCC), not the actual items you buy. For example, buying groceries at a store coded as a department store will earn department store rates, not grocery rates.
Purchases at wholesale clubs (Costco), supercenters (Walmart), or third-party delivery services often code as general merchandise rather than grocery or dining, missing out on standard bonus rates.
WalletFit cross-references real-time merchant category codes and your active card limits to automatically recommend the highest-yielding card for every merchant.
WalletFit identifies merchant category codes and recommends your highest-yielding card in real time.