Purpose
Close an existing receipt by updating its payment methods and setting the closing timestamp. This endpoint is used to finalize a receipt that was previously created but not yet closed.HTTP Request
Path Parameters
| Parameter | Type | Description |
|---|---|---|
id | number | Unique identifier of the receipt to close. |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
payment_methods | array | Yes | List of payment methods with amounts. |
closed_at | string | No | Closing timestamp. Defaults to current time if omitted. |
Payload fields
Required
payment_methods[]— array of payment methods with:id(number)name(string)amount(number)
Optional
closed_at— string timestamp; if omitted, server sets current time.