From 7f5a38b6ae896ec37803c5f1754b94211b27902a Mon Sep 17 00:00:00 2001 From: tmcquinn-stripe <95632492+tmcquinn-stripe@users.noreply.github.com> Date: Thu, 7 Mar 2024 16:27:40 -0500 Subject: [PATCH] Add allow_redisplay to Typescript definitions (#572) --- types/stripe-js/payment-intents.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types/stripe-js/payment-intents.d.ts b/types/stripe-js/payment-intents.d.ts index 1f26aaef..53694b42 100644 --- a/types/stripe-js/payment-intents.d.ts +++ b/types/stripe-js/payment-intents.d.ts @@ -1422,6 +1422,11 @@ export interface ConfirmPaymentData extends PaymentIntentConfirmParams { * @docs https://stripe.com/docs/api/payment_intents/create#create_payment_intent-payment_method_data-billing_details */ billing_details?: PaymentMethodCreateParams.BillingDetails; + + /** + * Specifies if the PaymentMethod should be redisplayed when using the Saved Payment Method feature + */ + allow_redisplay?: 'always' | 'limited' | 'unspecified'; }; /**