Transfers

Withdraw collateral

Initiates a withdrawal of collateral from the user's trading account to their wallet. The request must be signed by the user's wallet. Withdrawals are processed asynchronously and may take some time to complete.

POST
/transfers/withdraw

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

WithdrawCollateralRequest is the request for WithdrawCollateral.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json