Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

CardParams: { paymentMethodData?: { billingDetails?: BillingDetails; token?: string }; paymentMethodType: "Card" } | { paymentMethodData: { billingDetails?: BillingDetails; cvc?: string; paymentMethodId: string }; paymentMethodType: "Card" }
CollectBankAccountParams: { paymentMethodData: { billingDetails: { email?: string; name: string } }; paymentMethodType: "USBankAccount" }

Type declaration

  • paymentMethodData: { billingDetails: { email?: string; name: string } }
    • billingDetails: { email?: string; name: string }
      • Optional email?: string
      • name: string
  • paymentMethodType: "USBankAccount"
ConfirmOptions: CreateOptions
CreateOptions: { setupFutureUsage?: PaymentIntent.FutureUsage }

Type declaration

KlarnaParams: { paymentMethodData: { billingDetails: Pick<Required<BillingDetails>, "email"> & { address: Pick<Required<Address>, "country"> } & BillingDetails }; paymentMethodType: "Klarna" }

Type declaration

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

Type declaration

ShippingDetails: BillingDetails
Type: "AfterpayClearpay" | "Card" | "Alipay" | "GrabPay" | "Ideal" | "Fpx" | "CardPresent" | "SepaDebit" | "AuBecsDebit" | "BacsDebit" | "Giropay" | "P24" | "Eps" | "Bancontact" | "Oxxo" | "Sofort" | "Upi" | "USBankAccount" | "PayPal" | "Unknown"
USBankAccountParams: { paymentMethodData?: { accountHolderType?: BankAcccountHolderType; accountNumber: string; accountType?: BankAcccountType; billingDetails: Pick<Required<BillingDetails>, "name"> & BillingDetails; routingNumber: string }; paymentMethodType: "USBankAccount" }

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

Type declaration

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

Type declaration

  • Optional accountHolderType?: BankAcccountHolderType
  • Optional accountType?: BankAcccountType
  • Optional bankName?: string
  • Optional fingerprint?: string
  • Optional last4?: string
  • Optional linkedAccount?: string
  • Optional preferredNetwork?: string
  • Optional routingNumber?: string
  • Optional supportedNetworks?: string[]

Generated using TypeDoc