SumoRouter
SumoRouter Customer API

Affiliate

Server

The user's 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.

Affiliate data.

enabled
​boolean · required

When false, no other field is present.

code
​string

The user's referral code (8 characters).

link
​string · uri

Sign-up link: <site>/register?ref=<code>.

commission_percent
​number
commission_months
​integer
referee_bonus_percent
​number
referrals
​integer · int64

Users who signed up through the link.

paying_referrals
​integer · int64

Referrals that earned the user a commission.

earned_nano
​integer · int64

Total commission earned, nano-USD.

​object[]

Latest 50 rewards.