Skip to main content
POST
/
receipts
/
{id}
/
close
Close receipt
curl --request POST \
  --url https://integrations.clopos.com/open-api/v2/receipts/{id}/close \
  --header 'Content-Type: application/json' \
  --header 'x-token: <api-key>' \
  --data '
{
  "payment_methods": [
    {
      "id": 2,
      "name": "Cash",
      "amount": 8.14
    }
  ]
}
'
{
  "success": true,
  "message": "Receipt closed",
  "data": {
    "id": 10950,
    "closed_at": "2025-11-07 09:59:54",
    "payment_methods": [
      {
        "id": 2,
        "name": "Cash",
        "amount": 8.14
      }
    ]
  }
}

Authorizations

x-token
string
header
required

JWT access token obtained from /v2/auth endpoint

Path Parameters

id
integer
required

Receipt ID

Body

application/json
payment_methods
object[]
required

List of payment methods with amounts

Minimum array length: 1
closed_at
string

Closing timestamp. Defaults to current time if omitted. Format: YYYY-MM-DD HH:mm:ss

Example:

"2025-11-07 09:59:54"

Response

Receipt closed successfully

success
boolean
message
string
data
object