Pay POS order
Method POST
https://my.easyweek.io/api/public/v2/orders/{order_uuid}/pay
Description: This endpoint settles an open POS order against a cash/card payment account. The account must belong to the order's branch. payment_method is derived from the account, so it is not part of the payload.
caution
Accounts requiring an out-of-band action (Monobank QR, online payment) are rejected with 422. Orders linked to a booking (a service with a booking_uuid) cannot be paid through this endpoint and return 422 — settle those in the dashboard.
Example Request
curl -i -X POST \
https://my.easyweek.io/api/public/v2/orders/{order_uuid}/pay \
-H 'Authorization: Bearer <YOUR_SECRET>' \
-H 'Workspace: <YOUR_WORKSPACE>'
Request body
{
"account_uuid": "7f3a1c9d-2b4e-4c8a-9f1b-3d5e7a9c1b2d"
}
Path Parameters
- order_uuid (string, required): The unique identifier of the order to pay.
Body Parameters
- account_uuid (string, required): The cash/card payment account. Must belong to the order's branch.
Example Response
{
"uuid": "a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d",
"status": "paid",
"order_number": 42,
"is_reverted": false,
"booking_uuids": [],
"created_at": "2026-07-16T09:00:00Z",
"subtotal": 3000,
"account_paid_amount": 3000,
"voucher_paid_amount": 0,
"discount_amount": 0,
"discount_mode": null,
"discount_percent": null,
"promocode": null,
"promocode_discount_amount": null,
"payment_method": "cash_account",
"comment": null,
"customer": null,
"goods": [
{
"good_uuid": "9c2f1b7e-2f8a-4a1e-bd2c-6b3a1f9e0d11",
"name": "Shampoo",
"article": "SKU-123",
"quantity": 2,
"price": 1500
}
],
"services": [],
"vouchers": []
}
info
Available payment accounts for a location can be listed with Get Accounts (GET /locations/{location_uuid}/accounts).