#mauroneto_connect-onconnect
1 messages · Page 1 of 1 (latest)
đź‘‹ Welcome to your new thread!
⏲️ 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.
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đź”— 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/1219782011863040051
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
@leaden flint I think what you want to look at is likely the Separate Charges and Transfers flow of funds: https://stripe.com/docs/connect/charges-transfers
Just to clarify and expand it further, there are 3 folks involved here
- my master account
- my platform user’s account
- platform user’s affiliate account
My idea was to connect my account to my platform user’s account (this works)
Then use the token to connect my platform user’s account to their affiliates account, this doesn’t work, I get a “Connect platforms cannot create new accounts on behalf of their connected accounts” error
Yes, its definitely a separate transfer operation
Should I link my platform user’s affiliate account also to my account and I can perform a transfer to the affiliate account on behalf of the platform user account?
Ah okay so what you are trying to do is what we call "Connect on Connect" internally and it is impossible basically. As a platform A (you), you can not interact with the connected accounts of a platform B (your user connected to A)
So yes you have 2 approaches here
Option 1: All affiliates are connected to your platform and are your own customers too. You as a platform accept funds from a customer and then split it between the affiliates that did the referral and the business offering the service
Option 2: You can help B to accept payments via Connect (what you do) but you have to let B handle the "funds disbursements" to their own connected accounts
mauroneto_connect-onconnect
For option 2, that would essentially be me getting the keys from B (my platform user account) and tying the affiliates to his own account, right? Is there an OAuth like flow to get to the keys or the simpler way is to ask the user to copy/paste from their dashboard?
yes you would need to ask for their key and no there's no such option today. It's really discouraged overall as a flow today
So its either that, or the money has to run thru my account
yes
Thank you so much! First time using this support channel and its definitely a 5 star experience!
Yay glad you liked it 🙂
What are the fees for these transfers within stripe?
https://stripe.com/pricing covers fees in details
Even within Stripe there are charges from one account to a connected account?
our pricing page covers everything, there's a lot of things that can come into the fees. I can't really talk about pricing here though I focus on the code and the API
If I follow option 1, instead of flowing the money thru my account, can’t I do a transfer from the connected account to my account and the transfer it to the affiliate?
No, you can't pull money out of a Standard account.