diff --git a/types/2020-08-27/Charges.d.ts b/types/2020-08-27/Charges.d.ts index 4e23817384..af730deae3 100644 --- a/types/2020-08-27/Charges.d.ts +++ b/types/2020-08-27/Charges.d.ts @@ -1419,7 +1419,7 @@ declare module 'stripe' { /** * Preferred language of the Klarna authorization page that the customer is redirected to. - * Can be one of `de-AT`, `en-AT`, `nl-BE`, `fr-BE`, `en-BE`, `de-DE`, `en-DE`, `da-DK`, `en-DK`, `es-ES`, `en-ES`, `fi-FI`, `sv-FI`, `en-FI`, `en-GB`, `en-IE`, `it-IT`, `en-IT`, `nl-NL`, `en-NL`, `nb-NO`, `en-NO`, `sv-SE`, `en-SE`, `en-US`, `fr-FR`, or `en-FR` + * Can be one of `de-AT`, `en-AT`, `nl-BE`, `fr-BE`, `en-BE`, `de-DE`, `en-DE`, `da-DK`, `en-DK`, `es-ES`, `en-ES`, `fi-FI`, `sv-FI`, `en-FI`, `en-GB`, `en-IE`, `it-IT`, `en-IT`, `nl-NL`, `en-NL`, `nb-NO`, `en-NO`, `sv-SE`, `en-SE`, `en-US`, `es-US`, `fr-FR`, or `en-FR` */ preferred_locale: string | null; } diff --git a/types/2020-08-27/Invoices.d.ts b/types/2020-08-27/Invoices.d.ts index 758dc326d6..7d5c7cdf44 100644 --- a/types/2020-08-27/Invoices.d.ts +++ b/types/2020-08-27/Invoices.d.ts @@ -1341,7 +1341,7 @@ declare module 'stripe' { interface InvoiceFinalizeInvoiceParams { /** - * Controls whether Stripe will perform [automatic collection](https://stripe.com/docs/billing/invoices/overview#auto-advance) of the invoice. When `false`, the invoice's state will not automatically advance without an explicit action. + * Controls whether Stripe will perform [automatic collection](https://stripe.com/docs/invoicing/automatic-charging) of the invoice. When `false`, the invoice's state will not automatically advance without an explicit action. */ auto_advance?: boolean; diff --git a/types/2020-08-27/Issuing/Cardholders.d.ts b/types/2020-08-27/Issuing/Cardholders.d.ts index 17ec112c26..054c99e591 100644 --- a/types/2020-08-27/Issuing/Cardholders.d.ts +++ b/types/2020-08-27/Issuing/Cardholders.d.ts @@ -1109,7 +1109,7 @@ declare module 'stripe' { billing: CardholderCreateParams.Billing; /** - * The cardholder's name. This will be printed on cards issued to them. + * The cardholder's name. This will be printed on cards issued to them. The maximum length of this field is 24 characters. */ name: string; diff --git a/types/2020-08-27/PaymentIntents.d.ts b/types/2020-08-27/PaymentIntents.d.ts index 8bc7a25493..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. @@ -785,9 +789,9 @@ declare module 'stripe' { card?: Processing.Card; /** - * Type of the next action to perform, one of `card`. + * 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. @@ -1751,6 +1762,7 @@ declare module 'stripe' { | 'en-DK' | 'en-ES' | 'en-FI' + | 'en-FR' | 'en-GB' | 'en-IE' | 'en-IT' @@ -1759,8 +1771,10 @@ declare module 'stripe' { | 'en-SE' | 'en-US' | 'es-ES' + | 'es-US' | 'fi-FI' | 'fr-BE' + | 'fr-FR' | 'it-IT' | 'nb-NO' | 'nl-BE' @@ -2430,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. */ @@ -2553,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. @@ -2692,6 +2713,7 @@ declare module 'stripe' { | 'en-DK' | 'en-ES' | 'en-FI' + | 'en-FR' | 'en-GB' | 'en-IE' | 'en-IT' @@ -2700,8 +2722,10 @@ declare module 'stripe' { | 'en-SE' | 'en-US' | 'es-ES' + | 'es-US' | 'fi-FI' | 'fr-BE' + | 'fr-FR' | 'it-IT' | 'nb-NO' | 'nl-BE' @@ -3485,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. */ @@ -3608,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. @@ -3747,6 +3778,7 @@ declare module 'stripe' { | 'en-DK' | 'en-ES' | 'en-FI' + | 'en-FR' | 'en-GB' | 'en-IE' | 'en-IT' @@ -3755,8 +3787,10 @@ declare module 'stripe' { | 'en-SE' | 'en-US' | 'es-ES' + | 'es-US' | 'fi-FI' | 'fr-BE' + | 'fr-FR' | 'it-IT' | 'nb-NO' | 'nl-BE' diff --git a/types/2020-08-27/SetupAttempts.d.ts b/types/2020-08-27/SetupAttempts.d.ts index 5f97c9dfbd..e7dfa24b89 100644 --- a/types/2020-08-27/SetupAttempts.d.ts +++ b/types/2020-08-27/SetupAttempts.d.ts @@ -79,6 +79,8 @@ declare module 'stripe' { bancontact?: PaymentMethodDetails.Bancontact; + boleto?: PaymentMethodDetails.Boleto; + card?: PaymentMethodDetails.Card; card_present?: PaymentMethodDetails.CardPresent; @@ -150,6 +152,8 @@ declare module 'stripe' { type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl'; } + interface Boleto {} + interface Card { /** * Populated if this authorization used 3D Secure authentication.