post https://sandbox.xola.com/api/users//affiliates//collect
If your affiliate has collected payment from your guests in the form of deposits, and the affiliate owes the seller some money, you can use this API end point to create a transaction that reflects the seller collecting a payment from an 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.