Home > Software design >  This application does not have the required permissions for this endpoint on account
This application does not have the required permissions for this endpoint on account

Time:01-04

I am using stripe implementation with Node JS by following this API. I am able to create connect and account but I can't add external bank account for the connected stripe account. I am using Test account credentials. Connected account acct_1KCRy1PszwCMk9PS is enabled. I can't add external account to the connected account from stripe console also. The error says,

This application does not have the required permissions for this endpoint on account 'acct_1KCRy1PszwCMk9PS'.

Code:

  let accountNumber = '000999999991' //https://stripe.com/docs/connect/testing
  let name = 'testanme'
  let object = "bank_account"
  let country = "US"
  let currency = "USD"
  let stripeAccountNumber = 'acct_1KCRy1PszwCMk9PS'

  await stripe.accounts.createExternalAccount(
       stripeAccountNumber,
       {
         external_account: {
            object:object,
            country:country,
            currency: currency,
            account_holder_name:name,
            account_number:accountNumber
         },
       }
  ).then(

       function(result) {

            console.log(result)
       },

       function(err){

            console.log(err.message)
       }
  );

Could you please help me to find out what is the problem? Thanking you.

CodePudding user response:

This account is likely Standard account, where the external accounts used for payouts are managed by Stripe and are not controlled by your platform.

If you want to have full control over an account experience, you might want to consider Customer accounts, where this is reversed and you are responsible for collecting external account details.

  •  Tags:  
  • Related