#mYT1-on_behalf_of
1 messages ยท Page 1 of 1 (latest)
sure, thanks for help anyway ๐
So these flows are as much a business decision as they are about avoiding error messages. If you use the on_behalf_of parameter then the connected account will be the system of record, will be the account where the funds are settled, and that account's fee structure will be used.
As the connected account appears to be in a different country than your platform, then the connected account's address and phone number will be on your customer statements.
k, can I verify through some endpoint before creating the paymentIntent if connected account is from different country?
that would solve my issue, I'd then know that paymentIntents associated with this account requires on_behalf_of
Yes, you should be able to use our account retrieval endpoint to find the country of the connected account:
https://stripe.com/docs/api/accounts/retrieve?lang=ruby
nice, I will play with it, thanks a lot.