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.