Integrate two payment gateways. One is PayPal and the other should be a payment gateway that is used in Nigeria. Both payment gateways should be configured to split payments to two merchants. My website is a Telehealth platform and healthcare directory. So Patients find healthcare providers and book appointments with them. When they pay for the appointment, my website should receive 5% of that payment and the balance will go to the healthcare provider.
So it has to be a split payment system