POST
/
benefits#addCompanyBenefitsWithEmployees
curl --request POST \
  --url 'https://sandbox.rollfi.xyz/benefits#addCompanyBenefitsWithEmployees' \
  --header 'Content-Type: application/json' \
  --data '{
  "method": "addCompanyEmployeeBenefits",
  "benefitCompanyElection": {
    "companyId": "9C952CC4-7652-4E2A-9303-912D876057AE",
    "benefitType": "Dental",
    "effectiveMonth": "December 2024"
  },
  "benefitEmployeeElections": [
    {
      "userId": "C0378C3F-0B62-491D-9CD9-1B4CE347D8F1",
      "companyContributionAmountPerPayPeriod": 55,
      "employeeDeductionAmountPerPayPeriod": 25
    }
  ]
}'
{
  "summary": "Success",
  "value": {
    "Benefits": {
      "status": "Ready",
      "message": "The Benefits for Dental has been saved successfully.",
      "benefitType": "Dental"
    }
  }
}

Body

application/json
method
enum<string>
required
Available options:
updateKycInformation
Example:
["updateKycInformation"]
benefitCompanyElection
object
required

Response

200
application/json
Benefits
object
required