Skip to content

Commit

Permalink
Add ExternalPaymentMethod option to Elements.create() (#533)
Browse files Browse the repository at this point in the history
  • Loading branch information
amrojas-stripe authored Jan 5, 2024
1 parent dc04952 commit 8f5d396
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions types/stripe-js/elements-group.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,13 @@ export interface StripeElementsOptionsMode extends BaseStripeElementsOptions {
* Either use mode or clientSecret when creating an Elements group
*/
clientSecret?: never;

/**
* The external payment methods to be displayed in the Payment Element that you are already integrated with.
*
* @docs https://stripe.com/docs/js/elements_object/create#stripe_elements-options-externalPaymentMethodTypes
*/
externalPaymentMethodTypes?: string[];
}

export type StripeElementsOptions =
Expand Down

0 comments on commit 8f5d396

Please sign in to comment.