Everything about viewing referred accounts.
Get all referral accounts
Parameter | In | Type | Required | Description |
---|---|---|---|---|
page | query | integer(int32) | false | Page number |
limit | query | integer(int32) | false | Number of records per page |
Refer to Status Codes for definitions of HTTP status code responses.
Successful response
curl --include \ --header "Authorization: Basic YXBpLXVzZXJuYW1lOmFwaS1wYXNzd29yZA==" \ 'https://rest.clicksend.com/v3/referral/accounts'
{- "http_code": 200,
- "response_code": "SUCCESS",
- "response_msg": "Here are your referrals.",
- "data": {
- "total": 2,
- "per_page": 15,
- "current_page": 1,
- "last_page": 1,
- "next_page_url": null,
- "prev_page_url": null,
- "from": 1,
- "to": 2,
- "data": [
- {
- "referral_rule_id": 1,
- "refered_user_id": 24,
- "date_referred": 1438260940,
- "percentage_referral": 5
}, - {
- "referral_rule_id": 2,
- "refered_user_id": 25,
- "date_referred": 1438260989,
- "percentage_referral": 5
}
]
}
}