hemmabo_booking_checkout
Create a booking and generate a Stripe checkout page for payment. Optionally pass a quote ID to lock the price.
Instructions
Create a booking with Stripe payment and return a checkout URL. Use this tool when the user is ready to pay — it creates the booking record and generates a Stripe payment page. Do NOT call twice for the same booking — check hemmabo_booking_status first to avoid double charges. Optionally pass quoteId from hemmabo_booking_negotiate to lock the price. Returns reservationId, paymentUrl (Stripe checkout page), and pricing details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| propertyId | Yes | Property UUID from hemmabo_search_properties (e.g. '550e8400-e29b-41d4-a716-446655440000'). | |
| checkIn | Yes | Arrival date in ISO 8601 format (YYYY-MM-DD, e.g. '2026-07-15'). Must be today or later. | |
| checkOut | Yes | Departure date in ISO 8601 format (YYYY-MM-DD, e.g. '2026-07-22'). Must be after checkIn. | |
| guests | Yes | Total number of guests as integer >= 1 (e.g. 4). | |
| guestName | Yes | Full name of primary guest (e.g. 'Anna Svensson'). | |
| guestEmail | Yes | Email for booking confirmation (e.g. 'anna@example.com'). Must be a valid email address. | |
| guestPhone | No | Phone with country code (e.g. '+46701234567'). Optional but recommended. | |
| quoteId | No | Quote ID from hemmabo_booking_negotiate to lock the price. Optional — if omitted, a fresh federation price is calculated at checkout time. | |
| paymentMode | No | 'checkout_session' (default): returns Stripe redirect URL. 'payment_intent': returns client_secret for programmatic payment (AI agent MPP flow). | |
| channel | No | 'federation' (default): applies direct booking discount. 'public': uses standard website rate. |