Close an existing receipt with payment methods and closing timestamp
| Parameter | Type | Description |
|---|---|---|
id | number | Unique identifier of the receipt to close. |
| Field | Type | Required | Description |
|---|---|---|---|
id | number | Yes | Receipt identifier (must match path parameter). |
cid | string | Yes | Transaction UUID. |
payment_methods | array | Yes | List of payment methods with amounts. |
closed_at | string | Yes | Closing timestamp in format "YYYY-MM-DD HH:mm:ss". Must be greater than created_at. |
| Field | Type | Description |
|---|---|---|
id | number | Receipt identifier (must match the path parameter). |
cid | string | Transaction UUID. |
payment_methods | array | List of payment methods with amounts. |
closed_at | string | Closing timestamp in format "YYYY-MM-DD HH:mm:ss". |
payment_methods[]| Field | Type | Required | Description |
|---|---|---|---|
id | number | ✓ | Payment method ID. |
name | string | ✓ | Method name. |
amount | number | ✓ | Amount paid using this method. |
closed_at must be greater than created_at. The closing timestamp cannot be earlier than the receipt creation time.id in the request body must match the id in the URL path.payment_methods[] should equal the receipt total.status to 1 (open) when closing a receipt. The receipt will be automatically set to closed status.2 (closed) when using this endpoint.closed_at timestamp must be in the format "YYYY-MM-DD HH:mm:ss" and must be later than the receipt’s created_at timestamp.Access token obtained from /auth endpoint
Brand identifier
Venue identifier
Receipt ID