curl --request GET \
--url https://api.example.com/partners/referrers/{user_id}/stats/top-referrals \
--header 'X-API-Key: <api-key>'{
"items": [
{
"id": 123,
"full_name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"has_made_first_topup": true,
"is_active": true,
"total_earnings_kopeks": 123,
"telegram_id": 123,
"username": "<string>",
"first_name": "<string>",
"last_name": "<string>"
}
],
"user_id": 123
}Топ рефералов реферера по принесённому доходу.
curl --request GET \
--url https://api.example.com/partners/referrers/{user_id}/stats/top-referrals \
--header 'X-API-Key: <api-key>'{
"items": [
{
"id": 123,
"full_name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"has_made_first_topup": true,
"is_active": true,
"total_earnings_kopeks": 123,
"telegram_id": 123,
"username": "<string>",
"first_name": "<string>",
"last_name": "<string>"
}
],
"user_id": 123
}