curl --request POST \
--url https://dev.intermezzo.ai/gb/organizations/{organization_id}/payrolls/{payroll_status_id}/approve \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"externalRef": "<string>",
"status": "draft",
"statusId": "<string>"
}Approve a payrun for GB employees.
This endpoint approves the payrun and updates GB-specific cumulative values (YTD gross, tax, taxable pay, allowances, and pension contributions).
Both operations run within a single transaction - if cumulative values update fails, the payrun approval will be rolled back.
curl --request POST \
--url https://dev.intermezzo.ai/gb/organizations/{organization_id}/payrolls/{payroll_status_id}/approve \
--header 'Authorization: Bearer <token>'{
"id": "<string>",
"externalRef": "<string>",
"status": "draft",
"statusId": "<string>"
}Get token from Auth0 and paste it here
Was this page helpful?