latestOpenAPI 3.0.32026-08-224982,0272.8 MB
e445c15e5bee
Margin
Create collateral withdrawal request
Create a collateral withdrawal request.
post/api/prime/trading/v1/accounts/{accountId}/margin/collateral/withdrawalrequests
Path parameters
accountIdstring required
The ID of the account
Request body
Example request
{
"currency": "BTC",
"quantity": "0.5"
}Response
Collateral withdrawal request accepted for processing
Example response
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"accountId": "account123",
"enterpriseId": "enterprise456",
"currency": "BTC",
"quantity": "0.5",
"status": "pending",
"createdBy": "user789",
"creationDate": "2024-01-15T10:30:00.000Z",
"modifiedDate": "2024-01-15T10:30:00.000Z"
}