Skip to Content
Funding

Withdraw to Payout Account

POST
/v1/transfers/withdrawal-to-payout-account

Withdraws funds from the account holder's main account to one of their active payout accounts. The withdrawal is confirmed immediately and processed asynchronously; track it with the returned transaction_id.

Identify the payout account with exactly one of payout_account_id (recommended, from Get Payout Accounts), iban, account_number, blinc_id or blockchain_address. The payout account must be active and match type and currency_code.

amount is a plain decimal string (no sign, exponent or leading zeros) with no more decimal places than the currency supports (see Currencies), at most 8; trailing zeros count towards the decimal places. The withdrawal fee is deducted from amount, so amount must be greater than the fee.

Withdrawals are made from the main account only; tokens acting on a subaccount are rejected. The account must be active and verified.

Required API scope: WITHDRAW. This endpoint is not rate-limited.

Important: For security reasons, this endpoint requires an API key with the WITHDRAW scope and is only available to market-maker accounts; other accounts receive 403 WITHDRAWAL_NOT_ENABLED.

An API key can only be given the WITHDRAW scope together with an IP allowlist and signed requests, and requests from an address outside the allowlist are rejected by the gateway (403 {"message":"Forbidden"}). Legacy API keys must also carry an IP allowlist (403 API_KEY_IP_ALLOWLIST_REQUIRED), and the request must come from an address on it (403 API_KEY_IP_NOT_ALLOWED).

Authorization

bearerAuth
headerAuthorizationBearer <token>

API key created in the One Trading UI, sent as Authorization: Bearer <token>. Each endpoint lists the key permission it needs.

Request Body

application/json
  1. body
currency_code*string

Currency to withdraw, e.g. EUR or BTC. Any case is accepted; the code is trimmed and upper-cased.

amount*string

Positive decimal string with no sign, exponent or leading zeros, within the currency precision (at most 8 decimal places).

type*string

Transfer method. Must match the payout account.

Value in"BLINC""SEPA""SWIFT""WIRE""BLOCKCHAIN"
payout_account*||||

Exactly one payout account identifier.

Response Body

Withdrawal created.

application/json
  1. response
success*boolean
transaction_id*string

ID of the withdrawal transaction.

Formatuuid
curl -X POST 'https://api.onetrading.com/fast/v1/transfers/withdrawal-to-payout-account' \  -H 'Content-Type: application/json' \  -d '{  "currency_code": "EUR",  "amount": "100.50",  "type": "SEPA",  "payout_account": {    "payout_account_id": "1ef8a2b4-5c6d-6e7f-8a9b-0c1d2e3f4a01"  }}'
Example Response
{  "success": true,  "transaction_id": "1ef92c1a-7b3d-6e40-9f21-5a6b7c8d9e0f"}