Skip to main content
POST
/
benefits#removeCompanyBenefits
removeCompanyBenefits
curl --request POST \
  --url 'https://sandbox.rollfi.xyz/benefits#removeCompanyBenefits' \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "method": "updateUserBankAccount",
  "benefitCompanyElection": {
    "companyId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "benefitType": "<string>",
    "effectiveMonth": "<string>"
  }
}
'
{
  "Benefits": {
    "status": "<string>",
    "benefitType": "<string>",
    "message": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
method
enum<string>
required
Available options:
updateUserBankAccount
Example:

"updateUserBankAccount"

benefitCompanyElection
object
required

Response

Benefits
object
required