cURL
curl --request POST \ --url https://api.orderly.org/v1/referral/auto_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 '{ "required_trading_volume": 123, "max_rebate": 123, "referrer_rebate": 123, "referee_rebate": 123, "enable": true, "description": "<string>" }'
{ "success": true, "timestamp": 1702989203989 }
Limit: 1 requests per second
POST /v1/referral/auto_referral/update
Scope: Only each Builder’s admin wallet can call this endpoint.
OK
The response is of type object.
object