pub struct PartnerAccountCreationRequest {Show 28 fields
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 company_name: Option<String>,
pub company_registration_no: Option<String>,
pub currency: Option<String>,
pub date_of_birth: Option<String>,
pub email: 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 non_pep_declaration: Option<i64>,
pub partner_account_creation: i64,
pub partner_type: Option<PartnerType>,
pub passthrough: Option<Value>,
pub phone: Option<String>,
pub provider: Option<Provider>,
pub req_id: Option<i64>,
pub residence: Option<String>,
pub salutation: String,
pub tnc_acceptance: Option<TncAcceptance>,
pub website: Option<String>,
}
Expand description
This call initiates the state machine for account creation process
Fields§
§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. Don’t include the +
sign. Up to 4 digits.\n
citizen: Option<Value>
[Optional] Country of legal citizenship, 2-letter country code.\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
email: Option<String>
Email address\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
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_account_creation: i64
Must be 1
\n
partner_type: Option<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] The phone’s national format, don’t include the +
sign nor the calling country code. Up to 15 digits are allowed.\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: String
Accept any value in enum list.\n
tnc_acceptance: Option<TncAcceptance>
The tnc acceptance status of the user.\n
website: Option<String>
Partner’s Website URI/Promotional Platform\n
Trait Implementations§
Source§impl Clone for PartnerAccountCreationRequest
impl Clone for PartnerAccountCreationRequest
Source§fn clone(&self) -> PartnerAccountCreationRequest
fn clone(&self) -> PartnerAccountCreationRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more