Approve payroll approval step
POST/payroll/approvals/{id}/approve
Grants an individual approval within a multi-level payroll approval workflow. Each step must be approved before the run advances to the next.
Request
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | The numeric ID of the approval step. |
Request body
Content type application/json.
| Field | Type | Required | Description |
|---|---|---|---|
comment | string | No | Max length: 500 |
Example
{
"comment": "Approved by Finance Director."
}
Responses
200 Approval step granted
404 Approval step not found
Example request
curl -X POST "https://{tenant}.faciotech.net/api/v1/payroll/approvals/{id}/approve" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"comment": "Approved by Finance Director."}'