Create subaccount
POST/subaccounts
Creates a new subaccount under the main account.
This is a private endpoint. To send requests, you need to authenticate.
To use this private endpoint, you must use the API key of your main account with the Administrative permission.
Rate limit weight points: 5
Request
- application/json
- Schema
- Example (body)
Body
Your description of the subaccount, up to 100 characters.
Possible values: <= 100 characters
{
"label": "string"
}
Responses
- 200
- 4XX
The request was successful.
Response Headers
The number of remaining weight points before it resets at bitvavo-ratelimit-resetat.
The time when bitvavo-ratelimit-remaining resets to bitvavo-ratelimit-limit.
The number of available weight points in one minute.
- application/json
- Schema
- Example (body)
Schema
The unique identifier of the subaccount.
The type of the subaccount.
Possible values: [spot, margin]
The status of the subaccount.
Possible values: [open, closed]
Your description of the subaccount, up to 100 characters.
Possible values: <= 100 characters
{
"id": "string",
"type": "spot",
"status": "open",
"label": "string"
}
For error codes, see Handle errors.