Pay an affiliate

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.

Path Params
string
required

The User ID

string
required

The affiliate ID

Body Params
float
required

The amount paid

string
required

One of Xola's valid payment methods

string

Any note or comment about this transaction

date
required

The start date of the date range for which the affiliate was paid

date
required

The end date of the date range for which the affiliate was paid

Responses

Language
Credentials
Header
Request
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json