SumoRouter Customer API
boolean · requiredstringstring · urinumberintegernumberinteger · int64integer · int64integer · int64
The user's referral link and rewards.
Get the referral link and rewards
GET
https://ai.brandkamu.id
/api/me/affiliate
When the affiliate program is off, returns only {"enabled": false}. Otherwise assigns a referral
code on first call and returns the link, program terms, stats and the 50 latest rewards. Referrers
earn commission_percent of each paid top-up of their referrals for commission_months after
sign-up; referred users get referee_bonus_percent on their first paid top-up.
Get the referral link and rewards › Responses
Affiliate data.
enabledWhen false, no other field is present.
codeThe user's referral code (8 characters).
linkSign-up link: <site>/register?ref=<code>.
commission_percentcommission_monthsreferee_bonus_percentreferralsUsers who signed up through the link.
paying_referralsReferrals that earned the user a commission.
earned_nanoTotal commission earned, nano-USD.
object[]
Latest 50 rewards.