API Reference
- Company Onboarding
- User Onboarding
- Admin Portal
- User Portal
- Payroll
- Benefits
- Reports
- Webhooks
Benefits
AddCompanyBenefitsWithEmployees
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
Available options:
updateKycInformation
Example:
["updateKycInformation"]
Maximum length:
40
Maximum length:
40
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"
}
}
}