Subaccounts
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 x-api-key<token>
API key for authentication
In: header
x-api-signature<token>
HMAC-SHA256 signature: base64(HMAC(timestamp + method + path + body, secret))
In: header
x-api-timestamp<token>
Unix timestamp in seconds
In: header
Request Body
application/json
CreateSubaccountRequest is the request for CreateSubaccount.
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json