Skip to main content
POST
Create multilevel referral code on affiliate's behalf

Headers

orderly-timestamp
string
required

Timestamp of the signed request in milliseconds.

orderly-account-id
string
required

Account ID of the authenticated account.

orderly-key
string
required

Public orderly key used to sign the request.

orderly-signature
string
required

Signature of the request payload generated with the orderly key.

Body

application/json
account_id
string
required

The account ID to create referral code for

bonus_max_rebate_rate
number
required

Maximum bonus rebate rate required for L1 affiliate code creation.

referral_code
string

The referral code to create

Response

200 - application/json

OK

success
boolean
required

Indicates whether the request was successful.

Example:

true

timestamp
integer

Server timestamp in milliseconds.

Example:

1702989203989