Follow these steps to perform your first B2B booking on Travomatrix.
1. Get Your Credentials
Before you can make API calls, you need an API Key and an Agent ID.
- Sign up or log in to the Travomatrix Partner Dashboard.
- Navigate to the Developer Settings or API Keys section.
- Copy your
X-API-Key and your unique Agent ID. You will need both to search and book flights.
2. Search for Flights
Search for flights to see your commissions and net fares.
Pro-tip: In the examples below, the dod (Date of Departure) is set to a future date in 2027. For live UAT testing, ensure you always pass a future date (e.g., Today + 7 days) to get valid results.
3. Validate & Book
Once you select a flight, lock the price using /fare/validate to get a fare_token. Then, use the fare_token and your agent_id to create a booking. Your agency’s wallet will be atomically debited the net_fare.