POST
/
v1
/
referral
/
create

Headers

orderly-timestamp
string
required
orderly-account-id
string
required
orderly-key
string
required
orderly-signature
string
required

Body

application/json
account_id
string
required

the account id of the referrer

referral_code
string
required

the referral code that admin wants to create

max_rebate_rate
number
required

the referral code’s rebate rate (max 1)

referrer_rebate_rate
number
required

rebate rate of referrer

referee_rebate_rate
number
required

rebate rate of referee

Response

200 - application/json
success
boolean
required
timestamp
integer