cURL
curl --request POST \ --url https://api.orderly.org/v1/client/add_sub_account \ --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 '{ "description": "<string>" }'
{ "success": true, "timestamp": 1702989203989, "data": { "sub_account_id": 123, "description": "abc" } }
Limit: 10 requests per second
POST /v1/client/add_sub_account
Only the main account is allowed to call this API.
Main account’s Orderly key can control sub-accounts.
OK
The response is of type object.
object