The partner method is used to obtain basic information and statistics about the affiliate account.
Endpoint
URL
https://api.wedos.as/partner/partnerMethod
GETInput parameters
The method has no input parameters.
What the method returns
Returns a partner object containing account information and statistics.
Output data
The partner object contains:
- ID – Partner ID
- currency – account currency
- accountSum – current balance of the commission account
- accountSumPreviousMonth – balance of unpaid commissions at the end of the previous month (amount that can be requested for payment)
- stats – overall statistics for the partner account:
- entryCount – number of arrivals (clicks)
- bannerViewCount – number of ad space views
- bannerEntryCount – number of visits from advertising spaces
Example answer
{
"partner": {
"ID": 12345,
"currency": "CZK",
"accountSum": 15234.50,
"accountSumPreviousMonth": 4210.00,
"stats": {
"entryCount": 12450,
"bannerViewCount": 98500,
"bannerEntryCount": 3150
}
},
"requestId": "1495632212.2332.12078"
}
If you have any problems or questions regarding the commission system, please write to affiliate@wedos.com.