Withdraw 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
WITHDRAWscope and is only available to market-maker accounts; other accounts receive403 WITHDRAWAL_NOT_ENABLED.An API key can only be given the
WITHDRAWscope 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).
bearerAuthAuthorizationBearer <token>API key created in the One Trading UI, sent as Authorization: Bearer <token>. Each endpoint lists the key permission it needs.
application/json- body
currency_code*stringCurrency to withdraw, e.g. EUR or BTC. Any case is accepted; the code is trimmed and upper-cased.
amount*stringPositive decimal string with no sign, exponent or leading zeros, within the currency precision (at most 8 decimal places).
type*stringTransfer method. Must match the payout account.
"BLINC""SEPA""SWIFT""WIRE""BLOCKCHAIN"payout_account*||||Exactly one payout account identifier.
Withdrawal created.
application/json- response
success*booleantransaction_id*stringID of the withdrawal transaction.
uuidcurl -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" }}'{ "success": true, "transaction_id": "1ef92c1a-7b3d-6e40-9f21-5a6b7c8d9e0f"}