#antoine-step
1 messages · Page 1 of 1 (latest)
I realize that I can request card_payment and transfer capabilities while creating the accountLink but then I am limited too creating accounts with addresses in the UK which is not acceptable in my case.
can you say more about that? how did that limitation manifest itself? did you get some kind of specific error message somewhere?
not something I was aware of, you should be able to request card_payments for accounts in any country
still there @vapid island ?
when I open the account link i am asked for an address the country dropdown is disabled and Uk is pre-selected
makes sense
yeah that's because you need to configure countries in https://dashboard.stripe.com/test/settings/connect/express to turn them on
or you should pass the country yourself to the Account Create API /v1/accounts. If you don't do that, then the user picks from the countries you have turned on in your settings(which generally defaults to only your own country until you activate other ones)
so you can change some things on that page and try again, or pass an explicit country when creating the Account
alright I'll do so and get back to you
it might take a while
thank you for you quick support!
can i use this thread for further discussion about this?
you can, but we will close it after maybe 30 minutes/an hour and after that you'll have to post again
alright then I'll try to make a reference to this one
but can you please confirm that the way i am trying to achieve my goal is the best practice?
or is there something else I should consider?
it seems reasonable(normal Subscriptions + Destination charge flow where you as the platform pay all the fees), though I'm not sure I understand why you specifically want to use on_behalf_of (it's because of using that that you need to request card_payments, if you didn't then you'd only need transfers)
can I not use on_behalf_of and still have my connected account be in a country that is different from my main account and pay him
for example:
my main account's country is UK
the connected account is US
the customer (on a product on the main account) is in Poland
can i get paid and transfer 80% to connected account just using transfer_data, without on_behalf_of
oh yeah, whoops
?
no you can't since that would be a cross-border transfer
so you need local settlement(i.e. on_behalf_of), yes. https://stripe.com/docs/connect/account-capabilities#transfers-cross-border
yeah
technically the best option is to be a US company instead unfortunately(as then you can use our https://stripe.com/docs/connect/cross-border-payouts product)
but otherwise everything else you're saying makes sense, it's a normal set up
unfortunately this is not currently an option for me (to be US based)
so now i am creating the account like this
const account = await stripe.accounts.create({
type: 'express',
business_type: 'individual',
});
const accountLink = await stripe.accountLinks.create({
account: account.id,
refresh_url: 'https://example.com/reauth',
return_url: 'https://example.com/return',
type: 'account_onboarding',
});
(node JS)
should i add capabilities to that?
it's optional, if you don't pass them then the capabilities used are defined by the settings page I linked earlier which lets you configure what countries you operate in and what capabilities an account in a country has
IMO it makes most sense if you detect/ask where the user wants their account to be and explicitly pass a country and capabilities as that's more robust and portable(since it doesn't depend on the state in your dashboard settings), but either approach works
alright thanks a lot things seem to working fine now for me
would this apply to a connected account in Japan for example (if i enable it on the page you sent)
yes, should not be any different from an account in say, Poland
Perfect, thank you for your assistance