Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

CreateOptions: { setupFutureUsage?: PaymentIntent.FutureUsage }

Type declaration

ConfirmOptions: CreateOptions
ShippingDetails: BillingDetails
CardParams: { paymentMethodType: "Card"; paymentMethodData?: { token?: string; billingDetails?: BillingDetails } } | { paymentMethodType: "Card"; paymentMethodData: { paymentMethodId: string; cvc?: string; billingDetails?: BillingDetails } }
KlarnaParams: { paymentMethodType: "Klarna"; paymentMethodData: { billingDetails: Pick<Required<BillingDetails>, "email"> & { address: Pick<Required<Address>, "country"> } & BillingDetails; shippingDetails?: PaymentMethod.ShippingDetails } }

Type declaration

AffirmParams: { paymentMethodType: "Affirm"; paymentMethodData?: { shippingDetails?: PaymentMethod.ShippingDetails; billingDetails?: BillingDetails } }

Type declaration

USBankAccountParams: { paymentMethodType: "USBankAccount"; paymentMethodData?: { billingDetails: Pick<Required<BillingDetails>, "name"> & BillingDetails; accountNumber: string; routingNumber: string; accountHolderType?: BankAcccountHolderType; accountType?: BankAcccountType } }

If paymentMethodData is null, it is assumed that the bank account details have already been attached via collectBankAccountForPayment or collectBankAccountForSetup.

Type declaration

PayPalParams: { paymentMethodType: "PayPal"; paymentMethodData?: { billingDetails?: BillingDetails } }

Type declaration

CashAppParams: { paymentMethodType: "CashApp"; paymentMethodData?: { billingDetails?: BillingDetails } }

Type declaration

USBankAccountResult: { routingNumber?: string; accountHolderType?: BankAcccountHolderType; accountType?: BankAcccountType; last4?: string; bankName?: string; linkedAccount?: string; fingerprint?: string; preferredNetwork?: string; supportedNetworks?: string[] }

Type declaration

  • Optional routingNumber?: string
  • Optional accountHolderType?: BankAcccountHolderType
  • Optional accountType?: BankAcccountType
  • Optional last4?: string
  • Optional bankName?: string
  • Optional linkedAccount?: string
  • Optional fingerprint?: string
  • Optional preferredNetwork?: string
  • Optional supportedNetworks?: string[]
Type: "AfterpayClearpay" | "Card" | "Alipay" | "GrabPay" | "Ideal" | "Fpx" | "CardPresent" | "SepaDebit" | "AuBecsDebit" | "BacsDebit" | "Giropay" | "P24" | "Eps" | "Bancontact" | "Oxxo" | "Sofort" | "Upi" | "USBankAccount" | "PayPal" | "Unknown"
CollectBankAccountParams: { paymentMethodType: "USBankAccount"; paymentMethodData: { billingDetails: { name: string; email?: string } } }

Type declaration

  • paymentMethodType: "USBankAccount"
  • paymentMethodData: { billingDetails: { name: string; email?: string } }
    • billingDetails: { name: string; email?: string }
      • name: string
      • Optional email?: string

Generated using TypeDoc