Skip to main content

SelfApiKeyInfoResponse

successbooleanrequired

Whether the request succeeded. true when HTTP status is 200

codeintegerrequired

Status code. 1 on success

msgstringrequired

Status message

timenumberrequired

Current unix timestamp

data objectrequired
namestringrequired

Key name

ipWhiteliststring[]required

IP whitelist. Empty when the key is not restricted to any IP.

permissionsApiKeyPermissionEnum[]required

Permissions granted to the key

Possible values: [Trading, Wallet, Transfer, Withdraw, Read]

SelfApiKeyInfoResponse
{
"success": true,
"code": 0,
"msg": "string",
"time": 0,
"data": {
"name": "string",
"ipWhitelist": [
"string"
],
"permissions": [
"Trading"
]
}
}