UNPKG

@adyen/api-library

Version:

The Adyen API Library for NodeJS enables you to work with Adyen APIs.

71 lines (70 loc) 3.46 kB
import { BankAccountDetail } from './bankAccountDetail'; import { BusinessDetails } from './businessDetails'; import { IndividualDetails } from './individualDetails'; import { LegalArrangementDetail } from './legalArrangementDetail'; import { PayoutMethod } from './payoutMethod'; import { StoreDetail } from './storeDetail'; import { ViasAddress } from './viasAddress'; export declare class AccountHolderDetails { 'address'?: ViasAddress; /** * Array of bank accounts associated with the account holder. For details about the required `bankAccountDetail` fields, see [Required information](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/required-information). */ 'bankAccountDetails'?: Array<BankAccountDetail>; /** * The opaque reference value returned by the Adyen API during bank account login. */ 'bankAggregatorDataReference'?: string; 'businessDetails'?: BusinessDetails; /** * The email address of the account holder. */ 'email'?: string; /** * The phone number of the account holder provided as a single string. It will be handled as a landline phone. **Examples:** \"0031 6 11 22 33 44\", \"+316/1122-3344\", \"(0031) 611223344\" */ 'fullPhoneNumber'?: string; 'individualDetails'?: IndividualDetails; /** * Date when you last reviewed the account holder\'s information, in ISO-8601 YYYY-MM-DD format. For example, **2020-01-31**. */ 'lastReviewDate'?: string; /** * An array containing information about the account holder\'s [legal arrangements](https://docs.adyen.com/marketplaces-and-platforms/classic/verification-process/legal-arrangements). */ 'legalArrangements'?: Array<LegalArrangementDetail>; /** * The Merchant Category Code of the account holder. > If not specified in the request, this will be derived from the platform account (which is configured by Adyen). */ 'merchantCategoryCode'?: string; /** * A set of key and value pairs for general use by the account holder or merchant. The keys do not have specific names and may be used for storing miscellaneous data as desired. > The values being stored have a maximum length of eighty (80) characters and will be truncated if necessary. > Note that during an update of metadata, the omission of existing key-value pairs will result in the deletion of those key-value pairs. */ 'metadata'?: { [key: string]: string; }; /** * Array of tokenized card details associated with the account holder. For details about how you can use the tokens to pay out, refer to [Pay out to cards](https://docs.adyen.com/marketplaces-and-platforms/classic/payout-to-cards). */ 'payoutMethods'?: Array<PayoutMethod>; 'principalBusinessAddress'?: ViasAddress; /** * Array of stores associated with the account holder. Required when onboarding account holders that have an Adyen [point of sale](https://docs.adyen.com/marketplaces-and-platforms/classic/platforms-for-pos). */ 'storeDetails'?: Array<StoreDetail>; /** * The URL of the website of the account holder. */ 'webAddress'?: string; static discriminator: string | undefined; static attributeTypeMap: Array<{ name: string; baseName: string; type: string; }>; static getAttributeTypeMap(): { name: string; baseName: string; type: string; }[]; }