#Vled

1 messages · Page 1 of 1 (latest)

river saffronBOT
bleak sphinx
#

Hello, to be clear are you saying that this works for your accounts in others countries but never UAE ones?

tulip quarry
#

Not really, I'm only developing this for UAE right now, so no information about other countries

bleak sphinx
#

Ah, it looks like you are running in to this because you are trying to create the external account as the connected account itself

tulip quarry
#

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
        })
bleak sphinx
#

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

tulip quarry
#

Im referring to this method

#

So made an assumption that there should be

  1. created connected account
  2. tokenized bank number
bleak sphinx
#

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?

tulip quarry
#

Yes, here is response from dashboard:

bleak sphinx
#

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

tulip quarry
#

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

tulip quarry
#

Im trying to evaluate what would be faster: wait for support response or try to implement alternative that may or may not be possible 🤔

bleak sphinx
#

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.

tulip quarry
#

Ok, thanks for your time, I think this is as far as I can get right now. I dont have questions anymore