Home / Issuing / Handle Transactions
Warning: The Highnote test environment lets you freely explore platform features and functionality. It is intended for experimenting, building integrations, and training your team.
To ensure the security of your real-world data, do not enter production data in the test environment. Production data includes sensitive information like customer details, financial data, or personally identifiable information (PII).
Use only dummy or test data explicitly created for testing purposes in the test environment.
Fleet transactions include enhanced data processing during clearing and settling. You can use the Highnote API to simulate fleet transactions in the test environment. Simulating fleet transactions helps test the following use cases and card product settings:
This guide provides steps for simulating fleet transactions using the Highnote API.
In the test environment, authorizations are approved or declined based on your card product logic and authorization controls. Highnote offers two types of authorization controls for fleet payment cards:
EMV chip controls have a product restriction code encoded into the EMV chip to allow fuel purchases and other approved products. The product restriction code may also prevent purchasing non-fleet items, such as food, at fuel stops.
Fleet cards can be restricted to specific purchase types using MCC-based authorization controls. For an overview of MCC-based spend controls, see Configure Spend Rules.
Purchase types are defined as follows for Visa and Mastercard:
Card network | Purchase type | Description |
---|---|---|
Visa | Open, No restrictions | Allows all fuel, maintenance, and non-fuel purchases |
Fleet | Allows fuel and maintenance purchases only | |
Fuel only | Only allows fuel purchases | |
Mastercard | Open, No restrictions | Allows all fuel, maintenance, and non-fuel purchases |
Fuel only | Allows only fuel purchases |
All fleet cards must accept fleet/fuel MCCs. It is optional to configure your authorization controls to accept maintenance MCCs. The following tables provide an overview of fleet/fuel and maintenance MCCs for reference:
CODE | DESCRIPTION |
---|---|
4468 | Marinas, Marine service/supplies |
5499 | Miscellaneous food stores; Convenience stores, markets, and specialty stores |
5541 | Service stations (with or without ancillary services) |
5542 | Fuel dispenser, automated |
5983 | Fuel dealers – Coal, fuel oil, liquefied petroleum, wood |
CODE | DESCRIPTION |
---|---|
5013 | Motor vehicle supplies and new parts |
5511 | Automobile and truck dealers – Sales, service, repairs, parts, and leasing |
5531 | Auto stores, home supply stores |
5532 | Automotive tire stores |
5533 | Automotive parts, accessories stores |
5599 | Miscellaneous automotive, aircraft, and farm equipment dealers |
7531 | Automotive body repair shops |
7534 | Tire retreading and repair shops |
7535 | Automotive paint shops |
7538 | Automotive service shops (non-dealer) |
7542 | Car washes |
7549 | Towing services |
7692 | Welding |
7699 | Miscellaneous repair shops and related services |
Use the following query to simulate a fleet authorization with Mastercard:
For purchases at Automated Fuel Dispensers (AFDs), the full transaction amount may not be known at authorization. Instead, a $1 or estimated amount is sent for authorization at the time of purchase, and authorization advice is sent to confirm the total amount at a later time.
Simulating authorization advice is optional. Visa supports a real-time clearing program, which does not require authorization advice. We recommend skipping simulating authorization advice in the following scenarios:
Use the following query to simulate authorization advice with Mastercard:
Fleet transactions follow the standard authorization and clearing data flow and include enhanced data specific to the fleet vertical via specialized clearing messages. Visa and Mastercard outline three levels of data for fleet transactions, but they provide the data at different times during the transaction lifecycle. Depending on your card product's card network, your system may receive fleet-specific Level 2 and Level 3 data.
Level 1 data contains standard payment network transaction data provided by merchants. This data includes:
Level 1 data is the same for all transaction types and merchants. No enhanced data is captured or provided at this level.
Level 2 data contains enhanced data captured at the point of sale. Level 2 data is always sent at the time a transaction clears. Level 2 transactions have different MCCs based on whether the payment card is used at an Automated Fuel Dispenser or in-store:
Refer to the API Reference for more information on Visa Level 2 Purchase Data Fields.
Visa sends Level 1 and Level 2 data together clearing events. Use the following mutation to simulate clearing with Visa:
Mastercard only sends Level 1 data in clearing events. Use the following query to simulate a clearing with Mastercard:
Level 3 data contains enhanced transaction data and is generally used to send specific data related to non-fuel products and services. Level 3 enhanced data transactions use the same MCCs as Level 1 and 2 data for AFD and in-store MCCs:
You can set up a Notification Event to alert you when Level 3 enhanced data has been added to a transaction.
Visa Level 3 data is typically sent between 24 to 48 hours after the transaction takes place. Merchants are not required to report enhanced data for fuel-only transactions.
Level 3 data typically follows an invoice structure with invoice summary information and invoice line item detail information. Refer to the API Reference for more information on Visa Level 3 Enhanced Data Fields.
Use the following mutation to simulate Visa fleet enhanced data:
Mastercard defines enhanced data as Level 2 and Level 3 data. Mastercard Level 2 and Level 3 data is sent at the end of the business day (EST).
Level 3 data typically follows an invoice structure with invoice summary information and invoice line item detail information. Refer to the API Reference for more information on Mastercard Enhanced Data Fields.
Use the following mutation to simulate Mastercard fleet enhanced data:
To automate your integration, subscribe to the following notification events:
The details provided in the payloads from these events can be used for the following use cases: