pub struct TransferBetweenAccountsRequest {
pub account_from: Option<String>,
pub account_to: Option<String>,
pub accounts: Option<String>,
pub amount: Option<String>,
pub currency: Option<String>,
pub loginid: Option<String>,
pub passthrough: Option<Value>,
pub req_id: Option<i64>,
pub transfer_between_accounts: i64,
}Expand description
This call allows transfers between accounts held by a given user. Transfer funds between your fiat and cryptocurrency accounts (for a fee). Please note that account_from should be same as current authorized account.
Fields§
§account_from: Option<String>[Optional] The loginid of the account to transfer funds from.\n
account_to: Option<String>[Optional] The loginid of the account to transfer funds to.\n
accounts: Option<String>[Optional] To control the list of accounts returned when account_from or account_to is not provided. brief (default value) means that accounts with mt5 account_type will be excluded; it will run faster. all means that all accounts with any account_type (including mt5) will be returned.\n
amount: Option<String>[Optional] The amount to transfer.\n
currency: Option<String>[Optional] Currency code.\n
loginid: Option<String>[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.\n
passthrough: Option<Value>[Optional] Used to pass data through the websocket, which may be retrieved via the echo_req output field.\n
req_id: Option<i64>[Optional] Used to map request to response.\n
transfer_between_accounts: i64If account_from or account_to is not provided, it just returns the available accounts.\n
Trait Implementations§
Source§impl Clone for TransferBetweenAccountsRequest
impl Clone for TransferBetweenAccountsRequest
Source§fn clone(&self) -> TransferBetweenAccountsRequest
fn clone(&self) -> TransferBetweenAccountsRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more