get
https://api.gusto-demo.com/v1/payrolls//employees//earnings_statement
Get an employee's earnings statement for the specified payroll as JSON. The statement has the same content as the pay stub PDF: gross earnings, taxes, deductions, employer contributions, a pay summary, and time off balances.
Amounts in this response are display strings that include a currency symbol and thousands separators, for example "$2,100.00".
To download the pay stub as a PDF, use GET /v1/payrolls/{payroll_id}/employees/{employee_id}/pay_stub.
scope: pay_stubs:read