diff --git a/types/2020-08-27/PaymentMethods.d.ts b/types/2020-08-27/PaymentMethods.d.ts index 8100543c2b..ef49e2526e 100644 --- a/types/2020-08-27/PaymentMethods.d.ts +++ b/types/2020-08-27/PaymentMethods.d.ts @@ -519,11 +519,13 @@ declare module 'stripe' { | 'bacs_debit' | 'bancontact' | 'card' + | 'card_present' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' + | 'interac_present' | 'oxxo' | 'p24' | 'sepa_debit' diff --git a/types/2020-08-27/SetupIntents.d.ts b/types/2020-08-27/SetupIntents.d.ts index afe178accd..20658c98c1 100644 --- a/types/2020-08-27/SetupIntents.d.ts +++ b/types/2020-08-27/SetupIntents.d.ts @@ -276,7 +276,13 @@ declare module 'stripe' { type RequestThreeDSecure = 'any' | 'automatic' | 'challenge_only'; } - interface SepaDebit {} + interface SepaDebit { + mandate_options?: SepaDebit.MandateOptions; + } + + namespace SepaDebit { + interface MandateOptions {} + } } type Status = @@ -438,7 +444,16 @@ declare module 'stripe' { type RequestThreeDSecure = 'any' | 'automatic'; } - interface SepaDebit {} + interface SepaDebit { + /** + * Additional fields for Mandate creation + */ + mandate_options?: SepaDebit.MandateOptions; + } + + namespace SepaDebit { + interface MandateOptions {} + } } interface SingleUse { @@ -539,7 +554,16 @@ declare module 'stripe' { type RequestThreeDSecure = 'any' | 'automatic'; } - interface SepaDebit {} + interface SepaDebit { + /** + * Additional fields for Mandate creation + */ + mandate_options?: SepaDebit.MandateOptions; + } + + namespace SepaDebit { + interface MandateOptions {} + } } } @@ -731,7 +755,16 @@ declare module 'stripe' { type RequestThreeDSecure = 'any' | 'automatic'; } - interface SepaDebit {} + interface SepaDebit { + /** + * Additional fields for Mandate creation + */ + mandate_options?: SepaDebit.MandateOptions; + } + + namespace SepaDebit { + interface MandateOptions {} + } } }