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:
processedistrue- Current time is earlier than 4pm PT on the
payroll_deadline
scope: payrolls:run