Declare the counted cash
Any signed in user. Files cash counted at the till against the session’s expected amount. It reads as overage, shortage, or balanced, and a caller with no session cannot declare.
POST
/api/v1/sessions/tenderAuthorization
AuthorizationBearer token (JWT) · headerrequiredJWT from POST /api/v1/auth/login sent as Authorization Bearer.
Request body
requiredapplication/jsondeclared_cashnumberrequirednotesstringdefault: ""
Responses
200
The filed declaration
idstringrequiredsession_idstringrequireddeclared_cashstringrequiredexpected_cashstringrequireddifferencestringrequiredstatusstringrequireddeclared_atstringrequired400
Invalid request body: a declared cash amount is required
detailstringrequired401
Not authenticated
detailstringrequired404
No active session
detailstringrequired