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
method
string
default:addUserBankAccount
required
Example:
["addUserBankAccount"]
benefitEmployeeElection
object
required

Response

200
application/json
Benefits
object
required