Benefits
updateEmployeeBenefits
API Reference
- Company Onboarding
- User Onboarding
- Admin Portal
- User Portal
- Payroll
- Benefits
- Reports
- Webhooks
Benefits
updateEmployeeBenefits
This endpoint is used to update employee benefits
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
}
}'
{
"Benefits": {
"status": "Ready",
"message": "The Benefits for Dental has been updated successfully.",
"benefitType": "Dental"
}
}
Body
application/json
Response
200
application/json
The response is of type object
.
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
}
}'
{
"Benefits": {
"status": "Ready",
"message": "The Benefits for Dental has been updated successfully.",
"benefitType": "Dental"
}
}