pub struct CashierRequest {
pub address: Option<String>,
pub amount: Option<f64>,
pub cashier: Cashier,
pub dry_run: Option<DryRun>,
pub estimated_fee_unique_id: Option<String>,
pub loginid: Option<String>,
pub passthrough: Option<Value>,
pub provider: Option<Provider>,
pub req_id: Option<i64>,
pub type_: Option<Type>,
pub verification_code: Option<String>,
}Expand description
Request the cashier info for the specified type.
Fields§
§address: Option<String>[Optional] Address for crypto withdrawal. Only applicable for api type.\n
amount: Option<f64>[Optional] Amount for crypto withdrawal. Only applicable for api type.\n
cashier: CashierOperation which needs to be requested from cashier\n
dry_run: Option<DryRun>[Optional] If set to 1, only validation is performed. Only applicable for withdraw using crypto provider and api type.\n
estimated_fee_unique_id: Option<String>[Optional] The unique_id of the estimated fee received from crypto_estimations call in case the client is willing to pay the returned fee in order to prioritise their withdrawal request.\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
provider: Option<Provider>[Optional] Cashier provider.\n
req_id: Option<i64>[Optional] Used to map request to response.\n
type_: Option<Type>[Optional] Data is returned from the cashier. The crypto provider only supports api (not url) for crypto accounts.\n
verification_code: Option<String>[Optional] Email verification code (received from a verify_email call, which must be done first)\n
Trait Implementations§
Source§impl Clone for CashierRequest
impl Clone for CashierRequest
Source§fn clone(&self) -> CashierRequest
fn clone(&self) -> CashierRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more