cURL
curl --request PUT \ --url 'https://sandbox.rollfi.xyz/benefits#updateEmployeeBenefits' \ --header 'Authorization: Basic <encoded-value>' \ --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" } }
This endpoint is used to update employee benefits
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The response is of type object.
object