@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
49 lines (48 loc) • 2 kB
TypeScript
import { UpdatePayoutScheduleRequest } from './updatePayoutScheduleRequest';
export declare class UpdateAccountRequest {
/**
* The code of the account to update.
*/
'accountCode': string;
/**
* The bankAccountUUID of the bank account held by the account holder to couple the account with. Scheduled payouts in currencies matching the currency of this bank account will be sent to this bank account. Payouts in different currencies will be sent to a matching bank account of the account holder.
*/
'bankAccountUUID'?: string;
/**
* A description of the account, maximum 256 characters.You can use alphanumeric characters (A-Z, a-z, 0-9), white spaces, and underscores `_`.
*/
'description'?: string;
/**
* A set of key and value pairs for general use by the merchant. The keys do not have specific names and may be used for storing miscellaneous data as desired. > 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'?: {
[]: string;
};
/**
* The payout method code held by the account holder to couple the account with. Scheduled card payouts will be sent using this payout method code.
*/
'payoutMethodCode'?: string;
'payoutSchedule'?: UpdatePayoutScheduleRequest;
/**
* Speed with which payouts for this account are processed. Permitted values: `STANDARD`, `SAME_DAY`.
*/
'payoutSpeed'?: UpdateAccountRequest.PayoutSpeedEnum;
static discriminator: string | undefined;
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
}[];
}
export declare namespace UpdateAccountRequest {
enum PayoutSpeedEnum {
Instant = "INSTANT",
SameDay = "SAME_DAY",
Standard = "STANDARD"
}
}