User

Get user's referral info

Allow a user to view information regarding it's role as a referrer.

get/v1/client/promotions/referral-info

Request

  • Base URL
    https://api.bitlabs.ai
  • URL
    https://api.bitlabs.ai/v1/client/promotions/referral-info
  • Auth
    • API key in header X-Api-Token and API key in header X-User-Id
    • or API key in query parameter token and API key in query parameter uid
    • or HTTP bearer

Response

OK

Example response

{
  "data": {
    "code": "1gFop0",
    "total_amount_earned_as_referrer": 44.55,
    "total_amount_earned_as_referred": 20.4,
    "total_referrals": 44
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.