Check Cancellation Policy
check_cancellation_policyReturns detailed cancellation terms for one or more room packages before booking. Required: searchKey, hotelId, and packageIds[] — pass the package UUID WITHOUT the _hotelId suffix, i.e. quoteId.split('_')[0]. Passing the full quoteId here fails with a misleading SESSION_EXPIRED even on a live session, because the policy lookup matches the bare UUID. Returns policies[], each with packageId, isRefundable, freeCancellationUntil, and fees[] (fromDate, amount, currency). currency is the supplier's own denomination for that penalty and is OMITTED, never guessed, when the supplier does not state one — so read the amount as unpriced if it is absent rather than assuming your search currency. No authentication required. Informational only — use it to confirm the refund/penalty terms with the user, then continue with prepare_booking.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hotelId | Yes | Hotel ID | |
| searchKey | Yes | Search key | |
| packageIds | Yes | Package IDs to check |