1. Create a checkout session (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.

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