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.

12 lines (11 loc) 562 B
import { Card } from "@stripe/stripe-js"; import { StripeExtension } from "./index.js"; /** * Delete card from customer. * * @param sourceId - source or card id (see: https://stripe.com/docs/api/sources/object#source_object-id) * @param customerId - customer id (see: https://stripe.com/docs/api/customers/object#customer_object-id) * @param ephemeralKey - customer ephemeral key * @returns */ export declare const deleteSourceFromCustomer: (this: StripeExtension, sourceId: string, customerId: string, ephemeralKey: string) => Promise<Card | undefined>;