From the outside, a travel booking platform is a search box and a checkout. From the inside, the search box is the easy part. The real product is what happens to a booking after the traveller presses pay — across airlines, hotels and ground suppliers that each hold their own copy of the reservation, change it without asking, and settle the money weeks later.

A booking is not a row in your database. It is a promise held jointly by several companies that do not share one.

So this article follows one booking from first search to final settlement: a family trip with a flight, three hotel nights and an airport transfer, sold by an online travel business. Every module a booking platform needs appears somewhere on that route, along with the failure paths that briefs usually discover in production. The same structure applies to tour operators, hotel groups selling direct, and B2B agencies — only the supplier mix changes.

The Route, and Everyone Standing Along It

  1. Search — availability and prices gathered from suppliers.
  2. Price check — the chosen offer re-confirmed before payment.
  3. Hold — inventory reserved where suppliers allow it.
  4. Payment — money authorised under the right commercial model.
  5. Confirmation — each supplier commits, or does not.
  6. Fulfilment — tickets, vouchers and the itinerary delivered.
  7. Change — voluntary and involuntary changes before travel.
  8. Travel — support while the family is on the road.
  9. Settlement — suppliers paid, commissions collected, margin known.
ActorWhat they need from the platform
TravellerFast search, a price that holds, clear documents, changes without a phone call
Support agentThe whole trip on one screen, supplier references, the power to rebook and refund
Supplier systemsWell-formed requests within their rate limits and certification rules
FinanceA ledger that reconciles card captures, supplier invoices, commissions and refunds
Content and commercial teamHotel content, markups, promotions and supplier priorities they can change without a release
Partners and affiliatesTheir own pricing, attribution and sometimes their own branded front end

Offer, Order, Item, Supplier Record

The modelling decision that everything else hangs on: the traveller's booking and the suppliers' reservations are different objects. The family bought one trip. Behind it sit three supplier reservations, each with its own reference, its own state and its own rules.

ObjectWhat it representsLifetime
OfferA priced proposal returned by search, carrying the supplier's rate key or offer IDMinutes; expires and must be re-checked
OrderWhat the traveller bought from you, with your reference, total price and paymentsFrom checkout until settlement closes
Order itemOne product inside the order — the flight, the hotel stay, the transferHas its own state machine and policies
Supplier reservationThe supplier's record: an airline booking reference, a hotel confirmation numberLives in the supplier's system; you hold a mirror
TravellerEach passenger or guest, with the data each item requiresAttached to items, not just to the order
Ledger entriesEvery authorisation, capture, refund, supplier payable and commission receivableAppend-only

The consequence is that the order's status is derived from its items, never stored as a single column someone updates. "Confirmed" means every item is confirmed; "partially confirmed" is a real state with a real ops queue behind it. The airline industry's own retailing standard, IATA's New Distribution Capability, uses the same offer-and-order vocabulary, which makes this model a natural fit for NDC connections later.

Search: A Workload That Mostly Never Books

Most searches on a travel platform never become bookings, and suppliers know it. Many restrict or charge for search volume relative to bookings — the look-to-book ratio — so the search layer is as much about protecting supplier relationships as about speed.

  • Static content and live availability are separate problems. Hotel descriptions, images and amenities change rarely; store them yourself and index them in a search engine. Prices and availability change constantly; fetch or cache them with short lifetimes. Our Elasticsearch guide covers the content side.
  • Fan out with a deadline. Query suppliers in parallel, each with a timeout, and return what arrived in time. A slow supplier should cost you its own results, not the whole page.
  • Cache availability deliberately. A short-lived cache in Redis, keyed by destination, dates and occupancy, absorbs repeat searches and keeps look-to-book ratios healthy — at the price of occasionally showing a rate that has gone, which the price check catches.
  • Map the same hotel across suppliers. The family's hotel may arrive from a direct connection and two wholesalers under different IDs and names. Content mapping — deciding these are one property — is ongoing operational work, and showing the same hotel three times is a visible defect.
  • Apply commercial rules after retrieval. Markups, currency conversion, partner pricing and supplier preference are rules the commercial team owns, applied in one place.

The Price That Moved Between Click and Pay

The family picks a flight and a hotel rate. Before taking money, the platform re-checks both with the suppliers, because the offer from search may have expired or changed. This step is not optional: booking against a stale rate means either a failed confirmation or a margin you did not plan to give away.

The price check is also where the details that matter legally arrive. Cancellation policy belongs to the rate, not the hotel — the same room can be refundable at one price and non-refundable at another — and it must be shown before payment exactly as the supplier states it. Taxes and mandatory fees need the same care. In the US, the FTC's rule on unfair or deceptive fees requires the total price for short-term lodging, including mandatory fees, to be shown up front, so the total the traveller sees early in the flow must be the total they pay.

  • If the price rose, say so plainly and ask the traveller to accept the new total.
  • If it fell, decide in advance whether you pass the saving on or keep the margin — and make it a rule, not an accident.
  • If the offer is gone, return the traveller to fresh results for the same dates rather than an error page.

Holding Inventory You Do Not Own

A three-item trip creates an ordering problem: you cannot commit all three suppliers at the same instant, so one of them may fail after another has already succeeded. Holds reduce that risk, but suppliers offer them unevenly.

ItemTypical hold behaviourImplication
FlightA reservation can often be created before ticketing, with a ticketing time limit set by the airlineReserve first, ticket after payment and before the limit
Hotel via wholesaler or direct connectFrequently no hold — booking is commitmentBook once payment is authorised; cancellation terms decide the risk
Transfer or activityVaries widely; many suppliers confirm on requestMay sit in an on-request state for hours
Your own allotmentRooms or seats you contracted in advanceDecrement atomically in your database, so two travellers cannot take the last room

The practical rule: hold what can be held, book the freely cancellable items next, and commit the least reversible item last. If anything fails, the orchestrator runs compensating steps — cancel what succeeded, release the hold, void the authorisation — in reverse order. That is a saga, and it belongs in a durable workflow rather than a request handler; the pattern is explained in workflow engines explained.

Taking Money Without Taking Every Risk

How the family's money moves depends on the commercial model, and the choice shapes your payment architecture, your accounting and your exposure.

Merchant modelAgency model
Who charges the travellerYou, as merchant of recordThe supplier, often at the hotel or via the airline's ticketing
How you earnMargin between your sell price and a net rateCommission paid by the supplier, often after travel
Card dataTokenised with your payment providerSometimes passed to the supplier, which widens PCI DSS scope
Refunds and chargebacksYours to process and defendMostly the supplier's, but complaints still arrive at your desk
When it winsPackaging, pricing control, one payment for the whole tripLower capital and risk, wider inventory without prepayment

Many platforms run both, item by item, which is another reason payments attach to the order while settlement attaches to items. Whatever the mix, the mechanics that save trouble are consistent:

  • Authorise, then capture after confirmation. Capturing before suppliers confirm turns every supplier failure into a refund.
  • Keep card data out of your systems. Hosted payment fields and tokenisation shrink your PCI DSS scope; passing raw cards to suppliers expands it, so prefer virtual cards for paying suppliers where available.
  • Expect strong customer authentication. European and UK cardholders will often see a 3-D Secure challenge; the flow must survive the redirect and the abandoned challenge.
  • Model deposits and balances. Tour and package sellers often take a deposit now and the balance before departure — a scheduled charge with retries and reminders, the same machinery a subscription platform uses for renewals.

The Confirmation That Times Out

Here is the failure that separates working platforms from demos. The orchestrator sends the hotel booking request; thirty seconds later the connection times out. Did the hotel book the room or not?

A booking request that times out moves to pending confirmation with the payment authorised but not captured. The platform looks the booking up with the supplier by its own reference: if found, the item is confirmed and payment captured; if not booked, it fails and compensating steps run; if still unknown, it goes to an ops review where an agent calls the supplier.
A timeout is a state, not a failure: payment stays authorised until a lookup or an agent settles the item.

You do not know, and the worst response is to retry blindly — that is how families end up with two rooms and two charges. The correct response is to treat "unknown" as a real state:

  1. Mark the item pending confirmation and keep the payment authorised, not captured.
  2. Query the supplier for a booking under your own reference, which you sent with the request precisely for this moment.
  3. If the supplier supports idempotency keys, resend with the same key; otherwise never resend until the lookup answers.
  4. If the state is still unknown after a set window, route the item to an ops queue with everything an agent needs to call the supplier.
  5. Only when every item reaches a terminal state does the order become confirmed — or partially confirmed, with the traveller told which part.
Item stateEntered whenLeaves to
PricedPrice check succeededHeld, Booking requested, Expired
HeldSupplier accepted a holdBooking requested, Released
Booking requestedRequest sentConfirmed, Failed, Pending confirmation
Pending confirmationTimeout or ambiguous replyConfirmed, Failed, Ops review
On requestSupplier must approve manuallyConfirmed, Declined
ConfirmedSupplier reference receivedTicketed or Fulfilled, Modified, Cancelled
CancelledCancellation acknowledged by supplierRefund pending, Closed

Every transition is recorded with its cause and the supplier's raw response. When a dispute arrives months later, that log is the only witness.

Documents, Messages and the Traveller's Inbox

Once the flight is ticketed and the hotel and transfer confirmed, the family receives their documents: e-ticket receipt, hotel voucher with the supplier's confirmation number, transfer voucher with the meeting point, and one itinerary that ties them together. Each document is generated from the order, so any later change regenerates it rather than leaving a stale PDF in the inbox.

  • Times in local time, labelled. A departure shows the departure airport's local time, an arrival the destination's — never the server's clock.
  • Messages by event, not by screen. Confirmation, payment receipt, balance due, check-in opening, schedule change, cancellation — each triggered by a state change, each with a channel policy.
  • Urgent changes on the fastest channel. A schedule change two days before departure belongs in a push or SMS, not only an email.

The delivery machinery — templates, channel fallback, preferences and retry — is the subject of notification systems at scale.

Changes Nobody Requested

Three weeks before departure, the airline moves the flight by four hours. Nobody at your company did anything, yet the booking changed. Involuntary changes are routine in travel, and a platform that only handles changes the traveller initiates will drown its support team.

  • Detect. Airlines push schedule changes through GDS queues or NDC notifications; hotels and wholesalers occasionally cancel or relocate. Poll or subscribe, then compare against the order.
  • Classify. A small time shift may be accepted automatically under policy; a change that breaks the airport transfer timing, or a connection, needs a human or a traveller decision.
  • Cascade. The flight moved, so the transfer pickup must move too. Dependencies between items belong in the model.
  • Offer options. Accept, rebook, or cancel with a refund where the rules entitle the traveller to one.

Voluntary changes run the price-check machinery again: the new item is a fresh offer, plus any change fee, minus or plus the difference. Cancellations follow the rate's policy, and the deadline is usually expressed in the supplier's local time — a hotel's "free cancellation until 18:00 the day before" is 18:00 at the hotel, not wherever the family lives.

While the Family Is Travelling

During the trip, the platform's main user is the support agent. The family's transfer driver has not appeared; the agent needs the full order, the supplier's emergency contact, the voucher, and the authority to book an alternative and record the cost against the right item — in one screen, at any hour.

On the traveller's side, the itinerary should be readable offline on a phone. Airport arrival halls are not where you want a document to depend on roaming data.

Settlement, Where Margin Is Found or Lost

The family is home; the booking is not finished. Settlement is where a travel business discovers whether it made money, and it is the module most often left until after launch.

Settlement taskWhat the platform must do
Supplier invoicesMatch each invoice line to an order item and flag differences in rate, nights or currency
CommissionsTrack expected commission on agency-model items and chase what has not been paid after travel
No-shows and partial useRecord what the supplier charged and whether it can be passed on
RefundsReturn money to the original payment method and reconcile against supplier refunds, which may arrive later or not at all
ChargebacksAssemble the evidence pack — terms accepted, policy shown, confirmations, documents sent — from the transition log
Revenue recognitionSupport whatever basis your accountants choose, commonly linked to travel date rather than booking date

None of this works without the append-only ledger from the domain model. Corrections are new entries, never edits, and every entry points at an order item.

Regulation Along the Route

Several regimes touch a booking platform, and where each one bites is specific. These are the common ones; confirm your position with counsel for your markets.

RegimeWhere it lands in the system
PCI DSSPayment fields, card storage, and any path that passes card data to suppliers
GDPR and other privacy lawPassport and date-of-birth data collected for airlines, retention rules, and access for support agents
EU Package Travel Directive and UK package rulesSelling a flight and hotel together can make you an organiser, with liability for the whole trip and insolvency protection duties
US FTC fees ruleHow totals for short-term lodging are displayed in search and checkout
European Accessibility ActAccessibility of e-commerce and certain passenger transport booking services sold in the EU

The package rule deserves emphasis because it is a product decision with legal weight: whether the family's flight and hotel are sold as one package or as separate bookings changes your obligations, so the checkout flow must be designed with that answer known.

An Architecture Shaped by Suppliers

Travel architectures are dominated by the outside world: slow, rate-limited, occasionally inconsistent supplier systems. The design goal is to contain that unreliability so it never leaks into the traveller's experience or your ledger.

ComponentTechnology we would reach forWhy there
Web front endNext.jsServer-rendered destination and hotel pages for search engines; a fast, interactive search and checkout
Supplier adaptersOne module per supplier behind a common interfaceEach supplier's quirks, mappings and certification rules stay isolated; adding a supplier never touches the order model
Search serviceParallel fan-out with timeouts; Redis cacheProtects look-to-book ratios and keeps results fast when a supplier is slow
Content searchElasticsearchDestination and hotel content search, filters and facets
Orders and ledgerPostgreSQLTransactions across orders, items and ledger entries; the source of truth
Booking orchestrationDurable workflow with queue workers and an outboxSagas, retries, unknown-state lookups and compensation survive restarts
Ops and finance consoleInternal app on the same APIPending confirmations, schedule changes, refunds and reconciliation queues

The adapter layer is where most of the long-term engineering lands. Each supplier has its own message formats, test environment and certification process, and keeping all of that out of the core model is what lets the second and tenth supplier cost less than the first. This is the shape of the web application development work we do for transaction-heavy platforms.

Sequencing the Build Around One Supplier

  1. The order model and ledger, with one supplier and one product type, end to end — including the unknown-state path.
  2. Search and price check for that supplier, with caching and expiry handled.
  3. Payments under your chosen commercial model, authorise-then-capture.
  4. Documents and notifications generated from order state.
  5. The ops console — pending confirmations, manual interventions, refunds.
  6. A second supplier, which proves the adapter boundary and forces content mapping.
  7. Involuntary change handling and cancellation automation.
  8. Multi-item trips and packaging, once single items are reliable — with the package rules settled first.
  9. Settlement and reconciliation tooling, before volume makes manual matching impossible.

What Makes Travel Platforms Expensive

We will not publish a price range, because travel builds vary more with commercial choices than with screens. These are the drivers that move effort most:

  • Supplier count and type. Each GDS, NDC, wholesaler or direct connection is its own integration, test cycle and certification.
  • Content mapping. Multiple hotel sources mean ongoing deduplication tooling and operational effort.
  • Commercial model. Merchant, agency or both, and whether you package items together.
  • Change automation depth. Handling involuntary changes automatically versus routing them to agents.
  • Markets. Currencies, languages, tax display rules and local payment methods.
  • Partner channels. White-label front ends, affiliate attribution and B2B pricing.

The travel and hospitality platforms that age well are the ones that modelled the booking honestly at the start. If you are planning one, book a build consult and we will walk your booking route with you.

Frequently Asked Questions

What happens when a travel supplier's booking request times out?

Treat the timeout as a state, not a failure. Mark the item pending confirmation and do not capture the payment, then query the supplier for a booking under your own reference. If the supplier supports idempotency keys, resend with the same key; otherwise never resend until the lookup answers. If the state is still unknown after a set window, route the item to an ops queue so an agent can call the supplier.

What is the difference between the merchant model and the agency model in travel?

In the merchant model you charge the customer as merchant of record, earn the margin between your sell price and a net rate, and handle refunds and chargebacks yourself. In the agency model the supplier charges the customer and pays you a commission, often after travel. Merchant gives packaging and pricing control; agency means lower capital and risk. Many platforms run both, item by item.

Why does a travel booking platform re-check prices before payment?

Because the offer returned by search may have expired or changed, and booking against a stale rate means either a failed confirmation or margin you did not plan to give away. The price check is also where cancellation policy, taxes and mandatory fees arrive, and in the US the FTC's fees rule requires the total price for short-term lodging, including mandatory fees, to be shown up front.

Does selling a flight and hotel together create extra legal obligations?

It can. Under the EU Package Travel Directive and UK package rules, selling a flight and hotel together can make you an organiser, with liability for the whole trip and insolvency protection duties. Whether items are sold as one package or as separate bookings is a product decision with legal weight, so the checkout flow must be designed with that answer known. Confirm your position with counsel.

What drives the cost of building a travel booking platform?

Commercial choices more than screens. The biggest drivers are supplier count and type, since each GDS, NDC, wholesaler or direct connection is its own integration, test cycle and certification; content mapping across multiple hotel sources; a merchant, agency or mixed model and whether you package items; how far involuntary changes are automated; the markets served; and partner channels such as white-label front ends.

Sources