Create transfer
POST/subaccounts/transfers
Makes a deposit or withdrawal by creating a transfer of assets between your subaccounts and 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 Internal transfer permission permission.
Rate limit weight points: 5
Request
- application/json
- Schema
- Example (body)
Body
The unique identifier for the subaccount.
Indicates the direction of the transfer.
Possible values: [masterToSub, subToMaster]
The asset to transfer.
The quantity of the asset to transfer.
Your identifier of the transfer.
{
"subaccountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"direction": "masterToSub",
"symbol": "string",
"amount": "string",
"clientRequestId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
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
Bitvavo identifier of the transfer.
Your identifier of the transfer.
The unique identifier for the subaccount.
Indicates the direction of the transfer.
Possible values: [masterToSub, subToMaster]
The asset that was transferred.
The quantity of the asset to transfer.
Status of the transfer.
Possible values: [failed, pending, completed]
The Unix timestamp when the transfer was created.
{
"transferId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"clientRequestId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"subaccountId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"direction": "masterToSub",
"symbol": "string",
"amount": "string",
"status": "failed",
"createdAt": "string"
}
For error codes, see Handle errors.