latestOpenAPI 3.0.32026-08-224982,0272.8 MB
e445c15e5bee
Margin
Transfer margin position
Transfers the amount specified to cover margin position for the specified account.
post/api/prime/trading/v1/accounts/{accountId}/margin/positions/transfer
Path parameters
accountIdstring required
The ID of the account
Request body
Example request
{
"currency": "BTC",
"quantity": "2"
}Response
Margin positions transfer response
Example response
{
"balances": [
{
"transferId": "3af68cc8-624e-41b0-a0ca-350171d4c8bd",
"currency": "BTC",
"quantity": "2",
"balanceValue": {
"quantity": "1000000",
"currency": "USD"
}
}
]
}