Create an APIKey for a Sub-account
HTTP Request
- POST
/api/v3/broker/sub-account/apiKey
Required Permission: SPOT_ACCOUNT_WRITE
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 Parameters
| 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 |
Response
{
"subAccount": "4Eb8rPPhpsAL",
"permissions": "SPOT_ACCOUNT_READ,SPOT_ACCOUNT_WRITE",
"note": "note2",
"apiKey": "mx0npKfh57kEEVmyLa",
"secretKey": "51f38875ebe0475dad6236783a95cc19",
"createTime": 1646291300120
}