Prepare a card payment before charging the card
Checks the sale, its register and its departure's selling, and has the sale's seats kept for the payment under `reference`, before the terminal charges the card. Charge the card only once this answers `READY_TO_CHARGE`, then send the payment under the same reference: it settles the sale, or, declined, gives the seats back. Asked again, it answers the same. **Required permission:** `ticketing.sale:write`
/ticketing/v1/sales/{id}/card-payment-preparationsChecks the sale, its register and its departure's selling, and has the sale's seats kept for the payment under reference, before the terminal charges the card. Charge the card only once this answers READY_TO_CHARGE, then send the payment under the same reference: it settles the sale, or, declined, gives the seats back. Asked again, it answers the same.
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/sales/string/card-payment-preparations" \ -H "Content-Type: application/json" \ -d '{ "reference": "string" }'{ "payment_id": "string", "sale_id": "string", "status": "string"}Abandon a sale
Ends a checkout still awaiting payment: the seats it held go back on sale at once, and the sale can no longer be paid. Abandoning it again answers with the same abandonment. **Required permission:** `ticketing.sale:write`
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`