Confirm Booking
confirm_bookingUse this when the user asks to continue an owned, unexpired proposal. Without payment it returns the secure hosted checkout handoff and charges nothing: that page verifies the user, shows the current price and cancellation terms, and collects the lead guest, approval and payment. After the user paid there, call it again with the proposal_id: it returns the booking and charges nothing. With payment (a Stripe shared payment token your platform issued for this purchase with the user's approval) it charges that token for the exact quoted total and returns the booking outcome; a changed total charges nothing (TOTAL_CHANGED). For a person under 18 it returns status guardian_must_pay, charges nothing and gives no checkout: use ask_someone_to_pay instead.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"request": "<request>"
},
"name": "confirm_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes | Input for confirming a booking proposal. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| message | No | ||
| segments | No | ||
| booking_id | Yes | ||
| error_code | No | ||
| is_sandbox | No | ||
| respond_by | No | ||
| checkout_url | No | ||
| booking_reference | No | ||
| financial_summary | No | ||
| notification_config | No | ||
| supplier_references | No |