Approve or Reject Reimbursement Requests
Approves or rejects one pending reimbursement request of a staff member. Shared rules: see Writing data. Needs Payroll on your plan.
- Find the request with List Reimbursement Requests (
GET /requests/reimbursements). Send itsreimbursement_dateasdateand itsamount. - Only pending requests can be decided. Revoke is not available.
actionisAPPROVEorREJECT.reasonis optional, at max 500 characters, trimmed.statusin the response can staypendingwhen a multi-level approval flow still needs a later level. An Admin’s approval finishes all levels.- If no pending request matches
date, the response is404“Reimbursement request not found.” If more than one pending request matches, the response is400ondate(“Decide them in the SalaryBox app.”). - You cannot decide your own request (
400). A request that is not pending at your approval level gives403. A finalised payroll month gives400. - Repeating the request after it succeeded returns
404, which is harmless.
Authentication
AuthorizationApi-Key
Format: “Api-Key {api-key}”
Path parameters
salarybox_id
SalaryBox ID of the staff member who raised the request.
Request
This endpoint expects an object.
date
The reimbursement_date of the request as listed by GET /requests/reimbursements.
amount
The amount of the request as listed by GET /requests/reimbursements.
action
Allowed values:
reason
Response
The decision was saved.
message
status
data
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error
