post
https://example.com/v1//bookings//calculate-cancel-costs
Return the estimated cost for cancelling a confirmed booking. The returned estimatedTotalAmount should be passed verbatim to the subsequent POST /v1/{vertical}/bookings/{id}/cancel call so the cancellation cost can be verified.
Supported verticals: flights, stays, cars, trains. Other verticals return 503.
The Idempotency-Key header is required.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
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