API Reference
- Company Onboarding
- User Onboarding
- Admin Portal
- User Portal
- Payroll
- Benefits
- Reports
- Webhooks
Benefits
UpdateEmployeeBenefits
PUT
/
benefits#updateEmployeeBenefits
curl --request PUT \
--url 'https://sandbox.rollfi.xyz/benefits#updateEmployeeBenefits' \
--header 'Content-Type: application/json' \
--data '{
"method": "updateEmployeeBenefits",
"benefitEmployeeElection": {
"userId": "1C58E147-2F3F-46C1-B6B7-098B6EA94993",
"benefitType": "Dental",
"effectiveMonth": "January 2025",
"companyContributionAmountPerPayPeriod": 75,
"employeeDeductionAmountPerPayPeriod": 25
}
}'
{
"summary": "Success",
"value": {
"Benefits": {
"status": "Ready",
"message": "The Benefits for Dental has been updated successfully.",
"benefitType": "Dental"
}
}
}
Body
application/json
Example:
["addUserBankAccount"]
Maximum length:
40
Maximum length:
25
curl --request PUT \
--url 'https://sandbox.rollfi.xyz/benefits#updateEmployeeBenefits' \
--header 'Content-Type: application/json' \
--data '{
"method": "updateEmployeeBenefits",
"benefitEmployeeElection": {
"userId": "1C58E147-2F3F-46C1-B6B7-098B6EA94993",
"benefitType": "Dental",
"effectiveMonth": "January 2025",
"companyContributionAmountPerPayPeriod": 75,
"employeeDeductionAmountPerPayPeriod": 25
}
}'
{
"summary": "Success",
"value": {
"Benefits": {
"status": "Ready",
"message": "The Benefits for Dental has been updated successfully.",
"benefitType": "Dental"
}
}
}