Developer Portal

Withdraw FundsPOST

Create a withdrawal transaction that debits funds from the specified trading account.

View as Markdown
POST
/accounts/{accountId}/withdraw

Authorization

Authorization<token>

Bearer access token issued by the admin login flow.

In: header

Request Body

application/jsonRequired
commentOptional, The comment for the deposit
amountThe amount to deposit/withdraw, in account currency
Format: "double"

Path Parameters

accountIdRequiredstring

The account id to deposit to

curl -X POST "https://example.com/accounts/<string>/withdraw" \
  -H "Authorization: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "comment": "string",
    "amount": 0.1
  }'

A successful response.

{
  "dealId": "string"
}