import type { PaymentBankAccountRequest } from './PaymentBankAccountRequest'; import type { CustomerPaymentCardRequest } from './CustomerPaymentCardRequest'; /** * @type CustomerPaymentInstrumentRequest: Document representing a customer payment instrument request. * * @property bankRoutingNumber: The bank routing number. * - **Max Length:** 256 * * @property giftCertificateCode: The gift certificate code. * - **Max Length:** 256 * * @property paymentBankAccount: The payment bank account request data. * * @property paymentCard: The customer payment card. * * @property paymentMethodId: The payment method ID. Optional if a customer payment instrument ID is specified. * - **Max Length:** 256 * * @property default: The default payment instrument. * */ export type CustomerPaymentInstrumentRequest = { bankRoutingNumber?: string; giftCertificateCode?: string; paymentBankAccount?: PaymentBankAccountRequest; paymentCard?: CustomerPaymentCardRequest; paymentMethodId?: string; default?: boolean; } & { [key: string]: any; };