@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) • 482 B
TypeScript
import { StripeExtension } from "./index.js";
/**
* Set default customer card
*
* @param cardId - card id (see: https://stripe.com/docs/api/customers/object#card_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 setDefaultCard: (this: StripeExtension, cardId: string, customerId: string, ephemeralKey: string) => Promise<any>;