@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
90 lines (89 loc) • 3.24 kB
TypeScript
export declare class AchDetails {
/**
* The account holder type (personal or business).
*/
"accountHolderType"?: AchDetails.AccountHolderTypeEnum;
/**
* The bank account number (without separators).
*/
"bankAccountNumber"?: string;
/**
* The bank account type (checking, savings...).
*/
"bankAccountType"?: AchDetails.BankAccountTypeEnum;
/**
* The bank routing number of the account. The field value is `nil` in most cases.
*/
"bankLocationId"?: string;
/**
* The checkout attempt identifier.
*/
"checkoutAttemptId"?: string;
/**
* Encrypted bank account number. The bank account number (without separators).
*/
"encryptedBankAccountNumber"?: string;
/**
* Encrypted location id. The bank routing number of the account. The field value is `nil` in most cases.
*/
"encryptedBankLocationId"?: string;
/**
* The name of the bank account holder. If you submit a name with non-Latin characters, we automatically replace some of them with corresponding Latin characters to meet the FATF recommendations. For example: * χ12 is converted to ch12. * üA is converted to euA. * Peter Møller is converted to Peter Mller, because banks don\'t accept \'ø\'. After replacement, the ownerName must have at least three alphanumeric characters (A-Z, a-z, 0-9), and at least one of them must be a valid Latin character (A-Z, a-z). For example: * John17 - allowed. * J17 - allowed. * 171 - not allowed. * John-7 - allowed. > If provided details don\'t match the required format, the response returns the error message: 203 \'Invalid bank account holder name\'.
*/
"ownerName"?: string;
/**
* This is the `recurringDetailReference` returned in the response when you created the token.
*
* @deprecated since Adyen Checkout API v49
* Use `storedPaymentMethodId` instead.
*/
"recurringDetailReference"?: string;
/**
* This is the `recurringDetailReference` returned in the response when you created the token.
*/
"storedPaymentMethodId"?: string;
/**
* The unique identifier of your user\'s verified transfer instrument, which you can use to top up their balance accounts.
*/
"transferInstrumentId"?: string;
/**
* **ach**
*/
"type"?: AchDetails.TypeEnum;
static readonly discriminator: string | undefined;
static readonly mapping: {
[]: string;
} | undefined;
static readonly attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
format: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
format: string;
}[];
constructor();
}
export declare namespace AchDetails {
enum AccountHolderTypeEnum {
Business = "business",
Personal = "personal"
}
enum BankAccountTypeEnum {
Balance = "balance",
Checking = "checking",
Deposit = "deposit",
General = "general",
Other = "other",
Payment = "payment",
Savings = "savings"
}
enum TypeEnum {
Ach = "ach",
AchPlaid = "ach_plaid"
}
}