Create a subaccount
Creates a new subaccount for the authenticated user. A subaccount allows independent trading under the main account. The request must be signed by both the subaccount wallet and the main wallet.
Authorization
ApiKeyAuth ApiSignatureAuth ApiTimestampAuth API key for authentication
In: header
HMAC-SHA256 signature: base64(HMAC(timestamp + method + path + body, secret))
In: header
Unix timestamp in seconds
In: header
Request Body
application/json
CreateSubaccountRequest is the request for CreateSubaccount. Name must be 1-50 characters and must not contain banned words. Maximum 10 subaccounts per main account. The subaccount address must have no prior balance, deposits, orders, vault roles, or existing children.
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json