diff --git a/types/2020-08-27/PaymentIntents.d.ts b/types/2020-08-27/PaymentIntents.d.ts index cd673f659a..f9900acae0 100644 --- a/types/2020-08-27/PaymentIntents.d.ts +++ b/types/2020-08-27/PaymentIntents.d.ts @@ -516,6 +516,8 @@ declare module 'stripe' { alipay?: PaymentMethodOptions.Alipay; + au_becs_debit?: PaymentMethodOptions.AuBecsDebit; + bancontact?: PaymentMethodOptions.Bancontact; boleto?: PaymentMethodOptions.Boleto; @@ -595,6 +597,8 @@ declare module 'stripe' { interface Alipay {} + interface AuBecsDebit {} + interface Bancontact { /** * Preferred language of the Bancontact authorization page that the customer is redirected to. @@ -787,7 +791,7 @@ declare module 'stripe' { /** * Type of the payment method for which payment is in `processing` state, one of `card`. */ - type: string; + type: 'card'; } namespace Processing { @@ -1489,6 +1493,11 @@ declare module 'stripe' { */ alipay?: Stripe.Emptyable; + /** + * If this is a `au_becs_debit` PaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options. + */ + au_becs_debit?: Stripe.Emptyable; + /** * If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options. */ @@ -1612,6 +1621,8 @@ declare module 'stripe' { interface Alipay {} + interface AuBecsDebit {} + interface Bancontact { /** * Preferred language of the Bancontact authorization page that the customer is redirected to. @@ -2433,6 +2444,11 @@ declare module 'stripe' { */ alipay?: Stripe.Emptyable; + /** + * If this is a `au_becs_debit` PaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options. + */ + au_becs_debit?: Stripe.Emptyable; + /** * If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options. */ @@ -2556,6 +2572,8 @@ declare module 'stripe' { interface Alipay {} + interface AuBecsDebit {} + interface Bancontact { /** * Preferred language of the Bancontact authorization page that the customer is redirected to. @@ -3491,6 +3509,11 @@ declare module 'stripe' { */ alipay?: Stripe.Emptyable; + /** + * If this is a `au_becs_debit` PaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options. + */ + au_becs_debit?: Stripe.Emptyable; + /** * If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options. */ @@ -3614,6 +3637,8 @@ declare module 'stripe' { interface Alipay {} + interface AuBecsDebit {} + interface Bancontact { /** * Preferred language of the Bancontact authorization page that the customer is redirected to.