#aryan_api

1 messages ยท Page 1 of 1 (latest)

unreal shoalBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฑ๏ธ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime!

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1212749932843503727

๐Ÿ“ Have more to share? You can add more detail below, including code, screenshots, videos, etc.

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question. Thank you for your patience!

frosty elkBOT
cursive nebula
#

๐Ÿ‘‹ happy to help

#

once you create an account you can no longer change its country

dreamy belfry
#

But when I am using the stripe api to create an account object, I am not passing any specific country there. How come is that stuck to one particular country ?

#

Also, is there a way to let the user select the country while creating the account ?

#

this is what country I am talking about

cursive nebula
frosty elkBOT
dreamy belfry
#

okay so it says that we can set the onboarding account's country by passing the country parameter in api or else it will default to the platform account's address

#

but is there any way we can let user select the country on the stripe setup page ?

vocal hemlock
#

๐Ÿ‘‹ stepping in here

#

So the way to do this is to not pass in capabilities when you create the account

#

If you don't pass that in then the user will be able to select the country.

#

And we will use your Connect Settings in your Dashboard to assign capabilities based on country selected.

dreamy belfry
#

Is there any other field which can restrict it ? Because I removed the capabilities attribute but still its stuck on US

vocal hemlock
#

Hmm I tested with creating an empty account and it worked... I don't think business_profile should affect things here.

dreamy belfry
vocal hemlock
#

Do you have countries enabled in your Connect Settings?

#

No, that should be the only place really

dreamy belfry
#

It seems to work fine when I pass a country in account object through API. I just want it to be dynamic with user selection

dreamy belfry
vocal hemlock
#

What happens if you remove business_profile?

#

Just for a test

#

I really don't think that should make the difference here

dreamy belfry
vocal hemlock
#

Yes please

dreamy belfry
#

Ok give me a min.

#

na, its still stuck just on US

#

Can it be due to some specific setting on the connect/express account ?

vocal hemlock
#

Can you provide me the request ID from creating the account?

dreamy belfry
#

Okay lemme see that