diff --git a/types/2020-08-27/Accounts.d.ts b/types/2020-08-27/Accounts.d.ts index 41435962ba..54e387b17e 100644 --- a/types/2020-08-27/Accounts.d.ts +++ b/types/2020-08-27/Accounts.d.ts @@ -756,7 +756,7 @@ declare module 'stripe' { expand?: Array; /** - * A card or bank account to attach to the account for receiving [payouts](https://stripe.com/docs/connect/payouts) (you won't be able to use it for top-ups). You can provide either a token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js), or a dictionary, as documented in the `external_account` parameter for [bank account](https://stripe.com/docs/api#account_create_bank_account) creation. + * A card or bank account to attach to the account for receiving [payouts](https://stripe.com/docs/connect/bank-debit-card-payouts) (you won't be able to use it for top-ups). You can provide either a token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js), or a dictionary, as documented in the `external_account` parameter for [bank account](https://stripe.com/docs/api#account_create_bank_account) creation. * * By default, providing an external account sets it as the new default external account for its currency, and deletes the old default if one exists. To add additional external accounts without replacing the existing default for the currency, use the bank account or card creation API. */ @@ -1563,7 +1563,7 @@ declare module 'stripe' { expand?: Array; /** - * A card or bank account to attach to the account for receiving [payouts](https://stripe.com/docs/connect/payouts) (you won't be able to use it for top-ups). You can provide either a token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js), or a dictionary, as documented in the `external_account` parameter for [bank account](https://stripe.com/docs/api#account_create_bank_account) creation. + * A card or bank account to attach to the account for receiving [payouts](https://stripe.com/docs/connect/bank-debit-card-payouts) (you won't be able to use it for top-ups). You can provide either a token, like the ones returned by [Stripe.js](https://stripe.com/docs/stripe.js), or a dictionary, as documented in the `external_account` parameter for [bank account](https://stripe.com/docs/api#account_create_bank_account) creation. * * By default, providing an external account sets it as the new default external account for its currency, and deletes the old default if one exists. To add additional external accounts without replacing the existing default for the currency, use the bank account or card creation API. */ diff --git a/types/2020-08-27/Charges.d.ts b/types/2020-08-27/Charges.d.ts index e4a08a6d12..e83d3316ff 100644 --- a/types/2020-08-27/Charges.d.ts +++ b/types/2020-08-27/Charges.d.ts @@ -1365,7 +1365,7 @@ declare module 'stripe' { * Preferred language of the SOFORT authorization page that the customer is redirected to. * Can be one of `de`, `en`, `es`, `fr`, `it`, `nl`, or `pl` */ - preferred_language?: Sofort.PreferredLanguage | null; + preferred_language: Sofort.PreferredLanguage | null; /** * Owner's verified full name. Values are verified or provided by SOFORT directly diff --git a/types/2020-08-27/Checkout/Sessions.d.ts b/types/2020-08-27/Checkout/Sessions.d.ts index 7c438d2a33..8c152b21a1 100644 --- a/types/2020-08-27/Checkout/Sessions.d.ts +++ b/types/2020-08-27/Checkout/Sessions.d.ts @@ -1268,9 +1268,7 @@ declare module 'stripe' { trial_end?: number; /** - * Indicates if a plan's `trial_period_days` should be applied to the - * subscription. Setting `trial_end` on `subscription_data` is preferred. - * Defaults to `false`. + * Indicates if a plan's `trial_period_days` should be applied to the subscription. Setting `trial_end` on `subscription_data` is preferred. Defaults to `false`. */ trial_from_plan?: boolean; diff --git a/types/2020-08-27/Issuing/Disputes.d.ts b/types/2020-08-27/Issuing/Disputes.d.ts index 9116e180e6..3c8f3907fa 100644 --- a/types/2020-08-27/Issuing/Disputes.d.ts +++ b/types/2020-08-27/Issuing/Disputes.d.ts @@ -324,7 +324,7 @@ declare module 'stripe' { transaction: string; /** - * A hash containing all the evidence related to the dispute. + * Evidence provided for the dispute. */ evidence?: DisputeCreateParams.Evidence; @@ -625,7 +625,7 @@ declare module 'stripe' { interface DisputeUpdateParams { /** - * A hash containing all the evidence related to the dispute. + * Evidence provided for the dispute. */ evidence?: DisputeUpdateParams.Evidence; diff --git a/types/2020-08-27/PaymentIntents.d.ts b/types/2020-08-27/PaymentIntents.d.ts index b0574ec460..3430ac81e3 100644 --- a/types/2020-08-27/PaymentIntents.d.ts +++ b/types/2020-08-27/PaymentIntents.d.ts @@ -1138,6 +1138,9 @@ declare module 'stripe' { } interface Sofort { + /** + * Language shown to the payer on redirect. + */ preferred_language?: Sofort.PreferredLanguage; } @@ -1698,6 +1701,9 @@ declare module 'stripe' { } interface Sofort { + /** + * Language shown to the payer on redirect. + */ preferred_language?: Sofort.PreferredLanguage; } @@ -2372,6 +2378,9 @@ declare module 'stripe' { } interface Sofort { + /** + * Language shown to the payer on redirect. + */ preferred_language?: Sofort.PreferredLanguage; } diff --git a/types/2020-08-27/PaymentMethods.d.ts b/types/2020-08-27/PaymentMethods.d.ts index d2b3260251..089ddce94b 100644 --- a/types/2020-08-27/PaymentMethods.d.ts +++ b/types/2020-08-27/PaymentMethods.d.ts @@ -920,7 +920,8 @@ declare module 'stripe' { | 'giropay' | 'ideal' | 'p24' - | 'sepa_debit'; + | 'sepa_debit' + | 'sofort'; } interface PaymentMethodAttachParams { diff --git a/types/2020-08-27/TaxRates.d.ts b/types/2020-08-27/TaxRates.d.ts index 4c01d488d7..1c7d9b7aa3 100644 --- a/types/2020-08-27/TaxRates.d.ts +++ b/types/2020-08-27/TaxRates.d.ts @@ -41,7 +41,7 @@ declare module 'stripe' { inclusive: boolean; /** - * The jurisdiction for the tax rate. + * The jurisdiction for the tax rate. You can use this label field for tax reporting purposes. It also appears on your customer's invoice. */ jurisdiction: string | null; @@ -93,7 +93,7 @@ declare module 'stripe' { expand?: Array; /** - * The jurisdiction for the tax rate. + * The jurisdiction for the tax rate. You can use this label field for tax reporting purposes. It also appears on your customer's invoice. */ jurisdiction?: string; @@ -132,7 +132,7 @@ declare module 'stripe' { expand?: Array; /** - * The jurisdiction for the tax rate. + * The jurisdiction for the tax rate. You can use this label field for tax reporting purposes. It also appears on your customer's invoice. */ jurisdiction?: string; diff --git a/types/2020-08-27/WebhookEndpoints.d.ts b/types/2020-08-27/WebhookEndpoints.d.ts index 7653eefc92..6bb1f9f029 100644 --- a/types/2020-08-27/WebhookEndpoints.d.ts +++ b/types/2020-08-27/WebhookEndpoints.d.ts @@ -286,6 +286,7 @@ declare module 'stripe' { | 'invoice.paid' | 'invoice.payment_action_required' | 'invoice.payment_failed' + | 'invoice.payment_succeeded' | 'invoice.sent' | 'invoice.upcoming' | 'invoice.updated' @@ -487,6 +488,7 @@ declare module 'stripe' { | 'invoice.paid' | 'invoice.payment_action_required' | 'invoice.payment_failed' + | 'invoice.payment_succeeded' | 'invoice.sent' | 'invoice.upcoming' | 'invoice.updated'