cURL
curl --request GET \ --url 'https://sandbox.rollfi.xyz/reports#getCompanyBenefits' \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "method": "getCompanyBenefits", "companyId": "9598E98F-A4DC-419E-96DC-26AC71F08111" } '
{ "Benefits": [ { "BenefitType": "Dental", "Premium per pay period": 0 }, { "BenefitType": "Medical", "Employer contribution per pay period": 0, "Employee covered": 1, "Premium per pay period": 250 }, { "BenefitType": "Vision", "Premium per pay period": 0 } ], "EmployeeBenefitDetails": [ { "Employee": "Nia Stewart", "EmployeeID": "2F3F1D5E-DB45-4268-89DB-E926C631B475", "BenefitType": "Medical", "EffectiveStartMonthYear": "October 2025", "Status": "Active", "Employee contribution": 250, "Employer contribution": 0, "Pay Frequency": "BiWeekly" } ] }
The getCompanyBenefits API retrieves the details for a company’s benefit elections
getCompanyBenefits
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
Show child attributes