book_hotel
Book a hotel room and get a secure checkout URL for direct guest payment. No credit card details collected in conversation — guest completes payment on hosted checkout page.
Instructions
Book a hotel room. Returns a secure checkout URL where the guest completes payment. Do not collect credit card numbers, payment info, or billing details in conversation.
Guest pays the hotel directly. Their credit card statement shows the hotel name, not 1Stay. Hotel's own confirmation number. Loyalty points apply automatically. A 1Stay Booking Fee is added at checkout.
Requires rate_code from get_hotel_details (expires in approximately 15 minutes). If expired, call get_hotel_details again for a fresh code.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hotel_id | Yes | Hotel ID from search or details | |
| rate_code | Yes | Rate code from get_hotel_details — you MUST call get_hotel_details first to get a valid rate_code before booking | |
| check_in | Yes | Check-in date in YYYY-MM-DD format (e.g. 2026-05-06) | |
| check_out | Yes | Check-out date in YYYY-MM-DD format (e.g. 2026-05-07) | |
| guests | Yes | Number of guests | |
| guest_name | Yes | Guest full name | |
| guest_email | Yes | Guest email for confirmation | |
| external_reference_id | No | Your unique reference ID for this booking (for idempotency and retrieval) |