post https://book.liteapi.travel/v3.0/rates/prebook
This endpoint is used to generate a checkout session for a specific offerId
. The input to the endpoint is the specific offerId
coming from Retrieve rates for hotels endpoint.
The response will include a prebookId
which is used to confirm the booking in the next step.
The usePaymentSdk
parameter is used to determine if the payment form will be displayed using the client-side Payment SDK or not.