Connect API
Overview
Book direct and connecting journeys through a single API.
The Connect API turns an itinerary and its fares into a booking. You search for flights, create an offer from a result, let the traveller choose bundles and luggage, create an order with the passenger details, and pay for it by card.
The two resources
- An offer holds the itinerary, the bundles and the luggage services the traveller can choose from, and a price summary. It expires at
expires_at. - An order is an offer with passenger and contact details. It is paid by card and then booked in the background.
The flow
- Search for flights to get itineraries and their fares.
- Create an offer from the search result the traveller picked.
- Select bundles and luggage on the offer.
- Create the order with the passenger and contact details.
- Confirm the card payment, and complete a 3DS challenge if one is required.
- Poll the order until the booking has finished.
Search is served from its own base URL. Every endpoint is described in the API reference, where you can also call it with your own key. The card payment is the one call that is sent through PCI Proxy instead of straight to Dohop.