Package-level declarations
Types
Link copied to clipboard
data class AccountUpdateInformationRequest(@Json(name = "consumer_information" ) val consumerInformation: ConsumerInformationRequest? = null, @Json(name = "business_information" ) val businessInformation: BusinessInformationRequest? = null, @Json(name = "stakeholder_information" ) val stakeholderInformation: StakeholderInformationRequest? = null, @Json(name = "cardholder_information" ) val cardholderInformation: CardholderInformationRequest? = null)
Account information data to be updated according to account type AccountTypeModel.
Link copied to clipboard
data class AccountUpdateRequest(@Json(name = "external_id" ) val externalId: String? = null, @Json(name = "information" ) val accountInformation: AccountUpdateInformationRequest, @Json(name = "metadata" ) val metadata: Map<String, Any>? = null)
Updates an account in the system.
Link copied to clipboard
data class AddressRequest(@Json(name = "external_id" ) val externalId: String?, @Json(name = "label" ) val label: String, @Json(name = "line_1" ) val line1: String, @Json(name = "line_2" ) val line2: String? = null, @Json(name = "postal_code" ) val postalCode: String, @Json(name = "city" ) val city: String, @Json(name = "state" ) val state: String? = null, @Json(name = "country" ) val country: CountryModel) : Address
Model that holds the address data to be added.
Link copied to clipboard
data class AddressUpdateRequest(@Json(name = "external_id" ) val externalId: String? = null, @Json(name = "label" ) val label: String? = null, @Json(name = "line_1" ) val line1: String? = null, @Json(name = "line_2" ) val line2: String? = null, @Json(name = "postal_code" ) val postalCode: String? = null, @Json(name = "city" ) val city: String? = null, @Json(name = "state" ) val state: String? = null, @Json(name = "country" ) val country: CountryModel? = null) : Address
Model that holds the address data to be updated.
Link copied to clipboard
data class BusinessInformationRequest(@Json(name = "business_type" ) val businessType: BusinessTypeModel? = null, @Json(name = "business_name" ) val businessName: String? = null, @Json(name = "doing_business_as" ) val doingBusinessAs: String?, @Json(name = "country_of_incorporation" ) val countryOfIncorporation: CountryModel? = null, @Json(name = "phone_number" ) val phoneNumber: String? = null, @Json(name = "website" ) val website: String? = null, @Json(name = "email_address" ) val emailAddress: String? = null, @Json(name = "nature_of_business" ) val natureOfBusiness: String? = null, @Json(name = "account_purpose" ) val accountPurpose: AccountPurposeTypeModel? = null, @Json(name = "account_purpose_details" ) val accountPurposeDetails: String? = null, @Json(name = "trading_volume" ) val tradingVolume: String? = null, @Json(name = "transaction_volume" ) val transactionVolume: String? = null, @Json(name = "source_of_funds" ) val sourceOfFunds: SourceOfFundsTypeModel? = null, @Json(name = "state_of_incorporation" ) val stateOfIncorporation: String? = null, @Json(name = "ein" ) val ein: String? = null, @Json(name = "company_id" ) val companyId: String? = null, @Json(name = "vat_number" ) val vatNumber: String? = null, @Json(name = "incorporation_date" ) val incorporationDate: String? = null)
Account business information.
Link copied to clipboard
data class CardholderInformationRequest(@Json(name = "first_name" ) val firstName: String? = null, @Json(name = "middle_name" ) val middleName: String? = null, @Json(name = "last_name" ) val lastName: String? = null, @Json(name = "date_of_birth" ) val dateOfBirth: String? = null, @Json(name = "email_address" ) val emailAddress: String? = null)
Account Cardholder information.
Link copied to clipboard
data class ConsumerInformationRequest(@Json(name = "first_name" ) val firstName: String? = null, @Json(name = "middle_name" ) val middleName: String? = null, @Json(name = "last_name" ) val lastName: String? = null, @Json(name = "date_of_birth" ) val dateOfBirth: String? = null, @Json(name = "ssn" ) val ssn: String? = null, @Json(name = "id_information" ) val idInformation: IdInformationDetailsRequest? = null, @Json(name = "phone_number" ) val phoneNumber: String? = null, @Json(name = "email_address" ) val emailAddress: String? = null)
Account consumer information.
Link copied to clipboard
data class IdInformationDetailsRequest(@Json(name = "id_type" ) val idType: IdTypeModel?, @Json(name = "id_number" ) val idNumber: String?, @Json(name = "id_country" ) val idCountry: CountryModel?, @Json(name = "id_expiry_date" ) val idExpireDate: String?)
User identity document information. Only present for EU consumers.
Link copied to clipboard
data class StakeholderDetailsRequest(@Json(name = "external_id" ) val externalId: String? = null, @Json(name = "stakeholder_types" ) val stakeholderTypes: List<StakeholderTypeModel>? = null, @Json(name = "officer_titles" ) val officerTitles: List<String>? = null, @Json(name = "percent_ownership" ) val percentOwnership: Float? = null, @Json(name = "first_name" ) val firstName: String? = null, @Json(name = "middle_name" ) val middleName: String? = null, @Json(name = "last_name" ) val lastName: String? = null, @Json(name = "date_of_birth" ) val dateOfBirth: String? = null, @Json(name = "primary_address" ) val primaryAddress: AddressRequest? = null)
Stakeholders of a business account.
Link copied to clipboard
data class StakeholderInformationRequest(@Json(name = "stakeholder_types" ) val stakeholderTypes: List<StakeholderTypeModel>? = null, @Json(name = "officer_titles" ) val officerTitles: List<String>? = null, @Json(name = "percent_ownership" ) val percentOwnership: Float? = null, @Json(name = "first_name" ) val firstName: String? = null, @Json(name = "middle_name" ) val middleName: String? = null, @Json(name = "last_name" ) val lastName: String? = null, @Json(name = "date_of_birth" ) val dateOfBirth: String? = null)
Account stakeholder information.