UNPKG

payrex-js-sdk

Version:
26 lines (23 loc) 809 B
import { PayrexPaymentMethodOptions, AvailablePaymentMethods } from '../types.cjs'; import { PayrexNextAction, PaymentIntentResource } from './types.cjs'; declare class PaymentIntentDto { id: string; resource: string; amount: number; amount_received: number; amount_capturable: number; client_secret: string; currency: string; description: string; livemode: boolean; metadata: Record<string, string> | null; next_action: PayrexNextAction | null; payment_method_options: PayrexPaymentMethodOptions; payment_methods: AvailablePaymentMethods | string[]; statement_descriptor: string | null; status: string; created_at: number; updated_at: number; constructor(apiResponse: PaymentIntentResource); } export { PaymentIntentDto as default };