#smontamufloni_api
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/1222465857607827536
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
I just have a doubt, why is the connected account option blocked? Maybe that's why I can't perform the transfer?
Can you provide the sample request ids? The Charge and the Transfer 2 requests
Transfer: tr_3Oyd7JLTZRn8EyEP1kAh71Cf
Charge: ch_3Oyd7JLTZRn8EyEP1FfnDIvq
I just can't understand this, I created a PayamentIntent that the user pays, at this point the recipient of the transaction receives the amount and the platform collects the fees (which are for example X+Y)
I then end by transferring Y to a connected account, but in that transfer I get the error....
Maybe there is some configuration on the dashboard that is not active? I don't see that from the documentation though
Hmm I see you are already setup to transfer to the Connected Account when you created the PaymentIntent, didn't you? https://dashboard.stripe.com/test/logs/req_4DAwWcq3q333zg
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
That's the thing, I have to (as a platform account) collect fees to then give to another connected account. Let me explain further
- Alice buys (100 EUR for example) from Bob (which is a connected account).
- In the payamentIntent the transfer_data.destination is Bob
- The platform collects the fees (application_fee_amount)
- Platform turns over X% of the application_fee_amount to another connected account
To do this then:
- I create the payamentIntent, the user pays, the platform receives the fees (and so far so good)
- As a last step I would miss to take X% of the fees withheld in step 1 and give them to a connected account, to do this I am using precisely transfer, is this correct?
๐ taking over for my colleague. Let me catch up.
if you have a multiparty transfer instead it's better to use separate charges and transfers
I have already tried associating a transfer_group with the payamentIntent and transfer but to no luck..
did you use the source_transaction https://docs.stripe.com/connect/separate-charges-and-transfers#transfer-availability to make sure the amount is available?
so let's go back to your example
Yes I set the source_transaction, now maybe I try again so I will pass you the ids
you create a PaymentIntent for Alice with a 100 EUR amount directly on your account without passing the transfer_data
then you create a transfer to Bob's account with the 100-application_fee_amount with source_transaction (the latest_charge ID from the PaymentIntent)
Got it, I will try and let you know, meanwhile thank you very much for the very fast support!