#Vled
1 messages · Page 1 of 1 (latest)
Hello, to be clear are you saying that this works for your accounts in others countries but never UAE ones?
Not really, I'm only developing this for UAE right now, so no information about other countries
Ah, it looks like you are running in to this because you are trying to create the external account as the connected account itself
From our docs it looks like you need to create the external account object on your platform account and then attach it to the external account https://stripe.com/docs/connect/payouts-bank-accounts?bank-account-collection-integration=direct-api#create-an-external-payouts-account
Ok, give me a moment, I'm checking this method
This is how I create the account:
await this.stripe.accounts.create({
country: this.UAE_COUNTRY_CODE, // 'AE'
type: 'standard',
default_currency: 'AED',
})```
Tokenize the bank number:
```js
await this.stripe.tokens.create({
bank_account: {
country: this.UAE_COUNTRY_CODE,
currency: 'AED',
account_number: body.account_number,
}
})
Then use both id and token here:
await this.stripe.accounts.createExternalAccount(account_id, {
external_account: accountToken
})
Those calls are not the ones from the doc. Are you using a different guide here?
Want to make sure I get what you are going for
Im referring to this method
So made an assumption that there should be
- created connected account
- tokenized bank number
Would you mind linking to that doc?
Ah I see, another tab
Gotcha. So what happens when you make these calls? Are you still seeing some error?
Yes, here is response from dashboard:
Oh I see, this is an account type issue. The top of that section says:
Platforms can view the external accounts for its connected Express accounts. Platforms can update the external accounts for its Custom accounts.
So for Standard accounts it may not be possible to do that at all
Standard accounts typically have the most autonomy and are least modifiable by platforms
As for express and custom accounts that I mentioned, I got the Platforms in AE cannot create custom accounts due to risk control measures error.
Im considering asking support to enable this feature for me as there is a note
So, I guess this is not possible with standard accounts and there is no workaround?
Im trying to evaluate what would be faster: wait for support response or try to implement alternative that may or may not be possible 🤔
Our support responds pretty quickly so they should be able to help you sort this out.
And yep, I double checked and updating this account is Custom account only. That being said, making a Custom account integration takes a lot more development time and resources compared to a Standard Connect integration. You need to develop every surface that the account will interact with as they don't have dashboard access. That does align with your "minimize clients interaction with stripe" goal but I feel it is worth pointing out.
Ok, thanks for your time, I think this is as far as I can get right now. I dont have questions anymore