Cancel Booking (step 2 of 2)
cancel_bookingSecond of two steps to cancel a booking: cancels it and starts any refund due. Irreversible. Requires the confirmation code and the single-use token that request_cancel_token emailed to the guest; a missing, expired or already-used token is rejected. get_cancellation_policy shows the refund terms that apply.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"confirmationCode": "<confirmationCode>",
"cancelToken": "<cancelToken>",
"reason": "<reason>"
},
"name": "cancel_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Guest-provided cancellation reason (at least 3 characters) | |
| cancelToken | Yes | Single-use cancellation token from the email request_cancel_token sent to the guest. | |
| confirmationCode | Yes | 8-char booking confirmation code, e.g. K7X9M2P4 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| refundAmount | Yes | ||
| refundStatus | Yes | ||
| gatewaySettlementEta | Yes |