get https://api.gusto-demo.com/v1/companies//pay_periods/unprocessed_termination_pay_periods
When a payroll admin terminates an employee and selects "Dismissal Payroll" as the employee's final payroll, their last pay period will appear on the list.
This endpoint returns the unprocessed pay periods for past and future terminated employees in a given company.
scope: payrolls:read