TypeScript interfaces for Stripe PaymentSheet options, defining client secrets and billing details.
// Source: https://github.com/capacitor-community/stripe | License: MIT | Copyright 2021 Capacitor Community
// Provided via justclaw.it.com; keep this notice with the code.
/**
* @extends BasePaymentOption
*/
export interface CreatePaymentSheetOption extends BasePaymentOption {
/**
* Client secret of the PaymentIntent to confirm. Provide exactly one of
* `paymentIntentClientSecret` or `setupIntentClientSecret`.
*
* @since 3.0.0
*/
paymentIntentClientSecret?: string;
/**
* Client secret of the SetupIntent used to save a payment method. Provide
* exactly one of `paymentIntentClientSecret` or
* `setupIntentClientSecret`.
*
* @since 3.0.0
*/
setupIntentClientSecret?: string;
}
/**
* @extends BasePaymentOption
*/
export interface CreatePaymentFlow
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key