#john307-account

1 messages · Page 1 of 1 (latest)

opal kestrel
#

Hi @tranquil laurel! Give me a few minutes to look into this.

tranquil laurel
#

Thanks @opal kestrel !

opal kestrel
tranquil laurel
#

Got this error

"Error: This application does not have the required permissions for the parameter 'external_account' on account 'acct_xxx'."

#

Here is the code

accountResult = await stripe.accounts.update(
  'acct_xxx',
  {
    "external_account": 
      {
        object      : "bank_account",
        country     : "CA",
        currency     : "cad",
        account_number  :  "11000-000",
        bank_name   : "CANADIAN IMPERIAL BANK OF COMMERCEss",
      }
  }
);
azure dragon
#

what's the account ID acct_xxx?

#

you can share the ID, it's not sensitive and it lets me see some logs on what you're doing

azure dragon
#

in any case, if you're getting this error it almost certainly means you're trying to update the bank account of your own account/a Standard account, or an Express account. In which case this is not how you update their bank details — either the owner of the account updates it on their Stripe dashboard for those first two cases, or you redirect the Express user to the Express dashboard so they can do it there, respectively.

#

that API is only for Custom accounts