UNPKG

@lomray/microservice-payment-stripe

Version:

Stripe payment microservice based on NodeJS & inverted json.

28 lines (27 loc) 661 B
import Customer from "./customer.js"; /** * In case of stipe: * bankAccountId - only have cards from connected account and * cards related to SetupIntent doesn't have own id */ interface IParams { bankAccountId?: string; } declare class BankAccount { id: string; userId: string; lastDigits: string; bankName: string | null; holderName: string | null; isDefault: boolean; isInstantPayoutAllowed: boolean; params: IParams; createdAt: Date; updatedAt: Date; /** * Should be deleted cascade * NOTE: Uses in integration tests */ customer: Customer; } export { BankAccount as default, IParams };