curl --request POST \
--url https://api.cadanapay.com/v1/payrolls/{payrollId}/approve \
--header 'Authorization: Bearer <token>'{
"code": "invalid_request_body",
"message": "The request body provided is not valid",
"params": {
"field": "Value is invalid."
}
}Approve a payroll
curl --request POST \
--url https://api.cadanapay.com/v1/payrolls/{payrollId}/approve \
--header 'Authorization: Bearer <token>'{
"code": "invalid_request_body",
"message": "The request body provided is not valid",
"params": {
"field": "Value is invalid."
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Required when using a Platform API token. The tenant key identifying which business to operate on.
The unique identifier for the payroll
Successful operation