UNPKG

@bebapps/rapyd-sdk

Version:

An un-official [Rapyd](https://rapyd.net) SDK for Node.js.

87 lines (86 loc) 2.78 kB
export interface UpdateWalletContactRequest { /** * ID of the contact. String starting with **cont_**. */ contact: `cont_${string}`; /** * ID of the wallet associated with the contact. String starting with **ewallet_**. */ wallet: `ewallet_${string}`; /** * Address of the contact person. 'address' object. `name` and `line1` are required. **Note:** Do not use an address ID. */ address?: object; /** * Defines additional descriptive details about business entities. */ business_details?: object; /** * Country of the individual associated with the contact. Two-letter ISO 3166-1 ALPHA-2 code. Uppercase. */ country?: string; /** * Date of birth of the individual. Format: **MM/DD/YYYY** */ date_of_birth?: string; /** * Email address of the contact. */ email?: string; /** * First name of the individual associated with the contact. */ first_name?: string; /** * Gender of the personal contact or primary person associated with the business contact. One of the following values: **male**, **female**, **other**, **not_applicable** */ gender?: string; /** * Description of the type of residency. One of the following values: **lease**, **live_with_family**, **own**, **owner**, **month_to_month**, **housing_project** */ house_type?: string; /** * ID number as shown by the ID document. Alphanumeric string. */ identification_number?: string; /** * Type of the identification document. For valid types, use [List Official Identification Documents](ref:list-official-identification-documents). */ identification_type?: string; /** * Family name of the individual associated with the contact. */ last_name?: string; /** * Marital status of the personal contact or primary person associated with the business contact. One of the following values: **married**, **single**, **divorced**, **widowed**, **cohabiting**, **not_applicable** */ marital_status?: string; /** * A JSON object defined by the client. */ metadata?: object; /** * Middle name of the personal contact or primary person associated with the business contact. */ middle_name?: string; /** * Name of the contact's mother. */ mothers_name?: string; /** * The citizenship of the contact. Two-letter ISO 3166-1 ALPHA-2 code for the country. Uppercase. */ nationality?: string; /** * Phone number of the contact, in E.164 format. */ phone_number?: string; /** * Second last name of the personal contact or primary person associated with the business contact. */ second_last_name?: string; /** * Determines whether Rapyd sends notifications to the contact. Default is **false**. */ send_notifications?: boolean; };