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`
/ticketing/v1/tickets/{id}/reissueVoids 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
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/reissue" \ -H "Content-Type: application/json" \ -d '{ "reason": "string" }'{ "issued": { "cancelled_at": "2019-08-24T14:15:22Z", "category": "string", "currency": "string", "departure_id": "string", "eligible_for_refund_or_rebooking": true, "fare": { "content_hash": "string", "inputs": { "carrier_id": "string", "category": "string", "days_ahead": 0, "departure_date": "2019-08-24", "departure_time": "string", "distance_metres": 0, "from_locality_id": "string", "from_station_id": "string", "line_id": "string", "service_type": "string", "to_locality_id": "string", "to_station_id": "string" }, "row_id": "string", "steps": [ { "amount": 0, "kind": "string", "row_id": "string" } ], "tariff_release_id": "string" }, "from_station_id": "string", "id": "string", "line_code": "string", "ordinal": 0, "price": 0, "qr": { "active": true, "key_version": "string", "payload": "string" }, "rebooked_from_ticket_id": "string", "sale_id": "string", "sold_at": "2019-08-24T14:15:22Z", "sold_by": "string", "status": "string", "to_station_id": "string" }, "issued_print": { "qr_payload": "string", "ticket_id": "string", "verification_code": "string" }, "reissue": { "id": "string", "reason": "string", "reissued_at": "2019-08-24T14:15:22Z", "reissued_by": "string" }, "voided_status": "string", "voided_ticket_id": "string"}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`
Reprint a ticket
Hands out a ticket's paper again after a failed print: the same ticket with the same active QR, no new code made, recorded with the clerk and the reason. Only the clerk whose sale it is, or a caller holding the supervisor override. Where the deployment has a station bridge and the caller is signed in at a counter, the ticket also prints at that counter's printer and `printing` says how it ended; otherwise `printing` is null. **Required permission:** `ticketing.sale:write`