v1

latestOpenAPI 3.0.32026-07-267278168.1 KB
Sandbox

Sandbox Withdrawal

Debits the account in sandbox environment only.

post/v1/sandbox_withdrawal

Request body

customer_withdrawal_idstring required

User-specified withdrawal identifier

symbolstring required

Token symbol

amountstring required

Withdrawal amount as a decimal string

Example request

{
  "customer_withdrawal_id": "my-withdrawal-001",
  "symbol": "USDC",
  "amount": "500.00",
  "from": {
    "id": "10458932786832481",
    "wallet": "margin"
  }
}

Response

Withdrawal result

successboolean required

Whether the request was successful

errorstring

Error message, present only on failure

error_codestring

Semantic error code. See each endpoint's error responses for the specific codes it can return.

deprecatedstring

Deprecation notice, if applicable

Example response

{
  "success": true,
  "result": {
    "withdrawal_status": "pending"
  }
}