SmartGare
API referenceEndpoints

Record a cash movement

Records a float top-up, a safe drop or a manual correction against an open register. **Required permission:** `ticketing.cash-register:write`

POST/ticketing/v1/cash-registers/{id}/movements

Records a float top-up, a safe drop or a manual correction against an open register.

Required permission: ticketing.cash-register:write

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

body*RecordCashMovementRequest

Response Body

*/*

*/*

curl -X POST "https://example.com/ticketing/v1/cash-registers/string/movements" \  -H "Content-Type: application/json" \  -d '{    "amount": 9999999.99,    "kind": "FLOAT_TOP_UP",    "reason": "string"  }'
{  "amount": 0,  "currency": "string",  "id": "string",  "kind": "string",  "occurred_at": "2019-08-24T14:15:22Z"}