post https://sandbox.xola.com/api/users//affiliates//pay
If your affiliate has accrued commission for all the bookings they've referred, and you need to pay the affiliate their commission, you can use this API end point to create a transaction that reflects the seller paying the affiliate
This will create a transaction of type affiliate
in Xola's records. The transaction will be visible in the seller's reports and you can fetch this transaction through the transactions api.