POST
/
benefits#addEmployeeBenefits
curl --request POST \
  --url 'https://sandbox.rollfi.xyz/benefits#addEmployeeBenefits' \
  --header 'Content-Type: application/json' \
  --data '{
  "method": "addEmployeeBenefits",
  "benefitEmployeeElection": {
    "userId": "C0378C3F-0B62-491D-9CD9-1B4CE347D8F1",
    "benefitType": "Medical",
    "effectiveMonth": "December 2024",
    "companyContributionAmountPerPayPeriod": 55,
    "employeeDeductionAmountPerPayPeriod": 25
  }
}'
{
  "Benefits": {
    "status": "Ready",
    "message": "The Benefits for Medical has been saved successfully.",
    "benefitType": "Medical"
  }
}

Body

application/json

Response

200
application/json

The response is of type object.