Cancel a booking (full refund)
anywayr_confirm_cancellationCancels a booking the traveller has asked to cancel, only when anywayr_quote_cancellation said confirm_in_chat. Pass that cancellation_ref and the exact refund it showed. Refuses if the refund changed or is no longer the full amount; then quote again or use the review link. Cannot be undone. Effects: Cancels the reservation with the supplier and refunds the traveller in full. Real money, cannot be undone.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refund | Yes | ||
| request_key | Yes | Any unique string of 16-128 characters you generate (letters, digits and . _ : -). Reuse the same key only to retry the exact same request. | |
| cancellation_ref | Yes | Anywayr cancellation reference (starts with cxl_), as returned by anywayr_quote_cancellation. |