UNPKG

@bebapps/rapyd-sdk

Version:

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

65 lines (64 loc) 1.66 kB
export interface Address { /** * ID of the Address object. String starting with **address_**. */ id: `address_${string}`; /** * Name of the canton administrative subdivision, as used in banking. */ canton: string; /** * City portion of the address. Required for issuance of a card to the wallet contact. */ city: string; /** * The two-letter ISO 3166-1 ALPHA-2 code for the country. Uppercase. * * To determine the code for a country, see [List Countries](ref:retrieve-all-countries). */ country: string; /** * Time of creation of the 'address' object, in [*Unix time*](ref:glossary). Response only. */ created_at: number; /** * Name of the district administrative subdivision, as used in banking. */ district: string; /** * Line 1 of the address, such as a building number and street name. */ line_1: string; /** * Line 2 of the address, such as a suite or apartment number, or the name of a named building. */ line_2: string; /** * Line 3 of the address. */ line_3: string; /** * A JSON object defined by the client. */ metadata: object; /** * The name of a contact person or an "in care of" person at this address. */ name: string; /** * Phone number associated with this specific address in E.164 format. Must be unique. */ phone_number: string; /** * State or province portion of the address. */ state: string; /** * Time of the last update to the Address object, in [*Unix time*](ref:glossary). Response only. */ updated_at: number; /** * Postal code portion of the address. */ zip: string; };