Estimate cancellation cost

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
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
enum
required
Allowed:
string
required
Headers

Client-generated idempotency key (UUID v4 recommended). Required on all booking mutation requests to prevent duplicate bookings on retry.

Responses

401

Missing or invalid authentication

404

Booking not found

409

Booking already in a terminal state

410

Offer expired — the fare behind the booking is gone. Returned as OFFER_EXPIRED with recoveryAction: CHANGE_SELECTION.

422

Validation error or missing Idempotency-Key

503

Service not configured or vertical not supported

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json