Cancel my booking
cancel_my_tripCancels one of the connected user's own bookings, by the number shown in my_trips. Two steps: the first call returns the cancellation terms accepted at booking and cancels nothing; a second call with confirm=true within 30 minutes of that preview performs the cancellation. When those terms carry a penalty or are non-refundable, the cancellation also needs accept_penalty=true, which records that the traveller accepted the charge. Not reversible.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trip | Yes | number from my_trips | |
| confirm | Yes | second step: cancels when the terms were previewed within the last 30 minutes; otherwise the call returns the preview | |
| accept_penalty | No | records that the traveller accepted the penalty shown in the preview; required when the terms carry a penalty or are non-refundable |