MT5: Withdrawal (mt5_withdrawal)¶
This call allows withdrawal from MT5 account to Binary account.
Auth Scope(s): payments
-
mt5_withdrawal
(amount: Union[int, float, Decimal], from_mt5: str, to_binary: str, passthrough: Optional[Any] = None, req_id: Optional[int] = None) → int¶ Parameters: - amount (Union[int, float, Decimal]) – Amount to withdraw (in the currency of the MT5 account); min = $1 or an equivalent amount, max = $20000 or an equivalent amount.
- from_mt5 (str) – MT5 account login to withdraw money from
- to_binary (str) – Binary account loginid to transfer money to
- passthrough (Optional[Any]) – [Optional] Used to pass data through the websocket, which may be retrieved via the echo_req output field.
- req_id (Optional[int]) – [Optional] Used to map request to response.
Returns: req_id
Return type: int