Deribit · Schema

Privategetsubaccountsresponse

DerivativesCryptocurrencyBitcoinEthereumOptionsFuturesPerpetualsTradingMarket DataBlock TradingWebSocketFinancial

Properties

Name Type Description
jsonrpc string The JSON-RPC version (2.0)
id integer The id that was sent in the request
result array
View JSON Schema on GitHub

JSON Schema

PrivateGetSubaccountsResponse.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/deribit/json-schema/PrivateGetSubaccountsResponse.json",
  "title": "Privategetsubaccountsresponse",
  "properties": {
    "jsonrpc": {
      "type": "string",
      "enum": [
        "2.0"
      ],
      "description": "The JSON-RPC version (2.0)"
    },
    "id": {
      "type": "integer",
      "description": "The id that was sent in the request"
    },
    "result": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string"
          },
          "type": {
            "enum": [
              "main",
              "subaccount"
            ],
            "type": "string"
          },
          "id": {
            "type": "integer",
            "description": "Account/Subaccount identifier"
          },
          "email": {
            "type": "string",
            "description": "User email"
          },
          "not_confirmed_email": {
            "type": "string",
            "description": "New email address that has not yet been confirmed. This field is only included if `with_portfolio` == `true`."
          },
          "security_keys_enabled": {
            "type": "boolean",
            "description": "Whether the Security Keys authentication is enabled"
          },
          "security_keys_assignments": {
            "type": "array",
            "description": "Names of assignments with Security Keys assigned"
          },
          "system_name": {
            "type": "string",
            "description": "System generated user nickname"
          },
          "receive_notifications": {
            "type": "boolean",
            "description": "When `true` - receive all notification emails on the main email"
          },
          "is_password": {
            "type": "boolean",
            "description": "`true` when password for the subaccount has been configured"
          },
          "margin_model": {
            "type": "string",
            "description": "Margin model"
          },
          "proof_id": {
            "type": "string",
            "description": "Hashed identifier used in the Proof Of Liability for the subaccount. This identifier allows you to find your entries in the Deribit Proof-Of-Reserves files. IMPORTANT: Keep it secret to not disclose your entries in the Proof-Of-Reserves."
          },
          "proof_id_signature": {
            "type": "string",
            "description": "Signature used as a base string for proof_id hash. IMPORTANT: Keep it secret to not disclose your entries in the Proof-Of-Reserves."
          },
          "login_enabled": {
            "type": "boolean",
            "description": "Informs whether login to the subaccount is enabled"
          },
          "portfolio": {
            "$ref": "#/components/schemas/portfolio",
            "description": "Only if with_portfolio == true"
          }
        },
        "required": [
          "username",
          "email",
          "type",
          "tfa_enabled",
          "receive_notifications",
          "is_password",
          "system_name",
          "id"
        ]
      }
    }
  },
  "required": [
    "jsonrpc",
    "result"
  ],
  "type": "object"
}