PUT
/
userPortal#updateUserBankAccount
curl --request PUT \
  --url 'https://sandbox.rollfi.xyz/userPortal#updateUserBankAccount' \
  --header 'Content-Type: application/json' \
  --data '{
  "method": "updateUserBankAccount",
  "userPayAccountEntity": {
    "userPayAccountEntityId": "b2d51866-7f25-4571-a591-0f5fff62dddc",
    "bankName": "Chase Bank",
    "accountName": "Jacob",
    "accountType": "savings",
    "accountNumber": "9999999999",
    "routingNumber": "122238242",
    "payPercentage": 50
  }
}'
{
  "summary": "Success",
  "value": {
    "userPayAccountEntity": {
      "userPayAccountEntityId": "B2D51866-7F25-4571-A591-0F5FFF62DDDC",
      "status": "Ready",
      "message": "The User pay account Entity has been updated successfully."
    }
  }
}

Body

application/json
method
enum<string>
required
Available options:
updateUserBankAccount
Example:
["updateUserBankAccount"]
userPayAccountEntity
object
required

Response

200
application/json
userPayAccountEntity
object
required