curl --request GET \
--url https://api.example.com/cabinet/referral \
--header 'Authorization: Bearer <token>'{
"referral_code": "<string>",
"referral_link": "<string>",
"total_referrals": 123,
"active_referrals": 123,
"total_earnings_kopeks": 123,
"total_earnings_rubles": 123,
"commission_percent": 123
}Get referral program info for current user.
curl --request GET \
--url https://api.example.com/cabinet/referral \
--header 'Authorization: Bearer <token>'{
"referral_code": "<string>",
"referral_link": "<string>",
"total_referrals": 123,
"active_referrals": 123,
"total_earnings_kopeks": 123,
"total_earnings_rubles": 123,
"commission_percent": 123
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful Response