Request a manager approval
Any signed in user. Files a pending approval for an override the till cannot grant. Branch comes from the session unless branch_id names another, and the caller is the requester.
POST
/api/v1/approvalsAuthorization
AuthorizationBearer token (JWT) · headerrequiredJWT from POST /api/v1/auth/login sent as Authorization Bearer.
Request body
requiredapplication/jsonbranch_idstringkindstringreference_idstringreasonstringResponses
201
Approval filed as pending
idstringrequiredbranch_idstringrequiredkindstringrequiredreference_idstringrequiredrequested_bystringrequiredapproved_bystring | nullrequiredstatusstringrequiredreasonstringrequiredcreated_atstringrequired401
Not authenticated
detailstringrequired