Preview a sale's tickets
Returns, in Base64, the PDF the station bridge makes of the paid sale's ticket document for the printer of the caller's counter — the same layout a print sends, its QR a sample and its verification code masked — or of one ticket when `ticket` names it, with its page count and the template that drew it. Nothing is printed. **Required permission:** `ticketing.sale:read`
/ticketing/v1/sales/{id}/ticket-previewReturns, in Base64, the PDF the station bridge makes of the paid sale's ticket document for the printer of the caller's counter — the same layout a print sends, its QR a sample and its verification code masked — or of one ticket when ticket names it, with its page count and the template that drew it. Nothing is printed.
Required permission: ticketing.sale:read
Authorization
oauth2 In: header
Path Parameters
Query Parameters
Response Body
*/*
*/*
curl -X GET "https://example.com/ticketing/v1/sales/string/ticket-preview"{ "pages": 0, "pdf": "string", "template": { "confirmed": true, "name": "string", "version": 0 }}Pay a sale
Records the cash handed over, or the standalone card terminal's answer, for a sale awaiting payment. A declined card is recorded and leaves the sale awaiting payment. **Required permission:** `ticketing.sale:write`
Print a sale's tickets at the counter's printer
Prints the paid sale's sold tickets not printed yet, one page each and at most 20 at a time, at the printer of the counter the caller is signed in at, through the station bridge's `ticket` template, and answers DELIVERED, NOT_DELIVERED with the bridge's reason, or OUTCOME_UNKNOWN, with the template the document was sent to be drawn with. A ticket delivered or unknown prints again only through a reprint. A body naming `ticket_ids` prints those of the sale's tickets alone, as a reissue prints the ticket it issued, whatever the sale's other tickets. **Required permission:** `ticketing.sale:write`