2. Complete a booking

This API confirms a booking when the prebookId and the rate Id from the prebook stage along with the guest and payment information are passed.

The guest information is an object that should include the guest first name, last name and email.

The payment information can be two different options:

  • TRANSACTION method: when using the Payment SDK, you should use this method and provide the relevant transactionId to confirm.
  • ACC_CREDIT_CARD, WALLET, NONE for all other usages. See our docs for more details.

The response will confirm the booking along with a booking Id and a hotel confirmation code. It will also include the booking details including the dates, price and the cancellation policies.

Language
Credentials
Header
Click Try It! to start a request and see the response here!