POST
/
adminPortal#setCompanyPlaidPublicToken
setCompanyPlaidPublicToken
curl --request POST \
  --url 'https://sandbox.rollfi.xyz/adminPortal#setCompanyPlaidPublicToken' \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '{
  "method": "setCompanyPlaidPublicToken",
  "publicToken": "public-sandbox-e06c8e91-0593-47ef-b43e-b5f98f65cdea",
  "companyId": "6F02C752-D451-45FE-9898-050C23F842A6"
}'
{
  "plaidBankAccount": {
    "status": "success",
    "message": "The Company's bank account has been added successfully."
  }
}

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

Response

200
application/json

The response is of type object.