UNPKG

@sergdudko/stripe-js

Version:

Supercharge Your Stripe Integration with Enhanced Methods for stripe-js: Take Full Control of Customer Card Management Right from Your Frontend! Elevate Your Payment Processing Capabilities with Ease and Efficiency.

11 lines (10 loc) 495 B
import { PaymentMethod } from "@stripe/stripe-js"; import { StripeExtension } from "./index.js"; /** * Delete payment method from customer. * * @param paymentMethodId - payment method id (see: https://stripe.com/docs/api/customers/object#payment_method_object-id) * @param ephemeralKey - customer ephemeral key * @returns */ export declare const deletePaymentMethodFromCustomer: (this: StripeExtension, paymentMethodId: string, ephemeralKey: string) => Promise<PaymentMethod | undefined>;