Skip to content
Resources

How do developers add hotel booking to a product?

Section titled “How do developers add hotel booking to a product?”

Search and rates are the easy half. A product only becomes useful when it can create a real booking, take payment, and tell the traveler and the hotel that it happened.

Plenty of APIs return hotel content. Far fewer let you complete the transaction.

The short answer

You need four things: live rates and availability, booking creation, payment, and confirmation plus webhooks. Read-only content APIs stop after the first. On Wink the Consumer and Booking Engine APIs are free to use, booking creation runs over REST with OAuth2, there are 70 webhook events including booking.create, and payment is collected for the hotel — which stays merchant of record — so you do not have to become one. An MCP server exposes the same capabilities to AI agents, and web components cover the cases where you want a booking path without building a UI.

CapabilityWhat it meansWhy products stall without it
Live rates and availabilityCurrent prices and what is actually bookable, per date rangeCached rates fail at confirmation and erode trust
Booking creationCreate a real reservation the hotel receivesWithout it you are a referral link, not a product
PaymentTake money as part of the bookingA handoff to another site is where conversion dies
Confirmation and webhooksTell guest, hotel and your system what happenedSupport load and reconciliation gaps otherwise

Most “hotel APIs” a developer finds cover the first and sometimes the second. The transaction is the hard part, and it is the part that decides whether you have a product.

This question shapes everything downstream. Supply resold through a chain arrives with a markup inside the rate, staler availability, and no route back to the hotel for a booking question. Supply that comes from the hotel directly carries the hotel’s own rate, live availability, and a hotel that knows the booking exists.

For anything where the traveler will compare against the hotel’s own website — which is most things — hotel-controlled supply avoids the awkward moment when your price is worse.

If you build hotel booking yourself, becoming the merchant of record means taking on payment liability, chargebacks, refunds, tax handling and often a travel-agency licence in each market.

On Wink the hotel stays merchant of record and payment is collected for the hotel, so an integrator does not inherit that surface. Merchant-of-record arrangements are available on API integrations where a partner genuinely needs to take payment itself, and that route carries its own licensing requirements.

  1. Web components. Drop a bookable search, room list or checkout into an existing page. No backend work; least control over layout.
  2. REST API. Full control over search, rates, booking creation and confirmation, authenticated with OAuth2. Use it when the booking flow is part of your product’s own experience.
  3. MCP server. The same capabilities exposed for AI agents, so an assistant can search, price and complete a booking rather than hand the user off to a website.

The three are not exclusive — a product commonly uses components for a marketing surface and the API for its core flow.

  • Search and price for one city and one date range. Get real rates flowing before designing anything.
  • Create one test booking end to end, including payment and confirmation.
  • Subscribe to booking.create and the cancellation events before you build any UI on top.
  • Decide your attribution model early — source context needs to travel with the booking, or your reporting is guesswork later.
  • Handle the failure cases: availability lost between quote and book, payment declined, partial refunds.

The Consumer and Booking Engine APIs are free. The Partner API includes a free monthly allowance of 10,000 hotel-nights, then bills per unit. Confirmed bookings carry the hotel’s 1.5% platform fee plus card processing at cost, and a 10% default commission applies when your product drove the booking — which is how an integrator earns rather than pays.

  • Building on cached rates. They look fine in development and fail in production.
  • Leaving payment to a redirect. Every handoff loses bookings.
  • Ignoring webhooks until launch. Reconciliation becomes a manual job.
  • Becoming merchant of record without needing to. It is a licensing and liability decision, not just a technical one.
  • Not passing source context. Attribution cannot be reconstructed afterwards.

Keep exploring

Hotel booking API FAQs

What to integrate, what it costs, and who carries the payment liability.

What does a hotel booking API need to support?
Live rates and availability, booking creation, payment, and confirmation with webhooks. Read-only content APIs cover only the first and cannot complete a transaction.
Is the Wink API free to use?
The Consumer and Booking Engine APIs are free. The Partner API includes 10,000 hotel-nights free per month, then bills per unit.
Do I have to become the merchant of record?
No. The hotel stays merchant of record and payment is collected for the hotel. Merchant-of-record arrangements exist for API integrations that genuinely need to take payment, with their own licensing requirements.
Can AI agents book through the same capabilities?
Yes. An MCP server exposes search, pricing and booking to agents, so an assistant can complete a booking instead of handing the user off to a website.
How do I get paid as an integrator?
A 10% default commission applies on bookings your product drove, calculated after the hotel's platform fee and card processing, with attribution lasting 6 months per click.
Do I need to build a UI?
Not necessarily. Web components provide bookable search, room lists and checkout that drop into an existing page; the REST API is there when the flow should be yours.

Live hotel supply, booking creation over REST, webhooks, an MCP server for agents, and payment you do not have to own.