How to setup Stripe module to automatically transfer an amount to another Stripe account automatically?

I have a Jotform payment form using Stripe payment gateway selling someone else’s product. I want to set up a scenario where after capturing the submission, I can automatically pay the merchant their fee via Stripe.

I’ve been trying to figure this out for a day and have made several live transactions to test it out but to no avail, back to where I started. Hope you can guide me.

Anyone successfully done this?

For testing use a test environment. Don’t create live transactions for testing or stripe might flag your account for fraudulent behavior.

For you to pay out another account you need to setup connect accounts for each merchant. You can take a look at this documentation to get started on how to set this up. Platforms and marketplaces with Stripe Connect | Stripe Documentation

A bit of warning this is a bit advance and requires a good understanding of APIs and Make itself to set this up. If you find this taking up too much of your time to setup it might be a good investment to find someone who can do this for you.

Hope this helps!