---
title: "Confirm a hotel rate and lock it"
method: POST
path: "/hotels/prepare-booking"
---

# Confirm a hotel rate and lock it

`POST /hotels/prepare-booking`

## Request

- Base URL: `https://www.fareeagle.com/api/v1`
- URL: `https://www.fareeagle.com/api/v1/hotels/prepare-booking`
- Auth: none declared

Takes the booking_token of a room variant from /hotels/search (or /hotels/get-rooms), re-checks availability and price, and opens a booking session for /hotels/create-booking. Returns the confirmed price, whether it changed, the room, the cancellation policy and the guest fields required. Show the policy to the customer before collecting guests.

## Request body

- object
  - `booking_token` string, required: From a hotel search result

## Response `200`

session id (booking_session), confirmed_price, price_changed and difference, hotel, room, is_refundable, cancellation policy, guests fields required, session_expires_in seconds

## Other responses

- `410`: The result has expired: search again

---

[API](https://skmtc.dev/fareeagle/apis/fareeagle-travel-api.md) · [All operations](https://skmtc.dev/fareeagle/apis/fareeagle-travel-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fareeagle/apis/fareeagle-travel-api/revisions/b1611755038e?raw)
