Return the estimated cost for cancelling a confirmed booking. Pass estimatedTotalAmount or, for trains, cancellationFee to the subsequent POST /v1/{vertical}/bookings/{id}/cancel call so the cancellation cost can be verified. Train responses also include totalPaid and refundAmount.
Supported verticals: flights, stays, cars, trains. Other verticals return 503.
For trains this route is deprecated: use POST /v1/trains/bookings/{id}/operation-quotes and .../operations with operationType: cancellation. Behaviour is unchanged.
The Idempotency-Key header is required.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
401Missing or invalid authentication
404Booking not found
409Booking already in a terminal state
410Offer expired — the fare behind the booking is gone. Returned as OFFER_EXPIRED with recoveryAction: CHANGE_SELECTION.
422Validation error or missing Idempotency-Key
503Service not configured or vertical not supported