Refunds
Refunds of paid orders without taking goods back. Creating a refund needs the acting user to have an open shift at the outlet.
📄️ List refunds
The refunds recorded at the outlet in `X-Outlet-ID`, newest first, including those made in the cashier app. Pages are keyset-based.
📄️ Create a refund
Gives money back on a paid order without taking goods back. A new refund answers `201`; a retry with the same `Idempotency-Key` answers `201` with the same record.
📄️ Get a refund
One refund by its `id`, with the same body as the answer of `POST /refunds`. A refund made in the cashier app can be read too. An unknown `id`, one that is not a UUID, and the `id` of a refund at another outlet all answer `404 NOT_FOUND`.