post
https://book.liteapi.travel/v3.0/rates/book
Overview
Step 2 of 2 in the booking flow. Complete the booking by providing guest information and payment details. This confirms the reservation and creates the final booking.
When to Use
- After prebook - Call this after creating a prebook session
- Payment processing - Submit payment information to confirm booking
- Booking confirmation - Finalize the reservation
What You Get
- Booking ID - Unique identifier for the confirmed booking
- Hotel confirmation code - Reference code from the hotel
- Complete booking details - Dates, pricing, room information
- Cancellation policies - Terms for cancelling the booking
- Guest information - Confirmed guest details
Payment Methods
- TRANSACTION - Use when using Payment SDK (provide
transactionId) - ACC_CREDIT_CARD - Direct credit card payment
- WALLET - Wallet payment method
- CREDIT - Use account credit balance
Required Information
- Prebook ID - From the prebook step
- Guest details - First name, last name, and email
- Payment information - Payment method and details
Quick Start
Provide the prebookId, guest information (firstName, lastName, email), and payment details. Returns confirmed booking with booking ID and confirmation code.