book_flight
Book a prepared flight only after the traveler explicitly confirms the exact current quote, total, currency, and consent version. Use the handoff_id and quote_id returned by prepare_flight_booking and a saved payment_id from get_payment_methods. Gondola derives the traveler ID and type and a stable booking request ID; do not invent or retry with different identities. If the outcome is uncertain, retrieve the booking state instead of repeating the mutation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true after the traveler explicitly confirms the exact displayed quote and terms. | |
| contact | Yes | Contact details for booking notices and disruption communication. | |
| currency | Yes | The three-letter currency shown with the confirmed total, such as USD. | |
| quote_id | Yes | The exact current Gondola quote ID returned by prepare_flight_booking. | |
| traveler | Yes | The adult traveler whose identity will be derived by Gondola for this booking. | |
| handoff_id | Yes | The Gondola handoff ID returned by prepare_flight_booking. | |
| payment_id | Yes | The saved payment method ID returned by get_payment_methods. Never provide card numbers or security codes. | |
| consent_version | Yes | The exact consent version returned with the current quote. | |
| expected_total_amount | Yes | The exact displayed total amount the traveler confirmed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |