Till sales waiting to be paid
- Credentials, one of
- Station token
- OAuth access token
- Scopes
orders:read
Sales kept with keepScanToPay and not paid yet, oldest first: who still owes the merchant, and how much. A sale leaves the list once its money lands (from the link, or settleTillWaiting) or it is cancelled. Read from the server, so every till shows the same list.
Access: OAuth scope orders:read; not write-gated.
AuthorizationBearer <token>It may call only the operations whose x-stations lists its kind, on its own store, and acts through the access of the owner or admin who paired it. Unpairing it, or that person leaving the business, ends it (401 station_revoked).
storeId*stringA store the person can reach. Any other id answers 404, never 403.
cursor?stringThe nextCursor of the previous page, unchanged. A cursor that is not one we gave you is 400 bad_request.
limit?integerPage size: default 100, at most 200 (more is 200; a missing or unusable value is 100).
1 <= value <= 200100OK
application/json- response
data*curl -X GET 'https://api.shopeazy.co/v1/merchant/stores/<storeId>/till/waiting' \ -H 'Authorization: Bearer <access_token>'{ "data": { "items": [ { "orderId": "string", "number": "string", "customer": "string", "phone": "string", "email": "string", "totalMinor": 0, "dueMinor": 0, "placedAt": 0 } ], "nextCursor": "string" }}Keep a Scan to pay sale for the customer to pay later POST
The customer will pay later from the link they already have ("Pay later"). The sale is handed over and its stock taken now (the customer took it; stock may go below zero), and it waits in `listTillWaiting` until the money lands, by the link or recorded with `settleTillWaiting`. Nothing is cancelled, and the link lasts a week. `status: paid` when the money landed while the QR was up: finish it as a normal Scan to pay sale instead. Doing it twice changes nothing. Till PINs: when the store uses them, the cashier is the one `cashierTicket` names (403 `cashier_required` without one). Access: OAuth scope `orders:write`; write-gated by the subscription.
A fresh pay link for a sale still waiting POST
Mints a new pass for the sale's pay page, to send again (WhatsApp, a copy). It lasts a week like the first. 422 when the sale is paid, cancelled or was never kept for later. Nothing is charged. Access: OAuth scope `orders:write`; write-gated by the subscription.