Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

CaptureMethod: "Automatic" | "Manual"
LastPaymentError: StripeError<string> & { paymentMethod: PaymentMethod.Result }
FutureUsage: "OffSession" | "OnSession"
MandateData: { customerAcceptance: { online: { ipAddress: string; userAgent: string } } }

Type declaration

  • customerAcceptance: { online: { ipAddress: string; userAgent: string } }
    • online: { ipAddress: string; userAgent: string }
      • ipAddress: string
      • userAgent: string
CardParams: { paymentMethodType: "Card"; paymentMethodData?: { token?: string; billingDetails?: BillingDetails; mandateData?: MandateData } } | { paymentMethodType: "Card"; paymentMethodData: { paymentMethodId: string; cvc?: string; billingDetails?: BillingDetails; mandateData?: MandateData } }
KlarnaParams: { paymentMethodType: "Klarna"; paymentMethodData: { billingDetails: Pick<Required<BillingDetails>, "email"> & { address: Pick<Required<Address>, "country"> } & BillingDetails; shippingDetails?: BillingDetails; mandateData?: MandateData } }

Type declaration

AffirmParams: { paymentMethodType: "Affirm"; paymentMethodData?: { shippingDetails?: BillingDetails; billingDetails?: BillingDetails; mandateData?: MandateData } }

Type declaration

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

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; mandateData?: MandateData } }

Type declaration

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

Type declaration

RevolutPayParams: { paymentMethodType: "RevolutPay"; paymentMethodData?: { billingDetails?: BillingDetails; mandateData?: MandateData } }

Type declaration

CollectBankAccountParams: { paymentMethodType: "USBankAccount"; paymentMethodData: { billingDetails: { name: string; email?: string }; mandateData?: MandateData } }

Type declaration

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

Generated using TypeDoc