The following data should be transmitted with your data calls (shown as standard JSON array):
{
"apikey": "YOUR API KEY",
"affiliate": "AFFILIATE CODE",
"data": {
"op": "OP NAME",
}
}
apikey = Your api key as set in the
settings. This must be included with all calls.
affiliate = Affiliate code, this would come from the cookie that is set (see below).
data = Array of instructions to get the data you require. See below. The "op" key MUST be included with
any of the following values:
payments, commissions, referrals OR info
Additional data can be passed as shown below to filter information. If successful data is returned as shown in
the examples below. Also see the error response for error handling.