import { CardPaymentPayload } from '../../entity/cardPayment/cardPaymentPayload'; import { SubscriptionPaymentAccountPayload } from '../../entity/subscriptionPaymentAccount/subscriptionPaymentAccountPayload'; import { ZeniAPIResponse } from '../../responsePayload'; interface FetchCardSetupIntentPayload { client_secret: string; id: string; } export interface ConfirmSetupIntentPayload { payment_method_types: string[]; } export type FetchCardSetupIntentResponse = ZeniAPIResponse; export interface AddCardPaymentSourcePayload { payment_source_type: string; processor_token: string; type: string; } export interface PaymentSourcesPayload { bank_accounts: SubscriptionPaymentAccountPayload[]; cards: CardPaymentPayload[]; } export interface AddCardPaymentSourceResponse { payment_sources: PaymentSourcesPayload; } export type FetchAddCardPaymentSourceResponse = ZeniAPIResponse; export {};