Refund a ticket
Pays a ticket's full price out of the clerk's own open register, once the station cancelled its departure, for the ticket whose QR (`qr_payload`) — or printed number (`ticket_number`) with the verification code printed beside it (`verification_code`) — the traveller presents at the station it boards at. Only a ticket paid in cash is refunded: a card payment cannot be reversed yet. A ticket that cost nothing is refunded with no movement. Sent again with the same reference, answers with the refund already made. **Required permission:** `ticketing.sale:write`
/ticketing/v1/tickets/{id}/refundPays a ticket's full price out of the clerk's own open register, once the station cancelled its departure, for the ticket whose QR (qr_payload) — or printed number (ticket_number) with the verification code printed beside it (verification_code) — the traveller presents at the station it boards at. Only a ticket paid in cash is refunded: a card payment cannot be reversed yet. A ticket that cost nothing is refunded with no movement. Sent again with the same reference, answers with the refund already made.
Required permission: ticketing.sale:write
Authorization
oauth2 In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
*/*
*/*
curl -X POST "https://example.com/ticketing/v1/tickets/string/refund" \ -H "Content-Type: application/json" \ -d '{ "reference": "string" }'{ "amount": 0, "currency": "string", "movement_id": "string", "refunded_at": "2019-08-24T14:15:22Z", "refunded_by": "string", "ticket_id": "string", "ticket_status": "string"}Rebook a ticket
Gives the traveller of a ticket whose departure the station cancelled a seat on a later departure of the same trip, at no charge, and issues the new ticket, for the ticket whose QR (`qr_payload`) — or printed number (`ticket_number`) with its verification code (`verification_code`) — the traveller presents. Sent again with the same reference, answers with the ticket already issued. **Required permission:** `ticketing.sale:write`
Reissue a lost or copied ticket
Voids a ticket that still boards and issues in its place a ticket with a new number and a new QR, on the same departure, for the same passenger, seat and price, recorded with the supervisor and the reason. The old code joins the list of voided codes. No money moves. Only a supervisor. **Required permission:** `ticketing.sale:write`