Get termination pay periods for a company
GET {{baseUrl}}/v1/companies/:company_id/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
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-Gusto-API-Version | string | Determines the date-based API version associated with your API call. If none is provided, your application's minimum API version is used. | |
Accept | string |
RESPONSES
status: OK
[{"start_date":"2023-01-11","end_date":"2023-01-24","check_date":"2023-01-28","debit_date":"2023-01-26","employee_name":"Mary Warner","employee_uuid":"094f6ded-a790-4651-87e6-4a7f15dec7c6","pay_schedule_uuid":"00ebc4a4-ec88-4435-8f45-c505bb63e501"},{"start_date":"2023-01-25","end_date":"2023-02-07","check_date":"2023-02-10","debit_date":"2023-02-08","employee_name":"Mary Warner","employee_uuid":"094f6ded-a790-4651-87e6-4a7f15dec7c6","pay_schedule_uuid":"00ebc4a4-ec88-4435-8f45-c505bb63e501"}]