diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index fb1dec85b4..0e0942b4f8 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v605 \ No newline at end of file +v623 \ No newline at end of file diff --git a/types/Accounts.d.ts b/types/Accounts.d.ts index 94df0339f5..eb30c05047 100644 --- a/types/Accounts.d.ts +++ b/types/Accounts.d.ts @@ -704,7 +704,7 @@ declare module 'stripe' { currently_due: Array | null; /** - * This is typed as a string for consistency with `requirements.disabled_reason`, but it safe to assume `future_requirements.disabled_reason` is empty because fields in `future_requirements` will never disable the account. + * This is typed as a string for consistency with `requirements.disabled_reason`. */ disabled_reason: string | null; @@ -868,7 +868,7 @@ declare module 'stripe' { currently_due: Array | null; /** - * If the account is disabled, this string describes why. Can be `requirements.past_due`, `requirements.pending_verification`, `listed`, `platform_paused`, `rejected.fraud`, `rejected.listed`, `rejected.terms_of_service`, `rejected.other`, `under_review`, or `other`. + * If the account is disabled, this string describes why. [Learn more about handling verification issues](https://stripe.com/docs/connect/handling-api-verification). Can be `action_required.requested_capabilities`, `requirements.past_due`, `requirements.pending_verification`, `listed`, `platform_paused`, `rejected.fraud`, `rejected.incomplete_verification`, `rejected.listed`, `rejected.other`, `rejected.terms_of_service`, `under_review`, or `other`. */ disabled_reason: string | null; diff --git a/types/Invoices.d.ts b/types/Invoices.d.ts index 763f3a38d2..4084ae1799 100644 --- a/types/Invoices.d.ts +++ b/types/Invoices.d.ts @@ -754,6 +754,7 @@ declare module 'stripe' { | 'application_fees_not_allowed' | 'authentication_required' | 'balance_insufficient' + | 'balance_invalid_parameter' | 'bank_account_bad_routing_numbers' | 'bank_account_declined' | 'bank_account_exists' diff --git a/types/Issuing/Cardholders.d.ts b/types/Issuing/Cardholders.d.ts index 731f3615a8..c07224f706 100644 --- a/types/Issuing/Cardholders.d.ts +++ b/types/Issuing/Cardholders.d.ts @@ -101,7 +101,7 @@ declare module 'stripe' { /** * Information related to the card_issuing program for this cardholder. */ - card_issuing: Individual.CardIssuing | null; + card_issuing?: Individual.CardIssuing | null; /** * The date of birth of this cardholder. diff --git a/types/PaymentIntents.d.ts b/types/PaymentIntents.d.ts index 28c39ae276..28a251764b 100644 --- a/types/PaymentIntents.d.ts +++ b/types/PaymentIntents.d.ts @@ -386,6 +386,7 @@ declare module 'stripe' { | 'application_fees_not_allowed' | 'authentication_required' | 'balance_insufficient' + | 'balance_invalid_parameter' | 'bank_account_bad_routing_numbers' | 'bank_account_declined' | 'bank_account_exists' diff --git a/types/PaymentIntentsResource.d.ts b/types/PaymentIntentsResource.d.ts index eb0569f951..e6168bbd93 100644 --- a/types/PaymentIntentsResource.d.ts +++ b/types/PaymentIntentsResource.d.ts @@ -153,7 +153,7 @@ declare module 'stripe' { statement_descriptor_suffix?: string; /** - * The parameters that you can use to automatically create a Transfer after the payment succeeds. + * The parameters that you can use to automatically create a Transfer. * Learn more about the [use case for connected accounts](https://stripe.com/docs/payments/connected-accounts). */ transfer_data?: PaymentIntentCreateParams.TransferData; @@ -1385,14 +1385,14 @@ declare module 'stripe' { request_extended_authorization?: boolean; /** - * Request ability to [increment](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent. + * Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support. */ - request_incremental_authorization?: CardPresent.RequestIncrementalAuthorization; + request_incremental_authorization_support?: boolean; /** - * Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support. + * This field was released by mistake and will be removed in the next major version */ - request_incremental_authorization_support?: boolean; + request_incremental_authorization?: CardPresent.RequestIncrementalAuthorization; } namespace CardPresent { @@ -3355,14 +3355,14 @@ declare module 'stripe' { request_extended_authorization?: boolean; /** - * Request ability to [increment](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent. + * Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support. */ - request_incremental_authorization?: CardPresent.RequestIncrementalAuthorization; + request_incremental_authorization_support?: boolean; /** - * Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support. + * This field was released by mistake and will be removed in the next major version */ - request_incremental_authorization_support?: boolean; + request_incremental_authorization?: CardPresent.RequestIncrementalAuthorization; } namespace CardPresent { @@ -5463,14 +5463,14 @@ declare module 'stripe' { request_extended_authorization?: boolean; /** - * Request ability to [increment](https://stripe.com/docs/payments/incremental-authorization) for this PaymentIntent. + * Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support. */ - request_incremental_authorization?: CardPresent.RequestIncrementalAuthorization; + request_incremental_authorization_support?: boolean; /** - * Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support. + * This field was released by mistake and will be removed in the next major version */ - request_incremental_authorization_support?: boolean; + request_incremental_authorization?: CardPresent.RequestIncrementalAuthorization; } namespace CardPresent { diff --git a/types/PaymentLinks.d.ts b/types/PaymentLinks.d.ts index 05ec89bf29..0687c7a97f 100644 --- a/types/PaymentLinks.d.ts +++ b/types/PaymentLinks.d.ts @@ -745,7 +745,7 @@ declare module 'stripe' { interface SubscriptionData { /** - * The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription. + * The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs. */ description: string | null; diff --git a/types/PaymentLinksResource.d.ts b/types/PaymentLinksResource.d.ts index 32532153e3..7d01ad2fd5 100644 --- a/types/PaymentLinksResource.d.ts +++ b/types/PaymentLinksResource.d.ts @@ -799,7 +799,7 @@ declare module 'stripe' { interface SubscriptionData { /** - * The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription. + * The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs. */ description?: string; diff --git a/types/Quotes.d.ts b/types/Quotes.d.ts index 2bdaea14fb..a30ac82a77 100644 --- a/types/Quotes.d.ts +++ b/types/Quotes.d.ts @@ -477,7 +477,7 @@ declare module 'stripe' { interface SubscriptionData { /** - * The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription. + * The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs. */ description: string | null; diff --git a/types/QuotesResource.d.ts b/types/QuotesResource.d.ts index dce061cf63..6b27b97962 100644 --- a/types/QuotesResource.d.ts +++ b/types/QuotesResource.d.ts @@ -223,7 +223,7 @@ declare module 'stripe' { interface SubscriptionData { /** - * The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription. + * The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs. */ description?: string; @@ -467,7 +467,7 @@ declare module 'stripe' { interface SubscriptionData { /** - * The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription. + * The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs. */ description?: Stripe.Emptyable; diff --git a/types/SetupAttempts.d.ts b/types/SetupAttempts.d.ts index ca96310ffa..4803918e4a 100644 --- a/types/SetupAttempts.d.ts +++ b/types/SetupAttempts.d.ts @@ -594,6 +594,7 @@ declare module 'stripe' { | 'application_fees_not_allowed' | 'authentication_required' | 'balance_insufficient' + | 'balance_invalid_parameter' | 'bank_account_bad_routing_numbers' | 'bank_account_declined' | 'bank_account_exists' diff --git a/types/SetupIntents.d.ts b/types/SetupIntents.d.ts index 0c1ac28e55..cc5457787a 100644 --- a/types/SetupIntents.d.ts +++ b/types/SetupIntents.d.ts @@ -302,6 +302,7 @@ declare module 'stripe' { | 'application_fees_not_allowed' | 'authentication_required' | 'balance_insufficient' + | 'balance_invalid_parameter' | 'bank_account_bad_routing_numbers' | 'bank_account_declined' | 'bank_account_exists' diff --git a/types/SubscriptionSchedules.d.ts b/types/SubscriptionSchedules.d.ts index 3cc2412c23..1578acc68e 100644 --- a/types/SubscriptionSchedules.d.ts +++ b/types/SubscriptionSchedules.d.ts @@ -142,7 +142,7 @@ declare module 'stripe' { default_payment_method: string | Stripe.PaymentMethod | null; /** - * Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription. + * Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs. */ description: string | null; @@ -257,7 +257,7 @@ declare module 'stripe' { default_tax_rates?: Array | null; /** - * Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription. + * Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs. */ description: string | null; diff --git a/types/SubscriptionSchedulesResource.d.ts b/types/SubscriptionSchedulesResource.d.ts index d9365da30f..6d3202a717 100644 --- a/types/SubscriptionSchedulesResource.d.ts +++ b/types/SubscriptionSchedulesResource.d.ts @@ -79,7 +79,7 @@ declare module 'stripe' { default_payment_method?: string; /** - * Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription. + * Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs. */ description?: Stripe.Emptyable; @@ -197,7 +197,7 @@ declare module 'stripe' { default_tax_rates?: Stripe.Emptyable>; /** - * Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription. + * Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs. */ description?: Stripe.Emptyable; @@ -529,7 +529,7 @@ declare module 'stripe' { default_payment_method?: string; /** - * Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription. + * Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs. */ description?: Stripe.Emptyable; @@ -647,7 +647,7 @@ declare module 'stripe' { default_tax_rates?: Stripe.Emptyable>; /** - * Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription. + * Subscription description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs. */ description?: Stripe.Emptyable; diff --git a/types/Subscriptions.d.ts b/types/Subscriptions.d.ts index f1de38e0a0..19ec206d01 100644 --- a/types/Subscriptions.d.ts +++ b/types/Subscriptions.d.ts @@ -115,7 +115,7 @@ declare module 'stripe' { default_tax_rates?: Array | null; /** - * The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces. + * The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs. */ description: string | null; diff --git a/types/SubscriptionsResource.d.ts b/types/SubscriptionsResource.d.ts index 6df1cf678d..72e86f3e53 100644 --- a/types/SubscriptionsResource.d.ts +++ b/types/SubscriptionsResource.d.ts @@ -86,7 +86,7 @@ declare module 'stripe' { default_tax_rates?: Stripe.Emptyable>; /** - * The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces. + * The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs. */ description?: string; @@ -744,7 +744,7 @@ declare module 'stripe' { default_tax_rates?: Stripe.Emptyable>; /** - * The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces. + * The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs. */ description?: Stripe.Emptyable;