#echohelloworldsemicolon
1 messages · Page 1 of 1 (latest)
Hi 👋 you mentioned that you believe they already had an Express account, does that mean you have OAuth for Express accounts enabled?
Nope, we actually don't. That's what the user told us.
I think I know what's going on. We are creating accounts via API with some preset info, including country code. I'm wondering is there a way to do not allow creating accounts in disabled countries?
Otherwise we will have to maintain two lists of countries, on our backend and in stripe
Do you have the ID of the account in question that I could take a closer look at? If your code is creating the account with a country prefilled, then that may be the cause of the behavior you're seeing.
Yep, ID of the user's account is acct_1NkXlDBLVFUMjXSq
Thank you, taking a closer look.
Yeah, it looks like the request to create that account came from your code.
If you want to allow your users to tell you their country, then you will need to add filtering logic to your end to control which countries they're permitted to select. If you would like our hosted onboarding UI to handle blocking that for you, then I believe the best path forward is to not collect the country from your users and prefill it when creating the Account. Not setting that should allow our UI to collect the country details during onboarding, and enforce the list of accepted countries from what you configured in the dashboard.