#rosie-express-countries

1 messages · Page 1 of 1 (latest)

foggy wolf
#

Hello!

#

Our country spec should be correct unless you use what we call "cross border payouts"

slow frost
#

ive tried to look for flags in each of the countries nodes to see which ones our platform supports but it all seems random. is there any flag i should be looking at? like japan and brazil is listed as supported but its not like the other countries which i could assume are supported because they have usd as supported_bank_account_currencies?

the way i currently verify which countries we support right now is create a dummy stripe express account for each country, try and link it to our account, and then flag it as supported if it succeeds and then delete that account. its obviously very wasteful.

#

thanks for replying btw

#

is there any way to get the list of supported cross-border payout countries from our platform country programatically?

foggy wolf
#

really sorry totally missed your messages my bad

#

I don't understand what you mean by "flag"

slow frost
#

i see some countries there that arent actually supported from our platform like morocco. what i mean by flags is based on the countryspec data of each country, what should i be looking at to figure out if our platform account supports express account created for that country.

#

we just want to automate everything without having to look at a list so we are always up to date with our prospective customers.

foggy wolf
#

yeah I don't understand

#

1/ Are you using cross-border payouts or not?

#

this is known by whether you are passing service_agreement: 'recipient' or not on account creation

slow frost
#

ill confirm. give me a sc

#

sec

#

im assuming we do. we have a couple of UK connect accounts weve been paying out to. i dont recall seeing "cross border payouts" in the dashboard though

#

for example: acct_1Hj5SECO1Z3aoIZv

summer crag
#

Hi @slow frost I'm taking over the thread, give me a sec to catch up

slow frost
#

these accounts are created using the old OAuth method so probably why im not familiar with service_agreement

slow frost
#

yeah i dont think we ever pass the tos_acceptance[service_agreement] parameter in our OAuth express account creation so i think we dont have cross border payouts set up at the moment.

summer crag
slow frost
#

yeah. i dont think we use that. the tos_acceptance parameter isnt passed when we create or update an express account. just to simplify my question, is there a way for me to programatically retrieve a list of countries our platform supports for new express accounts? seems the only country related API is countrySpec api but i dont know how to get the list I need from the returned data for those countrySpec objects.

#

because we ran into an issue now in our dev environment where a customer was able to create a stripe account (Peru) and was forwarded to stripe express account creation but the OAuth link returned an error saying Peru is an invalid country. we want to catch that and have a list of stripe express account countries supported ready before allowing customers to proceed to express account onboarding.

foggy wolf
#

so in that case you can trust country specs

#

and Morocco is never available for you

slow frost
#

Hi @foggy wolf countryspec lists down all countries including non public ones like philippines. I think I figured out that anything with supported_bank_account_countries[] == "usd" in the countryspec object is stripe supported in our platform but there are some other countries which are also stripe express account supported but do not have the usd in that node like japan. Is there anything i should look out for in the countryspec object to determine if that country is stripe express account supported for our platform?

foggy wolf
#

hmmm I'm surprised by this, it seems wrong if we do that

#

so where is your platform located? In the US?

#

ah wait no

#

that's because it says stripe_transfer_countries that's why

#

still feels like we should separate cross-border payouts from canonical countries at least

slow frost
#

Yep. US. One other reason i wanted to do it this way is that 1 country shows up in the stripe express account onboarding dropdown which shouldnt be there (Brazil) and 1 also doesnt show up but should be there (Liechtenstein).

foggy wolf
#

because right now if you ingest that, you do show the wrong countries

#

The dropdowns are also configured directly from your Dashboard

#

so maybe that's part of the issue?

slow frost
#

Ah. Yeah i noticed this too. Is there any way I can programatically grab this from an API?

#

because this list seems to be auto updated whenever a new country is supported by stripe express accounts so we wont know when to update our list too.

foggy wolf
#

no that's not in the API today

slow frost
#

ok. thanks man. i appreciate it