cancel_flight_booking
Preview flight cancellation first with confirm=false or omitted. Show the returned itinerary cancellation scope and exact terms before asking the traveler to confirm. A void preview means Gondola will cancel the itinerary first and only then attempt ticket settlement; the amount returned is not known. To confirm, send the same booking_id plus the preview's cancellation_id, currency, expected_refund_amount, expected_ticket_settlement_method, and expected_ticket_settlement_affected_count with confirm=true, echoing only the terms present in the preview. When the preview has no verified refund amount, leave expected_refund_amount omitted. Itinerary cancellation, ticket settlement, refunds, customer payouts, credits, and Gondola Cash are separate states. If the outcome is uncertain, retrieve the booking or cancellation state instead of repeating the mutation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Leave false or omit for the required preview. Set true only after the traveler accepts the exact preview terms. | |
| currency | No | The exact currency from the preview. Required by the handler only when confirm=true. | |
| booking_id | Yes | The Gondola flight booking ID to preview or cancel. | |
| cancellation_id | No | The exact Gondola cancellation ID from the preview. Required by the handler only when confirm=true. | |
| expected_refund_amount | No | The exact refund amount string from the preview. Required by the handler for confirmation when the preview includes an amount; omit it when the preview amount is unknown. | |
| expected_ticket_settlement_method | No | The exact ticket settlement method from the preview. Echo void when the preview advertises ticket settlement; otherwise omit it. | |
| expected_ticket_settlement_affected_count | No | The exact affected ticket-document count from the preview. Required with expected_ticket_settlement_method; otherwise omit it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |