pub struct NewPartnerAccountRequest {Show 30 fields
pub account_turnover: Option<AccountTurnover>,
pub address_city: Option<String>,
pub address_line_1: Option<String>,
pub address_line_2: Option<Value>,
pub address_postcode: Option<String>,
pub address_state: Option<String>,
pub calling_country_code: Option<Value>,
pub citizen: Option<Value>,
pub client_type: Option<ClientType>,
pub company_name: Option<String>,
pub company_registration_no: Option<String>,
pub currency: Option<String>,
pub date_of_birth: Option<String>,
pub fatca_declaration: Option<FatcaDeclaration>,
pub first_name: Option<String>,
pub landing_company_short: Option<LandingCompanyShort>,
pub last_name: Option<String>,
pub loginid: Option<String>,
pub new_partner_account: i64,
pub non_pep_declaration: Option<i64>,
pub partner_type: PartnerType,
pub passthrough: Option<Value>,
pub phone: Option<String>,
pub provider: Option<Provider>,
pub req_id: Option<i64>,
pub residence: Option<String>,
pub salutation: Option<String>,
pub secret_answer: Option<String>,
pub secret_question: Option<String>,
pub website: String,
}
Expand description
This call opens a new Real-Partner Account
Fields§
§account_turnover: Option<AccountTurnover>
[Optional] The anticipated account turnover.\n
address_city: Option<String>
[Optional] Within 100 characters.\n
address_line_1: Option<String>
Within 70 characters, with no leading whitespaces and may contain letters/numbers and/or any of following characters ’.,:;()@#/-\n
address_line_2: Option<Value>
Field ‘address_line_2’ mapped to Value due to complexity/potential issues.\n
address_postcode: Option<String>
[Optional] Within 20 characters and may not contain ‘+’.\n
address_state: Option<String>
[Optional] Possible value receive from states_list
call.\n
calling_country_code: Option<Value>
[Optional] The phone’s calling country code.\n
citizen: Option<Value>
[Optional] Country of legal citizenship, 2-letter country code.\n
client_type: Option<ClientType>
[Optional] Indicates whether this is for a client requesting an account with professional status.\n
company_name: Option<String>
[Optional] Company name. Only applicable for partners of type company.\n
company_registration_no: Option<String>
[Optional] Company registration number. Only applicable for partners of type company.\n
currency: Option<String>
[Optional] To set currency of the account. List of supported currencies can be acquired with payout_currencies
call.\n
date_of_birth: Option<String>
Date of birth format: yyyy-mm-dd
.\n
fatca_declaration: Option<FatcaDeclaration>
[Optional] Indicates client’s self-declaration of FATCA.\n
first_name: Option<String>
Within 1-50 characters, use only letters, spaces, hyphens, full-stops or apostrophes.\n
landing_company_short: Option<LandingCompanyShort>
[Optional] If specified, will return only the underlyings for the specified landing company.\n
last_name: Option<String>
Within 1-50 characters, use only letters, spaces, hyphens, full-stops or apostrophes.\n
loginid: Option<String>
[Optional] The login id of the user. If left unspecified, it defaults to the initial authorized token’s login id.\n
new_partner_account: i64
Must be 1
\n
non_pep_declaration: Option<i64>
[Optional] Indicates client’s self-declaration of not being a PEP/RCA (Politically Exposed Person/Relatives and Close Associates).\n
partner_type: PartnerType
Defines whether this partner is an individual or a company. Only applicable for partners\n
passthrough: Option<Value>
[Optional] Used to pass data through the websocket, which may be retrieved via the echo_req
output field.\n
phone: Option<String>
[Optional] Starting with +
followed by 8-35 digits, allowing hyphens or space.\n
provider: Option<Provider>
[Optional] Name of the provider platform.\n
req_id: Option<i64>
[Optional] Used to map request to response.\n
residence: Option<String>
2-letter country code, possible value receive from residence_list
call.\n
salutation: Option<String>
[Optional] Accept any value in enum list.\n
secret_answer: Option<String>
[Optional] Answer to secret question, within 4-50 characters. Required for new account and existing client details will be used if client open another account.\n
secret_question: Option<String>
[Optional] Accept any value in enum list. Required for new account and existing client details will be used if client open another account.\n
website: String
Partner’s Website URI/Promotional Platform\n
Trait Implementations§
Source§impl Clone for NewPartnerAccountRequest
impl Clone for NewPartnerAccountRequest
Source§fn clone(&self) -> NewPartnerAccountRequest
fn clone(&self) -> NewPartnerAccountRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more