API - Referrals

/referral/last

Returns the last downline.

Parameters

Return Values

Notes

Exemples

Adresse: http://api.shorten.li
GET /referral/last?uid=VOTRE_ID&secret_key=VOTRE_CLE_SECRETE&limit=2
{
  "status_code": 200,
  "status_txt": "OK",
  "data": [
    {
      "referral_id": "ADW813567",
      "commission": 31.2745,
      "signup_at": 1373072800
    },
    {
      "referral_id": "ADW654199",
      "commission": 65.3987,
      "signup_at": 1365747092
    }
  ]
}

/referral/top

Returns the most profitable downline.

Parameters

Return Values

Notes

Exemples

Adresse: http://api.shorten.li
GET /referral/top?uid=VOTRE_ID&secret_key=VOTRE_CLE_SECRETE&limit=2
{
  "status_code": 200,
  "status_txt": "OK",
  "data": [
    {
      "referral_id": "ADW654199",
      "commission": 65.3987,
      "signup_at": 1365747092
    },
    {
      "referral_id": "ADW813567",
      "commission": 31.2745,
      "signup_at": 1373072800
    }
  ]
}