Create an APIKey for a Sub-account
request
post /api/v3/broker/sub-account/apiKey?timestamp={{timestamp}}&signature={{signature}}
response
{
"subAccount": "4Eb8rPPhpsAL",
"permissions": "SPOT_ACCOUNT_READ,SPOT_ACCOUNT_WRITE",
"note": "note2",
"apikey": "mx0npKfh57kEEVmyLa",
"secretKey": "51f38875ebe0475dad6236783a95cc19",
"createTime": 1646291300120
}
Http Request:
- POST
/api/v3/broker/sub-account/apiKey
Query Parameter:
| Name | Type | Mandatory | Description |
|---|---|---|---|
| timestamp | string | yes | timestamp |
| signature | string | yes | signature |
Body Request Parameter:
| Name | Type | Mandatory | Description |
|---|---|---|---|
| subAccount | string | yes | subAccount name |
| permissions | string | yes | permissions |
| ip | string | no | Link IP addresses, separate with commas if more than one. Support up to 4 addresses. |
| note | string | yes | note |
Response Parameter:
| Name | Type | Description |
|---|---|---|
| subAccount | string | subAccount name |
| note | string | APIKey note |
| apikey | string | apikey |
| secretKey | string | secretKey |
| permissions | string | APIKey permissions |
| ip | string | APIKey IP address |
| createTime | number | createTime |