Referral Program
Update Referral Code
Partner Support
User Flows
General API
- Builder Info
- System Info
- USDC Faucet
User API
- Registration
- Key Management
- Account/User Info
- Account Notifications
- Account Config
- Delegate Signer
Trading API
- Order Management
- Liquidations
- Assets/Withdraw/Settle PnL
- Positions
- Funding
Rewards API
- Trading Rewards
- Market Making Rewards
Staking & Valor API
- Staking
- Valor
Builder API
- User Data
- Trading Campaigns
- Fee Setting
- Referral Program
- GETCheck Referral Code
- POSTCreate Referral Code
- GETVerify Referral Code
- GETGet Referral Code Info
- POSTUpdate Referral Code
- POSTBind Referral Code
- GETGet Referral Info
- GETGet Referee Info
- GETGet Referee Rebate Summary
- GETGet Referee History
- GETGet Referral History
- GETGet Referral Rebate Summary
- GETGet Distribution History
- POSTEdit Referral Code Split
- POSTBuilder admin update auto referral
- GETBuilder admin get auto referral info
- GETGet auto referral progress
- GET
Market Data API
- TradingView
- Funding Rates
- Market Info
Websocket API
- Introduction
- PING/PONG
- Authentication
- Error Response
- Public Market Data
- Private User Data
Referral Program
Update Referral Code
Limit: 1 requests per second
POST /v1/referral/update
Scope: Only each Builder’s admin wallet can call this endpoint.
POST
/
v1
/
referral
/
update
curl --request POST \
--url https://api.orderly.org/v1/referral/update \
--header 'Content-Type: application/json' \
--header 'orderly-account-id: <orderly-account-id>' \
--header 'orderly-key: <orderly-key>' \
--header 'orderly-signature: <orderly-signature>' \
--header 'orderly-timestamp: <orderly-timestamp>' \
--data '{
"account_id": "<string>",
"referral_code": "<string>",
"max_rebate_rate": 123,
"referrer_rebate_rate": 123,
"referee_rebate_rate": 123
}'
{
"success": true,
"timestamp": 1702989203989
}
Headers
Body
application/json
Response
200 - application/json
OK
The response is of type object
.
curl --request POST \
--url https://api.orderly.org/v1/referral/update \
--header 'Content-Type: application/json' \
--header 'orderly-account-id: <orderly-account-id>' \
--header 'orderly-key: <orderly-key>' \
--header 'orderly-signature: <orderly-signature>' \
--header 'orderly-timestamp: <orderly-timestamp>' \
--data '{
"account_id": "<string>",
"referral_code": "<string>",
"max_rebate_rate": 123,
"referrer_rebate_rate": 123,
"referee_rebate_rate": 123
}'
{
"success": true,
"timestamp": 1702989203989
}