v1
latestOpenAPI 3.1.02026-07-243113441.2 MBPayrolls
Cancel a payroll
Transitions a processed payroll back to the unprocessed state. A payroll can be canceled if it meets both criteria:
- processed is true
- Current time is earlier than 4pm PT on the payroll_deadline
scope: payrolls:run
put/v1/companies/{company_id}/payrolls/{payroll_id}/cancel
Path parameters
company_idstring required
The UUID of the company
payroll_idstring required
The UUID of the payroll
Headers
X-Gusto-API-Version'2026-06-15'
Determines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used.
Response
Successful