Skip to content
Docs
API 1.0.0 · 22 Nov 2026

Search the docs

    Română

    Documentation

    Guides, API reference and events for POS.

    On this page

    Rules shared by every R&D Copilot API are in the Developer guide.

    Get started

    • Overview: What the POS API does, how a call is built and where to go next.
    • Quickstart: Ring up one sale on the test company: read the till, add a line, pay by card, try again after a decline and read the paid order.
    • Authentication: Get client credentials, request a token and call the POS API with it.
    • Sandbox and live: Build and test against a test company, then move the same calls to your live company.
    • Go-live checklist: The behaviours of your code to confirm on the test company before it works for a live company.

    Concepts

    • Tills and cashiers: What a till, a cashier profile and the current order are, and what the till reports about its network, its queue and its card reader.
    • Orders, lines and payments: The fields of an order, how its lines, discounts and VAT add up, and how payments, refunds, the sync state and the revision sit on it.
    • Order and payment states: The seven statuses of an order and what moves it between them, the states of the card reader, the statuses of a payment and the sync states.
    • Business day: A till sells within a business day: open it with a float, record cash in and out, and close it against the cash counted in the drawer.
    • Money and rounding: How amounts and quantities are written, where VAT sits in a price, and how discounts, VAT, refunds and change are rounded.

    Guides

    • Take a sale: Ring up the current order of a till: read it, add items by sku or barcode, change a line, set the customer and take payment by card or in cash.
    • Refund and void: Void an order that has no payment, refund one that is paid: which statuses allow each, how the refund amount is worked out and what is refused.
    • Split a payment: Pay one order with cash and card: the part payments, the amount and given fields, where the change goes, and what a declined card leaves on the order.
    • Hold and resume: Park the order of a customer who stepped away, serve the next one and resume the first: what the till does, what a held order does not keep and what is refused.
    • Close the day: Record cash in and out, count the drawer, close the business day of a till against the count, read the difference and open the next day.
    • Work without network: What a till does when it loses its network: cash sales finish and wait in a queue, cards, refunds and closing the day wait, and the queue is posted in order when the network returns.

    Devices

    • Card readers: The card reader of a till takes one payment at a time: its states, what moves it, what the API shows about it and the card fields of a payment.

    Reference

    • Errors: The error object of the POS API and the codes that say what went wrong.
    • Error codes: What to do for each code that POS adds to the shared ones, and the code behind each refusal of the till window.
    • Idempotency and concurrency: Repeat a request without applying it twice, and refuse a change made on an out-of-date record.
    • Pagination: Lists come in pages. Follow the cursor until it is empty.
    • Limits: The limits of the POS API, with their values and what happens over them.
    • Versioning: The version is in the path. Additions keep it; a change that could break a caller gets a new one.
    • Changelog: The version of the POS contract, its day and what it contains.

    API reference

    • Catalogue: The items a till sells: their shelf price with VAT, their VAT rate and what is on the shelf.
    • Orders: The sale at the counter: the order of a till, its lines, its customer, and holding, resuming and voiding it.
    • Payments: Pay an order by card or in cash, in one payment or several, and read the payments, declined attempts included.
    • Refunds: Return the units of a paid order, in full or in part, to the method that paid.
    • Tills: The tills of your account: the current order, the network, the queue of stored sales and the card reader.
    • Business days: Open the day of a till, record cash going in and out, and close the day against the cash you counted.
    • Operations: A request that changes data is accepted once and answered with an operation result you can read again.
    • Subscriptions: Register the HTTPS endpoint that receives events, and read and replay the deliveries.

    Events

    • Event envelope: Every POS event has the same envelope; only data changes with the type of the event.
    • Event catalogue: The events POS sends, when each one is sent and what its data holds.
    • Subscriptions: Register an HTTPS endpoint and POS sends your events to it, each one signed.
    • Verify signatures: Every delivery is signed. Check the signature on the raw body before you trust the event.
    • Delivery and retries: An event is sent again when your endpoint does not confirm it, and is kept for replay after the last attempt.
    • Replay: Send a parked event again once your endpoint is ready to take it.