Collect payment from an affiliate

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.

Path Params
string
required

The User ID

string
required

The affiliate ID

Body Params
float
required

The amount to collect

string
required

One of Xola's valid payment methods

string

Any note or comment about this transaction

Responses

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