Hotel API Guideline
This guide outlines the complete flow for integrating with the Hotel Distribution API.
Concept of Product Composition
Integration Flow
- Fetch hotel static data from
/api/v1/tourmind/hotels. - Show hotel details with
/api/v1/tourmind/hotels/{slug}when the user opens a hotel. - Use
/api/v1/tourmind/hotels/suggestionsto help users search by hotel name or destination. - Search available hotels with
/api/v1/tourmind/hotels/search. - Request live prices for selected hotel codes with
/api/v1/tourmind/hotels/search/prices. - Load rooms and rates from
/api/v1/tourmind/hotels/{slug}/rooms. - Send the selected rate to
/api/v1/unified-booking/checkoutto review the final booking details and price (encrypted withencryptBookingPayload+X-Payload-Signature&X-Recaptcha-Token— see Checkout Security & Bot Protection). - Confirm the booking with
/api/v1/unified-booking/checkout/confirm(also protected by payload encryption,X-Payload-Signature, andX-Recaptcha-Token). - After booking success, continue with the Payment Request API.