cancelBooking
Cancel one of the caller's own paid Stay bookings under the Stay's cancellation policy. Only call this after getCancellationOptions returned canCancel: true, you have told the member its message and onCancel text, and the member has explicitly said they want to cancel; pass confirm: true. Cancelling can't be undone online. A refund or credit of the booking fee goes to the member's Nomad Stays wallet automatically. For a Custom policy (cancellationType 'request') this only sends a request to the Nomad Stays team and the Stay, and the booking stays active until they reply by email. The member, the Stay and the Nomad Stays team are emailed either way. Requires the 'bookings' scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pnr | Yes | The booking reference (PNR) to cancel | |
| reason | No | The member's reason for cancelling, if they gave one (optional, up to 1000 characters) | |
| confirm | Yes | Must be true, and only once the member has explicitly agreed to cancel |