I am going to work on donation based app, where I need to do P2P payments as per the following scenario:
- UserA wants to send a amount from any of these payment methods Paypal, Venmo, Apple Pay, Google Pay, Samsung Pay etc to UserB.
- In our case, we need to send 100% amount to admin first and then from admin after deduction of commission, amount will then needs to be transferred to UserB.
I researched and found that, I can use Braintree which will accept payments from any of these methods but Braintree doesn't support payout option..
So I thought, we can do in this custom way: - UserA chooses any of payment methods e.g. Paypal, then I need to send this amount to Admin and to UserB in their Paypal account. I found Paypal has a payout option for it, so we can transfer the amount from admin's paypal account to userB paypal account.
But for other methods, still I have not found any solution. Kindly suggest some approach for it.