UNPKG

@lomray/microservice-payment-stripe

Version:

Stripe payment microservice based on NodeJS & inverted json.

24 lines (23 loc) 804 B
import TransactionRole from "../../constants/transaction-role.js"; import Transaction from "../../entities/transaction.js"; declare class PaymentIntentInput { userId: string; receiverId: string; entityCost: number; applicationPaymentPercent?: number; title?: string; cardId?: string; entityId?: string; feesPayer?: TransactionRole; additionalFeesPercent?: Record<TransactionRole, number>; extraReceiverRevenuePercent?: number; withTax?: boolean; } /** * Create PaymentIntent * @description Must be called from API */ declare const connectAccount: import("@lomray/microservice-helpers/services/endpoint").IReturnWithMeta<never, PaymentIntentInput, Record<string, any>, { transaction: [Transaction, Transaction]; }>; export { connectAccount as default };