#Gn4sh
1 messages · Page 1 of 1 (latest)
Ideally, I'd be able to do something like this:
stripe_checkout_url = stripe.checkout.Session.create( mode="payment", line_items=line_items, payment_intent_data=[{ "application_fee_amount": 123, "transfer_data": {"destination": '{{CONNECTED_ACCOUNT_ID1}}'}, }, { "application_fee_amount": 456, "transfer_data": {"destination": '{{CONNECTED_ACCOUNT_ID2}}'}, }], automatic_tax={"enabled": True}, success_url=successful_checkout_url, cancel_url=canceled_checkout_url, )
But I have not found any documentation about such a situation.
Hi, taking a look here
No this is not possible today, You could listen to https://stripe.com/docs/api/events/types#event_types-checkout.session.completed event, and then create transfers to multiple accounts: https://stripe.com/docs/api/transfers/create independently. I'll share your feedback with our product for future product reiterations.
Ok, that is what I thought but I wanted to verify. Thanks!