Skip to main content
GET
/
reports#getCompanyBenefits
getCompanyBenefits
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"
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
method
string
required
companyId
string
required

Response

Benefits
object[]
required
EmployeeBenefitDetails
object[]
required