Deribit · Schema
Privatecreatesubaccountresponse
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 | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://api-evangelist.github.io/deribit/json-schema/PrivateCreateSubaccountResponse.json",
"title": "Privatecreatesubaccountresponse",
"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": "object",
"properties": {
"email": {
"example": "[email protected]",
"type": "string",
"description": "User email"
},
"login_enabled": {
"type": "boolean",
"description": "Informs whether login to the subaccount is enabled"
},
"is_password": {
"type": "boolean",
"description": "`true` when password for the subaccount has been configured"
},
"receive_notifications": {
"type": "boolean",
"description": "When `true` - receive all notification emails on the main email"
},
"system_name": {
"example": "username_1",
"type": "string",
"description": "System generated user nickname"
},
"security_keys_enabled": {
"type": "boolean",
"description": "Whether the Security Keys authentication is enabled"
},
"security_keys_assignments": {
"type": "array",
"items": {
"type": "string"
},
"description": "Names of assignments with Security Keys assigned"
},
"username": {
"type": "string",
"description": "Account name (given by user)"
},
"type": {
"enum": [
"subaccount"
],
"type": "string",
"description": "Account type"
},
"id": {
"type": "integer",
"description": "Subaccount identifier"
},
"portfolio": {
"$ref": "#/components/schemas/portfolio",
"description": "Portfolio information for the subaccount"
},
"margin_model": {
"type": "string",
"description": "Margin model"
},
"disabled_trading_products": {
"type": "array",
"items": {
"type": "string"
},
"description": "List of disabled trading products"
},
"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."
},
"trading_products_details": {
"type": "array",
"items": {
"type": "object",
"properties": {
"enabled": {
"type": "boolean"
},
"product": {
"type": "string"
},
"overwriteable": {
"type": "boolean"
},
"requires_consent": {
"type": "boolean"
}
}
},
"description": "Details about trading products availability"
},
"referrals_count": {
"type": "integer",
"description": "Number of referrals"
}
},
"required": [
"username",
"type",
"id",
"login_enabled",
"is_password",
"receive_notifications",
"system_name",
"email",
"security_keys_enabled",
"security_keys_assignments",
"margin_model",
"disabled_trading_products",
"proof_id",
"proof_id_signature",
"trading_products_details",
"referrals_count"
]
}
},
"required": [
"jsonrpc",
"result"
],
"type": "object"
}