Payment App to charge commision from merchants

Looking for a payment app that allows to charge the merchant our sales commision on revenue and send the balance to its merchants bank.

commissions are priorly agreed with the client on agreement.