hotel-bookings

Cancel

Cancel, and record what it cost.

Two outcomes, distinguishable and both real: CANCELLED (refundable, fee 0) and CANCELLED_WITH_CHARGES. The fee and refund come back on THIS response and are not reliably re-readable afterwards, so they are persisted here or nowhere.

post/hotel-bookings/{booking_id}/cancel

Path parameters

booking_idstring uuid required

Response

Successful Response

booking_idstring uuid required
statusstring required
provider_statusstring nullable required
provider_booking_idstring nullable required
hotel_confirmation_codestring nullable required
hotel_idstring required
hotel_namestring nullable required
checkinstring date required
checkoutstring date required
currencystring required
all_in_totalnumber nullable required
booked_totalnumber nullable required
cancellation_feenumber nullable required
refund_amountnumber nullable required
refundable_tagstring nullable required
cancellation_policyobject nullable required
rooms_pricedinteger nullable required
trip_idstring uuid nullable required
stay_tool_call_idstring nullable required
sandboxboolean required
payment_statusstring nullable required
payment_modelstring nullable required
payment_secretstring nullable required
prebook_idstring nullable required
booking_intent_idstring nullable required

Changes

No recorded changes to this endpoint across all 22 revisions of this API.