User
CHANNELwss://wss.prime.kraken.com/ws/v1
userAuthentication Required
Request for updates for this customer user. No subscription parameters required.
Subscribe Request
- Subscribe Schema
- Example
Request ID - will be echoed back in the response structure.
subscribe
Request type.
Array containing the User stream configuration.
User
Subscription name.
{
"reqid": 10,
"type": "subscribe",
"streams": [
{
"name": "User"
}
]
}
Response
- Response Schema
- Example
A number that relates this response to a request.
The type of message sent.
An ISO-8601 UTC string of the form 2019-02-13T05:17:32.000000Z
.
If this is initial data for a request, the initial flag will be set.
The sequence number for this response per request.
"Update" or "Remove" - tells the client if the given entity should be removed or added/updated.
Array of User data.
Server assigned ID of this Customer User.
Email of Customer User.
Friendly name for customer user.
List of user config settings.
Timestamp of config setting update.
Customer User for this config setting.
Setting whether config is enabled, values Enabled or Disabled.
User config key.
User config value.
List of permissions for the customer user.
Market account authorizations mapping market accounts to their respective permissions.
{
"reqid": 10,
"type": "User",
"ts": "2021-09-15T03:33:07.545223Z",
"initial": true,
"seqNum": 1,
"data": [
{
"CustomerUserID": "174K1Q9GC0C00",
"Email": "tom@company.com",
"DisplayName": "Tom",
"Config": [
{
"Timestamp": 1628004805337309202,
"CustomerUserID": "174K1Q9GC0C00",
"Key": "recentSymbols",
"Value": "{\"BTC-USD\":[1626111502357],\"ADA-USD\":[1626732116743],\"BCH-USD\":[1628004751665]}"
},
{
"Timestamp": 1628004805377207692,
"CustomerUserID": "174K1Q9GC0C00",
"Key": "symbol",
"Value": "\"BTC-USD\""
}
],
"Permissions": [
"read::orders",
"write::orders",
"read::marketdata",
"read::entity"
],
"MarketAccountAuthorizations": {
"market-account-1": [
"read::orders",
"read::marketdata",
"read::entity"
],
"market-account-2": ["read::orders", "read::marketdata", "read::entity"]
}
}
]
}