Skip to main content
POST
Quote the current cancellation consequence
Call this immediately before cancellation. The response contains a short-lived quote_id, the accepted offer ID, the current normalized cancellation policy, and one of these penalty states: The quote expires after five minutes or at the next known cancellation-policy boundary, whichever happens first. Submit its quote_id unchanged to Cancel Booking.

Authorizations

x-api-key
string
header
required

Environment-specific API key created in the Unifystays portal

Headers

X-Unifystays-Contract-Version
enum<string>
default:1

Hotel API contract version. Missing defaults to v1.

Available options:
1

Path Parameters

booking_id
string
required

Response

contract_version
string
required
Example:

"1"

success
boolean
required
message
string
required
data
object
required