Benefit Aggregations
Changed onReturns a list of benefit aggregations for the company
get/companies/{company}/benefit_aggregations
Request
- Base URLhttps://sandbox.checkhq.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
companystring required
ID of the company
Query parameters
startstring date
Aggregate benefits deducted on payrolls with paydays on or after this day.
endstring date
Aggregate benefits deducted on payrolls with paydays on or before this day.
expand_benefitsboolean
If true, will return the full benefit configuration for each benefit. If false, will only return the benefit's ID
Response
200
Example response
{
"results": [
{
"benefit": {
"id": "ben_pQMNgBa3F0Y70rsbjfm6",
"employee": "emp_oDOpbDLpQe5e9CAwEEqF",
"benefit": "125_medical_other",
"description": "Guideline 401(k)",
"effective_start": "2020-01-01",
"company_contribution_amount": "25.00",
"employee_contribution_amount": "100.00"
},
"company_contribution_amount_to_date": "25.00",
"employee_contribution_amount_to_date": "100.00"
}
]
}Changes
- info
endpoint added
- info