Create Broker SubAccount APIKEY
//Request example
{
"ipWhitelist": [
"127.0.0.1","8.8.8.8"
],
"label": "broker-account-apikey1",
"passphrase": "Aa12345678",
"permissions": [
"general","spot"
],
"uid": "123456789"
}
//Response example
{
"code": "200000",
"data": {
"uid": "123456789",
"label": "broker-account-apikey1",
"apiKey": "65b723613e72462802a7439a",
"secretKey": "c59998f5-a50b-4797-8852-bbc7cc538841",
"permissions": [
"General","Spot"
],
"ipWhitelist": [
"10.133.130.189",
"12.1.2.122"
],
"createdAt": 1706500961000
}
}
This interface supports the creation of Broker sub-account APIKEY
HTTP REQUEST
POST /api/v1/broker/nd/account/apikey
Example
POST /api/v1/broker/nd/account/apikey
REQUEST URL
This endpoint support Broker URL
REQUEST RATE LIMIT
Broker weight
:3
PARAMETERS
Param | Type | Mandatory | Description |
---|---|---|---|
uid | String | Yes | Subaccount UID |
passphrase | Integer | Yes | API passphrase |
ipWhitelist | List String | Yes | IP whitelist list, supports up to 20 IPs |
permissions | List String | Yes | Permission group list |
label | String | Yes | apikey remarks (length 4~32) |
RESPONSES
Param | Description |
---|---|
uid | Subaccount UID |
label | apikey remarks |
apiKey | apiKey |
secretKey | secretKey |
permissions | Permissions(Only General、Spot、Futures、Margin、InnerTransfer(Flex Transfer) permissions can be set, such as "General, Trade". ) |
ipWhitelist | IP whitelist list |
createdAt | creation time, unix timestamp (milliseconds) |