put https://api.gusto-demo.com/v1/companies//payrolls//cancel
Transitions a processed payroll back to the unprocessed state. A payroll can be canceled if it meets both criteria:
processedis true- Current time is earlier than 3:30pm PT on the payroll_deadline
scope: payrolls:run