/income-totals endpoint.
The /income-totals endpoint provides total pay amounts gathered from all paystubs for each available calendar year.
The Income totals object
Yearly pay information is returned as a series of objects, each representing a calendar year. These objects are returned in theincome_totals array. Each object contains the following attributes:
Attributes
account(string (uuid), optional)period(string, optional): Calendar year.gross_pay(object, optional): Contains the amount of gross pay earned in the calendar year, in total and by category.
List income-totals
GET/v1/income-totals
A query parameter (
account or user) MUST be used when listing income-totals.- List all income-totals by calendar year, from newest to oldest.
- This request returns an object with a
resultsproperty that contains an array of objects for each account that include the account ID,last_payout_date,period_start_date,period_end_date, andincome_totalsobject.
Query parameters
- curl
- python