Need help with payments

Hello guys. I need to be able to do the following on my app. Receive payments from an user by card payment, and then make a bank transfer to another user. All regarding the same product. I dont know which service to use and how to use it

Try searching the web for a payment processor who supports split payments, that’s probably what you need.

I know stripe does that with stripe connect but I am not sure how to set it uop