Merchant Brand Controls
Granular Spending Controls
All Airwallex transactions contain Merchant Brands and Categories, which can be used to manage allowable purchases on your cards by categories or merchant brands.
- Control by Merchant Brand: To restrict spending to specific companies (e.g., "Allow Uber"), use the
allowed_merchant_brand_idsparameter. You can look up specific merchants and retrieve their IDs using the Merchant Brand Search API API. - Control by Category Type: To restrict spending based on the category of the transaction regardless of the merchant (e.g., "Allow all Transport"), you can use the Category or Subcategory codes for even more granular control.
When would you prefer to use Categories?
Merchant Categorization is transaction-based, distinct from the merchant entity. This is critical because a single Merchant Brand may operate multiple lines of business.
- Example: A transaction at Costco (Merchant Brand) is not automatically classified under a single label.
- If the transaction occurs at the fuel pump, it may be classified under Service Stations.
- If the transaction occurs inside the warehouse, it may be classified under Supermarkets and Other Grocery Stores.
By using the category codes, your controls automatically adapt to the specific context of the transaction. If you prefer to allow ALL transactions from Costco, then you can use Merchant Brand instead of Categories.
Implementing Card Controls
You can use the table below to configure the allowed_merchant_brand_categories and allowed_merchant_brand_subcategories parameters when creating or updating card controls.
⚠️ Important Integration Note: When configuring card controls, you must strictly use the Category Code and Subcategory Code. Do not rely on the string names (e.g., "Credits and Loans") for business logic, as these labels are subject to change in future versions.
The table below outlines the complete hierarchy of Categories and Subcategories used to classify transactions associated with specific Merchant Brands.
Category Reference Table
| Category | Category Id | Subcategory | Subcategory Id |
|---|---|---|---|
| Credits and Loans | 10000 | BNPL and Alternative Credit | 10001 |
| Credits and Loans | 10000 | Credit Cards | 10002 |
| Credits and Loans | 10000 | Loans | 10003 |
| Credits and Loans | 10000 | Mortgages | 10004 |
| Culture | 11000 | Education | 11001 |
| Culture | 11000 | Museums | 11002 |
| Donations | 12000 | Charity and Non Profit Organizations | 12001 |
| Donations | 12000 | Religious Organizations | 12002 |
| Entertainment | 13000 | Cinemas and Shows | 13001 |
| Entertainment | 13000 | Gambling and Betting Activities | 13002 |
| Entertainment | 13000 | Other Leisure Activities | 13003 |
| Entertainment | 13000 | Streaming Platforms | 13004 |
| Entertainment | 13000 | Theme Parks | 13005 |
| Entertainment | 13000 | Tickets and Events | 13006 |
| Entertainment | 13000 | Video Games | 13007 |
| Fees and Charges | 14000 | Bank and Transaction Fees | 14001 |
| Fees and Charges | 14000 | Late Payment and Penalties | 14002 |
| Groceries | 15000 | Liquor Store | 15001 |
| Groceries | 15000 | Supermarkets and Other Grocery Stores | 15002 |
| Health and Beauty | 16000 | Fitness and Sports | 16001 |
| Health and Beauty | 16000 | Hairdressing | 16002 |
| Health and Beauty | 16000 | Healthcare | 16003 |
| Health and Beauty | 16000 | Perfumes and Cosmetics | 16004 |
| Health and Beauty | 16000 | Pharmacies | 16005 |
| Health and Beauty | 16000 | Spa and Beauty Treatments | 16006 |
| Home and Utilities | 17000 | Child Care | 17001 |
| Home and Utilities | 17000 | Construction and Odd Jobs | 17002 |
| Home and Utilities | 17000 | Energy Providers | 17003 |
| Home and Utilities | 17000 | Gardening | 17004 |
| Home and Utilities | 17000 | Laundries | 17005 |
| Home and Utilities | 17000 | Phone and Internet Services Providers | 17006 |
| Home and Utilities | 17000 | Real Estate | 17007 |
| Home and Utilities | 17000 | Rent | 17008 |
| Income and Payments | 18000 | Bonuses and Commissions | 18001 |
| Income and Payments | 18000 | Cashback | 18002 |
| Income and Payments | 18000 | Freelance and Business Revenue | 18003 |
| Income and Payments | 18000 | Insurance | 18004 |
| Income and Payments | 18000 | Investments and Crypto | 18005 |
| Income and Payments | 18000 | Other Income | 18006 |
| Income and Payments | 18000 | Pensions | 18007 |
| Income and Payments | 18000 | Rental Income | 18008 |
| Income and Payments | 18000 | Salary and Wages | 18009 |
| Professional Services | 19000 | Advertising and Marketing | 19001 |
| Professional Services | 19000 | Bookkeeping and Consultancy | 19002 |
| Professional Services | 19000 | Courier and Logistics | 19003 |
| Professional Services | 19000 | HR and Recruiting | 19004 |
| Professional Services | 19000 | Industrial Cleaning | 19005 |
| Professional Services | 19000 | Legal Activities | 19006 |
| Professional Services | 19000 | Office Rental | 19007 |
| Professional Services | 19000 | Other Professional Services | 19008 |
| Professional Services | 19000 | Stationary Services | 19009 |
| Public Administrations | 20000 | Benefits | 20001 |
| Public Administrations | 20000 | Government and City Councils | 20002 |
| Public Administrations | 20000 | Taxes | 20003 |
| Restaurants | 21000 | Bars and Restaurants | 21001 |
| Restaurants | 21000 | Coffee and Bakeries | 21002 |
| Restaurants | 21000 | Food Delivery | 21003 |
| Restaurants | 21000 | Pubs and Nightclubs | 21004 |
| Shopping | 22000 | Books and Newspapers | 22001 |
| Shopping | 22000 | Cigar Shops | 22002 |
| Shopping | 22000 | Clothing, Shoes and Accessories | 22003 |
| Shopping | 22000 | Computers and Electronic Devices | 22004 |
| Shopping | 22000 | Department Stores | 22005 |
| Shopping | 22000 | Flowers | 22006 |
| Shopping | 22000 | Furniture | 22007 |
| Shopping | 22000 | Games and Toys | 22008 |
| Shopping | 22000 | Hardware Stores | 22009 |
| Shopping | 22000 | Household Items | 22010 |
| Shopping | 22000 | Other Stores | 22011 |
| Shopping | 22000 | Pets | 22012 |
| Software | 23000 | Software Services | 23001 |
| Transfers and Deposits | 24000 | ATM | 24001 |
| Transfers and Deposits | 24000 | Currency Exchange | 24002 |
| Transfers and Deposits | 24000 | Financial Services | 24003 |
| Transfers and Deposits | 24000 | P2P | 24004 |
| Transfers and Deposits | 24000 | Savings | 24005 |
| Transport | 25000 | Car Rental | 25001 |
| Transport | 25000 | Metro, Bus and Trains | 25002 |
| Transport | 25000 | Motor Vehicles, Repairs and Accessories | 25003 |
| Transport | 25000 | Other Transport Providers | 25004 |
| Transport | 25000 | Private Mobility Services | 25005 |
| Transport | 25000 | Service Stations | 25006 |
| Transport | 25000 | Tolls and Parkings | 25007 |
| Travel | 26000 | Airlines | 26001 |
| Travel | 26000 | Ferries and Boats | 26002 |
| Travel | 26000 | Hotels and Accommodation | 26003 |
| Travel | 26000 | Travel Agents | 26004 |