Cancel Ticket
cancel_ticketCancel a RegioJet reservation or paid ticket by ticket ID, optionally refunding to the original payment source; confirm with the user first and note possible cancellation charges.
Instructions
Cancel a reservation or a paid ticket. Paid tickets may incur cancel_charge (see get_my_ticket). Confirm with the user first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Response language; defaults to server setting. | |
| ticket_id | Yes | ||
| refund_to_original_source | No | Refund a paid ticket to the card it was paid with instead of account credit. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||