Repository: stripe/stripe-node
Pull request #1801 (2023-05-26 12:50:42)

Update generated code for beta
Codegen for openapi v369.

## Changelog
* Add support for `subscription_details` on `Invoice`
* Add support for new values `aba` and `swift` on enums `Order.payment.settings.payment_method_options.customer_balance.bank_transfer.requested_address_types[]`, `OrderCreateParams.payment.settings.payment_method_options.customer_balance.bank_transfer.requested_address_types[]`, and `OrderUpdateParams.payment.settings.payment_method_options.customer_balance.bank_transfer.requested_address_types[]`
* Add support for new value `us_bank_transfer` on enums `Order.payment.settings.payment_method_options.customer_balance.bank_transfer.type`, `OrderCreateParams.payment.settings.payment_method_options.customer_balance.bank_transfer.type`, and `OrderUpdateParams.payment.settings.payment_method_options.customer_balance.bank_transfer.type`
* Add support for `set_pause_collection` on `QuoteCreateParams.lines[]`, `QuoteLine`, `QuoteUpdateParams.lines[]`, and `SubscriptionScheduleAmendParams.amendments[]`
* Add support for new value `pause_collection_start` on enums `Quote.subscription_data.bill_on_acceptance.bill_from.type`, `Quote.subscription_data_overrides[].bill_on_acceptance.bill_from.type`, `QuoteCreateParams.subscription_data.bill_on_acceptance.bill_from.type`, `QuoteCreateParams.subscription_data_overrides[].bill_on_acceptance.bill_from.type`, `QuoteUpdateParams.subscription_data.bill_on_acceptance.bill_from.type`, and `QuoteUpdateParams.subscription_data_overrides[].bill_on_acceptance.bill_from.type`
* Add support for `pause_collection` on `SubscriptionSchedule.phases[]`, `SubscriptionScheduleCreateParams.phases[]`, and `SubscriptionScheduleUpdateParams.phases[]`
* Add support for `local_amusement_tax` on `Tax.Registration.country_options.us` and `TaxRegistrationCreateParams.country_options.us`
* Remove support for `locations` on `Tax.Settings` and `TaxSettingUpdateParams`
* Add support for new values `customer.subscription.collection_paused` and `customer.subscription.collection_resumed` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`



Patch:
diff --git a/.gitignore b/.gitignore
index 449e6235..b0cb00fb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@ coverage
 .idea
 testProjects/**/node_modules
 testProjects/**/package-lock.json
+testProjects/**/_worker.*
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index f780889d..ec60fc4c 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1,1 +1,1 @@
-v358
\ No newline at end of file
+v369
\ No newline at end of file
diff --git a/src/apiVersion.ts b/src/apiVersion.ts
index 9b210621..9d6e33f1 100644
--- a/src/apiVersion.ts
+++ b/src/apiVersion.ts
@@ -1,4 +1,4 @@
 // File generated from our OpenAPI spec
 
 export const ApiVersion = '2022-11-15';
-export const PreviewVersion = '20230519T204128';
+export const PreviewVersion = '2023-05-26.preview-v2';
diff --git a/types/Checkout/Sessions.d.ts b/types/Checkout/Sessions.d.ts
index afbccaa5..4555bf3d 100644
--- a/types/Checkout/Sessions.d.ts
+++ b/types/Checkout/Sessions.d.ts
@@ -563,6 +563,16 @@ declare module 'stripe' {
           }
 
           interface Numeric {
+            /**
+             * The maximum character length constraint for the customer's input.
+             */
+            maximum_length: number | null;
+
+            /**
+             * The minimum character length requirement for the customer's input.
+             */
+            minimum_length: number | null;
+
             /**
              * The value entered by the customer, containing only digits.
              */
@@ -570,6 +580,16 @@ declare module 'stripe' {
           }
 
           interface Text {
+            /**
+             * The maximum character length constraint for the customer's input.
+             */
+            maximum_length: number | null;
+
+            /**
+             * The minimum character length requirement for the customer's input.
+             */
+            minimum_length: number | null;
+
             /**
              * The value entered by the customer.
              */
@@ -1008,7 +1028,7 @@ declare module 'stripe' {
               >;
 
               /**
-               * The bank transfer type that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, or `mx_bank_transfer`.
+               * The bank transfer type that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
                */
               type: BankTransfer.Type | null;
             }
@@ -1026,17 +1046,20 @@ declare module 'stripe' {
               }
 
               type RequestedAddressType =
+                | 'aba'
                 | 'iban'
                 | 'sepa'
                 | 'sort_code'
                 | 'spei'
+                | 'swift'
                 | 'zengin';
 
               type Type =
                 | 'eu_bank_transfer'
                 | 'gb_bank_transfer'
                 | 'jp_bank_transfer'
-                | 'mx_bank_transfer';
+                | 'mx_bank_transfer'
+                | 'us_bank_transfer';
             }
           }
 
diff --git a/types/Checkout/SessionsResource.d.ts b/types/Checkout/SessionsResource.d.ts
index c46f817b..3b128fa0 100644
--- a/types/Checkout/SessionsResource.d.ts
+++ b/types/Checkout/SessionsResource.d.ts
@@ -331,11 +331,21 @@ declare module 'stripe' {
            */
           label: CustomField.Label;
 
+          /**
+           * Configuration for `type=numeric` fields.
+           */
+          numeric?: CustomField.Numeric;
+
           /**
            * Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`.
            */
           optional?: boolean;
 
+          /**
+           * Configuration for `type=text` fields.
+           */
+          text?: CustomField.Text;
+
           /**
            * The type of the field.
            */
@@ -376,6 +386,30 @@ declare module 'stripe' {
             type: 'custom';
           }
 
+          interface Numeric {
+            /**
+             * The maximum character length constraint for the customer's input.
+             */
+            maximum_length?: number;
+
+            /**
+             * The minimum character length requirement for the customer's input.
+             */
+            minimum_length?: number;
+          }
+
+          interface Text {
+            /**
+             * The maximum character length constraint for the customer's input.
+             */
+            maximum_length?: number;
+
+            /**
+             * The minimum character length requirement for the customer's input.
+             */
+            minimum_length?: number;
+          }
+
           type Type = 'dropdown' | 'numeric' | 'text';
         }
 
@@ -1218,17 +1252,20 @@ declare module 'stripe' {
               }
 
               type RequestedAddressType =
+                | 'aba'
                 | 'iban'
                 | 'sepa'
                 | 'sort_code'
                 | 'spei'
+                | 'swift'
                 | 'zengin';
 
               type Type =
                 | 'eu_bank_transfer'
                 | 'gb_bank_transfer'
                 | 'jp_bank_transfer'
-                | 'mx_bank_transfer';
+                | 'mx_bank_transfer'
+                | 'us_bank_transfer';
             }
           }
 
diff --git a/types/CustomerCashBalanceTransactions.d.ts b/types/CustomerCashBalanceTransactions.d.ts
index 8a3cc278..b185cbbe 100644
--- a/types/CustomerCashBalanceTransactions.d.ts
+++ b/types/CustomerCashBalanceTransactions.d.ts
@@ -89,9 +89,11 @@ declare module 'stripe' {
           reference: string | null;
 
           /**
-           * The funding method type used to fund the customer balance. Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, or `mx_bank_transfer`.
+           * The funding method type used to fund the customer balance. Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
            */
           type: BankTransfer.Type;
+
+          us_bank_transfer?: BankTransfer.UsBankTransfer;
         }
 
         namespace BankTransfer {
@@ -150,7 +152,24 @@ declare module 'stripe' {
             | 'eu_bank_transfer'
             | 'gb_bank_transfer'
             | 'jp_bank_transfer'
-            | 'mx_bank_transfer';
+            | 'mx_bank_transfer'
+            | 'us_bank_transfer';
+
+          interface UsBankTransfer {
+            /**
+             * The banking network used for this funding.
+             */
+            network?: UsBankTransfer.Network;
+
+            /**
+             * The full name of the sender, as supplied by the sending bank.
+             */
+            sender_name: string | null;
+          }
+
+          namespace UsBankTransfer {
+            type Network = 'ach' | 'domestic_wire_us' | 'swift';
+          }
         }
       }
 
diff --git a/types/CustomersResource.d.ts b/types/CustomersResource.d.ts
index 31391ca4..c06ee4bf 100644
--- a/types/CustomersResource.d.ts
+++ b/types/CustomersResource.d.ts
@@ -556,7 +556,8 @@ declare module 'stripe' {
           | 'eu_bank_transfer'
           | 'gb_bank_transfer'
           | 'jp_bank_transfer'
-          | 'mx_bank_transfer';
+          | 'mx_bank_transfer'
+          | 'us_bank_transfer';
       }
     }
 
diff --git a/types/Invoices.d.ts b/types/Invoices.d.ts
index b6437ce0..fc0bd093 100644
--- a/types/Invoices.d.ts
+++ b/types/Invoices.d.ts
@@ -375,6 +375,11 @@ declare module 'stripe' {
        */
       subscription: string | Stripe.Subscription | null;
 
+      /**
+       * Details about the subscription that created this invoice.
+       */
+      subscription_details?: Invoice.SubscriptionDetails | null;
+
       /**
        * Only set for upcoming invoices that preview prorations. The time used to calculate prorations.
        */
@@ -990,7 +995,7 @@ declare module 'stripe' {
               eu_bank_transfer?: BankTransfer.EuBankTransfer;
 
               /**
-               * The bank transfer type that can be used for funding. Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, or `mx_bank_transfer`.
+               * The bank transfer type that can be used for funding. Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
                */
               type: string | null;
             }
@@ -1208,6 +1213,31 @@ declare module 'stripe' {
         voided_at: number | null;
       }
 
+      interface SubscriptionDetails {
+        /**
+         * If specified, payment collection for this subscription will be paused.
+         */
+        pause_collection: SubscriptionDetails.PauseCollection | null;
+      }
+
+      namespace SubscriptionDetails {
+        interface PauseCollection {
+          /**
+           * The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`.
+           */
+          behavior: PauseCollection.Behavior;
+
+          /**
+           * The time after which the subscription will resume collecting payments.
+           */
+          resumes_at: number | null;
+        }
+
+        namespace PauseCollection {
+          type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void';
+        }
+      }
+
       interface ThresholdReason {
         /**
          * The total invoice amount threshold boundary if it triggered the threshold invoice.
diff --git a/types/InvoicesResource.d.ts b/types/InvoicesResource.d.ts
index 52031032..d6ca13a6 100644
--- a/types/InvoicesResource.d.ts
+++ b/types/InvoicesResource.d.ts
@@ -402,7 +402,7 @@ declare module 'stripe' {
               eu_bank_transfer?: BankTransfer.EuBankTransfer;
 
               /**
-               * The bank transfer type that can be used for funding. Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, or `mx_bank_transfer`.
+               * The bank transfer type that can be used for funding. Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
                */
               type?: string;
             }
@@ -1045,7 +1045,7 @@ declare module 'stripe' {
               eu_bank_transfer?: BankTransfer.EuBankTransfer;
 
               /**
-               * The bank transfer type that can be used for funding. Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, or `mx_bank_transfer`.
+               * The bank transfer type that can be used for funding. Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
                */
               type?: string;
             }
diff --git a/types/Issuing/Cardholders.d.ts b/types/Issuing/Cardholders.d.ts
index 04193e11..731f3615 100644
--- a/types/Issuing/Cardholders.d.ts
+++ b/types/Issuing/Cardholders.d.ts
@@ -61,6 +61,12 @@ declare module 'stripe' {
          */
         phone_number: string | null;
 
+        /**
+         * The cardholder's preferred locales (languages), ordered by preference. Locales can be `de`, `en`, `es`, `fr`, or `it`.
+         *  This changes the language of the [3D Secure flow](https://stripe.com/docs/issuing/3d-secure) and one-time password messages sent to the cardholder.
+         */
+        preferred_locales: Array<Cardholder.PreferredLocale> | null;
+
         requirements: Cardholder.Requirements;
 
         /**
@@ -184,6 +190,8 @@ declare module 'stripe' {
           }
         }
 
+        type PreferredLocale = 'de' | 'en' | 'es' | 'fr' | 'it';
+
         interface Requirements {
           /**
            * If `disabled_reason` is present, all cards will decline authorizations with `cardholder_verification_required` reason.
diff --git a/types/Issuing/CardholdersResource.d.ts b/types/Issuing/CardholdersResource.d.ts
index 5ffb268c..ceefdd40 100644
--- a/types/Issuing/CardholdersResource.d.ts
+++ b/types/Issuing/CardholdersResource.d.ts
@@ -45,6 +45,12 @@ declare module 'stripe' {
          */
         phone_number?: string;
 
+        /**
+         * The cardholder's preferred locales (languages), ordered by preference. Locales can be `de`, `en`, `es`, `fr`, or `it`.
+         *  This changes the language of the [3D Secure flow](https://stripe.com/docs/issuing/3d-secure) and one-time password messages sent to the cardholder.
+         */
+        preferred_locales?: Array<CardholderCreateParams.PreferredLocale>;
+
         /**
          * Rules that control spending across this cardholder's cards. Refer to our [documentation](https://stripe.com/docs/issuing/controls/spending-controls) for more details.
          */
@@ -203,6 +209,8 @@ declare module 'stripe' {
           }
         }
 
+        type PreferredLocale = 'de' | 'en' | 'es' | 'fr' | 'it';
+
         interface SpendingControls {
           /**
            * Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to allow. All other categories will be blocked. Cannot be set with `blocked_categories`.
@@ -1194,6 +1202,12 @@ declare module 'stripe' {
          */
         phone_number?: string;
 
+        /**
+         * The cardholder's preferred locales (languages), ordered by preference. Locales can be `de`, `en`, `es`, `fr`, or `it`.
+         *  This changes the language of the [3D Secure flow](https://stripe.com/docs/issuing/3d-secure) and one-time password messages sent to the cardholder.
+         */
+        preferred_locales?: Array<CardholderUpdateParams.PreferredLocale>;
+
         /**
          * Rules that control spending across this cardholder's cards. Refer to our [documentation](https://stripe.com/docs/issuing/controls/spending-controls) for more details.
          */
@@ -1347,6 +1361,8 @@ declare module 'stripe' {
           }
         }
 
+        type PreferredLocale = 'de' | 'en' | 'es' | 'fr' | 'it';
+
         interface SpendingControls {
           /**
            * Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to allow. All other categories will be blocked. Cannot be set with `blocked_categories`.
diff --git a/types/Orders.d.ts b/types/Orders.d.ts
index 4518d4ec..0c40346e 100644
--- a/types/Orders.d.ts
+++ b/types/Orders.d.ts
@@ -471,7 +471,7 @@ declare module 'stripe' {
                 >;
 
                 /**
-                 * The bank transfer type that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, or `mx_bank_transfer`.
+                 * The bank transfer type that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
                  */
                 type: BankTransfer.Type | null;
               }
@@ -489,17 +489,20 @@ declare module 'stripe' {
                 }
 
                 type RequestedAddressType =
+                  | 'aba'
                   | 'iban'
                   | 'sepa'
                   | 'sort_code'
                   | 'spei'
+                  | 'swift'
                   | 'zengin';
 
                 type Type =
                   | 'eu_bank_transfer'
                   | 'gb_bank_transfer'
                   | 'jp_bank_transfer'
-                  | 'mx_bank_transfer';
+                  | 'mx_bank_transfer'
+                  | 'us_bank_transfer';
               }
             }
 
diff --git a/types/OrdersResource.d.ts b/types/OrdersResource.d.ts
index ca177fe2..765fbbbb 100644
--- a/types/OrdersResource.d.ts
+++ b/types/OrdersResource.d.ts
@@ -637,7 +637,7 @@ declare module 'stripe' {
                 >;
 
                 /**
-                 * The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, or `mx_bank_transfer`.
+                 * The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
                  */
                 type: BankTransfer.Type;
               }
@@ -651,17 +651,20 @@ declare module 'stripe' {
                 }
 
                 type RequestedAddressType =
+                  | 'aba'
                   | 'iban'
                   | 'sepa'
                   | 'sort_code'
                   | 'spei'
+                  | 'swift'
                   | 'zengin';
 
                 type Type =
                   | 'eu_bank_transfer'
                   | 'gb_bank_transfer'
                   | 'jp_bank_transfer'
-                  | 'mx_bank_transfer';
+                  | 'mx_bank_transfer'
+                  | 'us_bank_transfer';
               }
             }
 
@@ -1899,7 +1902,7 @@ declare module 'stripe' {
                 >;
 
                 /**
-                 * The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, or `mx_bank_transfer`.
+                 * The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
                  */
                 type: BankTransfer.Type;
               }
@@ -1913,17 +1916,20 @@ declare module 'stripe' {
                 }
 
                 type RequestedAddressType =
+                  | 'aba'
                   | 'iban'
                   | 'sepa'
                   | 'sort_code'
                   | 'spei'
+                  | 'swift'
                   | 'zengin';
 
                 type Type =
                   | 'eu_bank_transfer'
                   | 'gb_bank_transfer'
                   | 'jp_bank_transfer'
-                  | 'mx_bank_transfer';
+                  | 'mx_bank_transfer'
+                  | 'us_bank_transfer';
               }
             }
 
diff --git a/types/PaymentIntents.d.ts b/types/PaymentIntents.d.ts
index 5cd2b477..3ec96930 100644
--- a/types/PaymentIntents.d.ts
+++ b/types/PaymentIntents.d.ts
@@ -832,7 +832,8 @@ declare module 'stripe' {
             | 'eu_bank_transfer'
             | 'gb_bank_transfer'
             | 'jp_bank_transfer'
-            | 'mx_bank_transfer';
+            | 'mx_bank_transfer'
+            | 'us_bank_transfer';
         }
 
         interface KonbiniDisplayDetails {
@@ -1608,7 +1609,7 @@ declare module 'stripe' {
             requested_address_types?: Array<BankTransfer.RequestedAddressType>;
 
             /**
-             * The bank transfer type that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, or `mx_bank_transfer`.
+             * The bank transfer type that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
              */
             type: BankTransfer.Type | null;
           }
@@ -1626,17 +1627,20 @@ declare module 'stripe' {
             }
 
             type RequestedAddressType =
+              | 'aba'
               | 'iban'
               | 'sepa'
               | 'sort_code'
               | 'spei'
+              | 'swift'
               | 'zengin';
 
             type Type =
               | 'eu_bank_transfer'
               | 'gb_bank_transfer'
               | 'jp_bank_transfer'
-              | 'mx_bank_transfer';
+              | 'mx_bank_transfer'
+              | 'us_bank_transfer';
           }
         }
 
diff --git a/types/PaymentIntentsResource.d.ts b/types/PaymentIntentsResource.d.ts
index 4d9d3c1f..0756a782 100644
--- a/types/PaymentIntentsResource.d.ts
+++ b/types/PaymentIntentsResource.d.ts
@@ -1414,7 +1414,7 @@ declare module 'stripe' {
             requested_address_types?: Array<BankTransfer.RequestedAddressType>;
 
             /**
-             * The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, or `mx_bank_transfer`.
+             * The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
              */
             type: BankTransfer.Type;
           }
@@ -1428,17 +1428,20 @@ declare module 'stripe' {
             }
 
             type RequestedAddressType =
+              | 'aba'
               | 'iban'
               | 'sepa'
               | 'sort_code'
               | 'spei'
+              | 'swift'
               | 'zengin';
 
             type Type =
               | 'eu_bank_transfer'
               | 'gb_bank_transfer'
               | 'jp_bank_transfer'
-              | 'mx_bank_transfer';
+              | 'mx_bank_transfer'
+              | 'us_bank_transfer';
           }
         }
 
@@ -3398,7 +3401,7 @@ declare module 'stripe' {
             requested_address_types?: Array<BankTransfer.RequestedAddressType>;
 
             /**
-             * The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, or `mx_bank_transfer`.
+             * The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
              */
             type: BankTransfer.Type;
           }
@@ -3412,17 +3415,20 @@ declare module 'stripe' {
             }
 
             type RequestedAddressType =
+              | 'aba'
               | 'iban'
               | 'sepa'
               | 'sort_code'
               | 'spei'
+              | 'swift'
               | 'zengin';
 
             type Type =
               | 'eu_bank_transfer'
               | 'gb_bank_transfer'
               | 'jp_bank_transfer'
-              | 'mx_bank_transfer';
+              | 'mx_bank_transfer'
+              | 'us_bank_transfer';
           }
         }
 
@@ -5485,7 +5491,7 @@ declare module 'stripe' {
             requested_address_types?: Array<BankTransfer.RequestedAddressType>;
 
             /**
-             * The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, or `mx_bank_transfer`.
+             * The list of bank transfer types that this PaymentIntent is allowed to use for funding Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
              */
             type: BankTransfer.Type;
           }
@@ -5499,17 +5505,20 @@ declare module 'stripe' {
             }
 
             type RequestedAddressType =
+              | 'aba'
               | 'iban'
               | 'sepa'
               | 'sort_code'
               | 'spei'
+              | 'swift'
               | 'zengin';
 
             type Type =
               | 'eu_bank_transfer'
               | 'gb_bank_transfer'
               | 'jp_bank_transfer'
-              | 'mx_bank_transfer';
+              | 'mx_bank_transfer'
+              | 'us_bank_transfer';
           }
         }
 
diff --git a/types/PaymentLinksResource.d.ts b/types/PaymentLinksResource.d.ts
index c200f4e4..53a63a85 100644
--- a/types/PaymentLinksResource.d.ts
+++ b/types/PaymentLinksResource.d.ts
@@ -224,11 +224,21 @@ declare module 'stripe' {
          */
         label: CustomField.Label;
 
+        /**
+         * Configuration for `type=numeric` fields.
+         */
+        numeric?: CustomField.Numeric;
+
         /**
          * Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`.
          */
         optional?: boolean;
 
+        /**
+         * Configuration for `type=text` fields.
+         */
+        text?: CustomField.Text;
+
         /**
          * The type of the field.
          */
@@ -269,6 +279,30 @@ declare module 'stripe' {
           type: 'custom';
         }
 
+        interface Numeric {
+          /**
+           * The maximum character length constraint for the customer's input.
+           */
+          maximum_length?: number;
+
+          /**
+           * The minimum character length requirement for the customer's input.
+           */
+          minimum_length?: number;
+        }
+
+        interface Text {
+          /**
+           * The maximum character length constraint for the customer's input.
+           */
+          maximum_length?: number;
+
+          /**
+           * The minimum character length requirement for the customer's input.
+           */
+          minimum_length?: number;
+        }
+
         type Type = 'dropdown' | 'numeric' | 'text';
       }
 
@@ -926,11 +960,21 @@ declare module 'stripe' {
          */
         label: CustomField.Label;
 
+        /**
+         * Configuration for `type=numeric` fields.
+         */
+        numeric?: CustomField.Numeric;
+
         /**
          * Whether the customer is required to complete the field before completing the Checkout Session. Defaults to `false`.
          */
         optional?: boolean;
 
+        /**
+         * Configuration for `type=text` fields.
+         */
+        text?: CustomField.Text;
+
         /**
          * The type of the field.
          */
@@ -971,6 +1015,30 @@ declare module 'stripe' {
           type: 'custom';
         }
 
+        interface Numeric {
+          /**
+           * The maximum character length constraint for the customer's input.
+           */
+          maximum_length?: number;
+
+          /**
+           * The minimum character length requirement for the customer's input.
+           */
+          minimum_length?: number;
+        }
+
+        interface Text {
+          /**
+           * The maximum character length constraint for the customer's input.
+           */
+          maximum_length?: number;
+
+          /**
+           * The minimum character length requirement for the customer's input.
+           */
+          minimum_length?: number;
+        }
+
         type Type = 'dropdown' | 'numeric' | 'text';
       }
 
diff --git a/types/PaymentMethods.d.ts b/types/PaymentMethods.d.ts
index f2ba52bf..8e029af6 100644
--- a/types/PaymentMethods.d.ts
+++ b/types/PaymentMethods.d.ts
@@ -439,6 +439,11 @@ declare module 'stripe' {
          */
         country: string | null;
 
+        /**
+         * A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
+         */
+        description?: string | null;
+
         /**
          * Two-digit number representing the card's expiration month.
          */
@@ -461,6 +466,16 @@ declare module 'stripe' {
          */
         funding: string | null;
 
+        /**
+         * Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
+         */
+        iin?: string | null;
+
+        /**
+         * The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
+         */
+        issuer?: string | null;
+
         /**
          * The last four digits of the card.
          */
@@ -658,6 +673,11 @@ declare module 'stripe' {
          */
         country: string | null;
 
+        /**
+         * A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
+         */
+        description?: string | null;
+
         /**
          * Two-digit number representing the card's expiration month.
          */
@@ -680,6 +700,16 @@ declare module 'stripe' {
          */
         funding: string | null;
 
+        /**
+         * Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
+         */
+        iin?: string | null;
+
+        /**
+         * The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
+         */
+        issuer?: string | null;
+
         /**
          * The last four digits of the card.
          */
@@ -814,6 +844,12 @@ declare module 'stripe' {
          */
         fingerprint?: string | null;
 
+        /**
+         * Owner's email. Values are provided by PayPal directly
+         * (if supported) at the time of authorization or settlement. They cannot be set or mutated.
+         */
+        payer_email?: string | null;
+
         /**
          * PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
          */
diff --git a/types/QuoteLines.d.ts b/types/QuoteLines.d.ts
index 062a8da9..abdf010d 100644
--- a/types/QuoteLines.d.ts
+++ b/types/QuoteLines.d.ts
@@ -41,6 +41,11 @@ declare module 'stripe' {
        */
       proration_behavior: QuoteLine.ProrationBehavior | null;
 
+      /**
+       * Details to modify the pause_collection behavior of the subscription schedule.
+       */
+      set_pause_collection?: QuoteLine.SetPauseCollection | null;
+
       /**
        * Timestamp helper to end the underlying schedule early, based on the acompanying line's start or end date.
        */
@@ -470,6 +475,33 @@ declare module 'stripe' {
 
       type ProrationBehavior = 'always_invoice' | 'create_prorations' | 'none';
 
+      interface SetPauseCollection {
+        /**
+         * If specified, payment collection for this subscription will be paused.
+         */
+        set?: SetPauseCollection.Set | null;
+
+        /**
+         * Defines the type of the pause_collection behavior for the quote line.
+         */
+        type: SetPauseCollection.Type;
+      }
+
+      namespace SetPauseCollection {
+        interface Set {
+          /**
+           * The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`.
+           */
+          behavior: Set.Behavior;
+        }
+
+        namespace Set {
+          type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void';
+        }
+
+        type Type = 'remove' | 'set';
+      }
+
       type SetScheduleEnd = 'line_ends_at' | 'line_starts_at';
 
       interface StartsAt {
diff --git a/types/Quotes.d.ts b/types/Quotes.d.ts
index d0d04943..62fe6d9e 100644
--- a/types/Quotes.d.ts
+++ b/types/Quotes.d.ts
@@ -733,6 +733,7 @@ declare module 'stripe' {
             type Type =
               | 'line_starts_at'
               | 'now'
+              | 'pause_collection_start'
               | 'quote_acceptance_date'
               | 'timestamp';
           }
@@ -913,6 +914,7 @@ declare module 'stripe' {
             type Type =
               | 'line_starts_at'
               | 'now'
+              | 'pause_collection_start'
               | 'quote_acceptance_date'
               | 'timestamp';
           }
diff --git a/types/QuotesResource.d.ts b/types/QuotesResource.d.ts
index a80d2d78..1bbbe664 100644
--- a/types/QuotesResource.d.ts
+++ b/types/QuotesResource.d.ts
@@ -232,6 +232,11 @@ declare module 'stripe' {
          */
         proration_behavior?: Line.ProrationBehavior;
 
+        /**
+         * Defines how to pause collection for the underlying subscription throughout the duration of the amendment.
+         */
+        set_pause_collection?: Line.SetPauseCollection;
+
         /**
          * Timestamp helper to end the underlying schedule early, based on the acompanying line's start or end date.
          */
@@ -677,6 +682,33 @@ declare module 'stripe' {
           | 'create_prorations'
           | 'none';
 
+        interface SetPauseCollection {
+          /**
+           * Details of the pause_collection behavior to apply to the amendment.
+           */
+          set?: SetPauseCollection.Set;
+
+          /**
+           * Determines the type of the pause_collection amendment.
+           */
+          type: SetPauseCollection.Type;
+        }
+
+        namespace SetPauseCollection {
+          interface Set {
+            /**
+             * The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`.
+             */
+            behavior: Set.Behavior;
+          }
+
+          namespace Set {
+            type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void';
+          }
+
+          type Type = 'remove' | 'set';
+        }
+
         type SetScheduleEnd = 'line_ends_at' | 'line_starts_at';
 
         interface StartsAt {
@@ -1262,6 +1294,7 @@ declare module 'stripe' {
             type Type =
               | 'line_starts_at'
               | 'now'
+              | 'pause_collection_start'
               | 'quote_acceptance_date'
               | 'timestamp';
           }
@@ -1454,6 +1487,7 @@ declare module 'stripe' {
             type Type =
               | 'line_starts_at'
               | 'now'
+              | 'pause_collection_start'
               | 'quote_acceptance_date'
               | 'timestamp';
           }
@@ -1764,6 +1798,11 @@ declare module 'stripe' {
          */
         proration_behavior?: Line.ProrationBehavior;
 
+        /**
+         * Defines how to pause collection for the underlying subscription throughout the duration of the amendment.
+         */
+        set_pause_collection?: Line.SetPauseCollection;
+
         /**
          * Timestamp helper to end the underlying schedule early, based on the acompanying line's start or end date.
          */
@@ -2209,6 +2248,33 @@ declare module 'stripe' {
           | 'create_prorations'
           | 'none';
 
+        interface SetPauseCollection {
+          /**
+           * Details of the pause_collection behavior to apply to the amendment.
+           */
+          set?: SetPauseCollection.Set;
+
+          /**
+           * Determines the type of the pause_collection amendment.
+           */
+          type: SetPauseCollection.Type;
+        }
+
+        namespace SetPauseCollection {
+          interface Set {
+            /**
+             * The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`.
+             */
+            behavior: Set.Behavior;
+          }
+
+          namespace Set {
+            type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void';
+          }
+
+          type Type = 'remove' | 'set';
+        }
+
         type SetScheduleEnd = 'line_ends_at' | 'line_starts_at';
 
         interface StartsAt {
@@ -2796,6 +2862,7 @@ declare module 'stripe' {
             type Type =
               | 'line_starts_at'
               | 'now'
+              | 'pause_collection_start'
               | 'quote_acceptance_date'
               | 'timestamp';
           }
@@ -2990,6 +3057,7 @@ declare module 'stripe' {
             type Type =
               | 'line_starts_at'
               | 'now'
+              | 'pause_collection_start'
               | 'quote_acceptance_date'
               | 'timestamp';
           }
diff --git a/types/SubscriptionSchedules.d.ts b/types/SubscriptionSchedules.d.ts
index 613f19ed..04ca5ec7 100644
--- a/types/SubscriptionSchedules.d.ts
+++ b/types/SubscriptionSchedules.d.ts
@@ -326,6 +326,11 @@ declare module 'stripe' {
          */
         on_behalf_of: string | Stripe.Account | null;
 
+        /**
+         * If specified, payment collection for this subscription will be paused.
+         */
+        pause_collection?: Phase.PauseCollection | null;
+
         /**
          * If the subscription schedule will prorate when transitioning to this phase. Possible values are `create_prorations` and `none`.
          */
@@ -569,6 +574,17 @@ declare module 'stripe' {
           }
         }
 
+        interface PauseCollection {
+          /**
+           * The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`.
+           */
+          behavior: PauseCollection.Behavior;
+        }
+
+        namespace PauseCollection {
+          type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void';
+        }
+
         type ProrationBehavior =
           | 'always_invoice'
           | 'create_prorations'
diff --git a/types/SubscriptionSchedulesResource.d.ts b/types/SubscriptionSchedulesResource.d.ts
index 308fe154..b3e5fc44 100644
--- a/types/SubscriptionSchedulesResource.d.ts
+++ b/types/SubscriptionSchedulesResource.d.ts
@@ -248,6 +248,11 @@ declare module 'stripe' {
          */
         on_behalf_of?: string;
 
+        /**
+         * If specified, payment collection for this subscription will be paused.
+         */
+        pause_collection?: Phase.PauseCollection;
+
         /**
          * Whether the subscription schedule will create [prorations](https://stripe.com/docs/billing/subscriptions/prorations) when transitioning to this phase. The default value is `create_prorations`. This setting controls prorations when a phase is started asynchronously and it is persisted as a field on the phase. It's different from the request-level [proration_behavior](https://stripe.com/docs/api/subscription_schedules/update#update_subscription_schedule-proration_behavior) parameter which controls what happens if the update request affects the billing configuration of the current phase.
          */
@@ -662,6 +667,17 @@ declare module 'stripe' {
           }
         }
 
+        interface PauseCollection {
+          /**
+           * The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`.
+           */
+          behavior: PauseCollection.Behavior;
+        }
+
+        namespace PauseCollection {
+          type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void';
+        }
+
         type ProrationBehavior =
           | 'always_invoice'
           | 'create_prorations'
@@ -962,6 +978,11 @@ declare module 'stripe' {
          */
         on_behalf_of?: string;
 
+        /**
+         * If specified, payment collection for this subscription will be paused.
+         */
+        pause_collection?: Phase.PauseCollection;
+
         /**
          * Whether the subscription schedule will create [prorations](https://stripe.com/docs/billing/subscriptions/prorations) when transitioning to this phase. The default value is `create_prorations`. This setting controls prorations when a phase is started asynchronously and it is persisted as a field on the phase. It's different from the request-level [proration_behavior](https://stripe.com/docs/api/subscription_schedules/update#update_subscription_schedule-proration_behavior) parameter which controls what happens if the update request affects the billing configuration of the current phase.
          */
@@ -1381,6 +1402,17 @@ declare module 'stripe' {
           }
         }
 
+        interface PauseCollection {
+          /**
+           * The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`.
+           */
+          behavior: PauseCollection.Behavior;
+        }
+
+        namespace PauseCollection {
+          type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void';
+        }
+
         type ProrationBehavior =
           | 'always_invoice'
           | 'create_prorations'
@@ -1544,6 +1576,11 @@ declare module 'stripe' {
          */
         proration_behavior?: Amendment.ProrationBehavior;
 
+        /**
+         * Defines how to pause collection for the underlying subscription throughout the duration of the amendment.
+         */
+        set_pause_collection?: Amendment.SetPauseCollection;
+
         /**
          * Ends the subscription schedule early as dictated by either the accompanying amendment's start or end.
          */
@@ -2023,6 +2060,33 @@ declare module 'stripe' {
           | 'create_prorations'
           | 'none';
 
+        interface SetPauseCollection {
+          /**
+           * Details of the pause_collection behavior to apply to the amendment.
+           */
+          set?: SetPauseCollection.Set;
+
+          /**
+           * Determines the type of the pause_collection amendment.
+           */
+          type: SetPauseCollection.Type;
+        }
+
+        namespace SetPauseCollection {
+          interface Set {
+            /**
+             * The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`.
+             */
+            behavior: Set.Behavior;
+          }
+
+          namespace Set {
+            type Behavior = 'keep_as_draft' | 'mark_uncollectible' | 'void';
+          }
+
+          type Type = 'remove' | 'set';
+        }
+
         type SetScheduleEnd = 'amendment_end' | 'amendment_start';
 
         interface TrialSettings {
diff --git a/types/Subscriptions.d.ts b/types/Subscriptions.d.ts
index 8932875f..8828debe 100644
--- a/types/Subscriptions.d.ts
+++ b/types/Subscriptions.d.ts
@@ -467,7 +467,7 @@ declare module 'stripe' {
               eu_bank_transfer?: BankTransfer.EuBankTransfer;
 
               /**
-               * The bank transfer type that can be used for funding. Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, or `mx_bank_transfer`.
+               * The bank transfer type that can be used for funding. Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
                */
               type: string | null;
             }
diff --git a/types/SubscriptionsResource.d.ts b/types/SubscriptionsResource.d.ts
index faf25df5..3b042660 100644
--- a/types/SubscriptionsResource.d.ts
+++ b/types/SubscriptionsResource.d.ts
@@ -738,7 +738,7 @@ declare module 'stripe' {
               eu_bank_transfer?: BankTransfer.EuBankTransfer;
 
               /**
-               * The bank transfer type that can be used for funding. Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, or `mx_bank_transfer`.
+               * The bank transfer type that can be used for funding. Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
                */
               type?: string;
             }
@@ -1666,7 +1666,7 @@ declare module 'stripe' {
               eu_bank_transfer?: BankTransfer.EuBankTransfer;
 
               /**
-               * The bank transfer type that can be used for funding. Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, or `mx_bank_transfer`.
+               * The bank transfer type that can be used for funding. Permitted values include: `eu_bank_transfer`, `gb_bank_transfer`, `jp_bank_transfer`, `mx_bank_transfer`, or `us_bank_transfer`.
                */
               type?: string;
             }
diff --git a/types/Tax/Registrations.d.ts b/types/Tax/Registrations.d.ts
index 04f33e39..ca3d2c10 100644
--- a/types/Tax/Registrations.d.ts
+++ b/types/Tax/Registrations.d.ts
@@ -877,6 +877,8 @@ declare module 'stripe' {
           }
 
           interface Us {
+            local_amusement_tax?: Us.LocalAmusementTax;
+
             local_lease_tax?: Us.LocalLeaseTax;
 
             /**
@@ -891,6 +893,13 @@ declare module 'stripe' {
           }
 
           namespace Us {
+            interface LocalAmusementTax {
+              /**
+               * A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction.
+               */
+              jurisdiction: string;
+            }
+
             interface LocalLeaseTax {
               /**
                * A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction.
diff --git a/types/Tax/RegistrationsResource.d.ts b/types/Tax/RegistrationsResource.d.ts
index 2219ec2f..bd8a7c06 100644
--- a/types/Tax/RegistrationsResource.d.ts
+++ b/types/Tax/RegistrationsResource.d.ts
@@ -1057,6 +1057,11 @@ declare module 'stripe' {
           }
 
           interface Us {
+            /**
+             * Options for the local amusement tax registration.
+             */
+            local_amusement_tax?: Us.LocalAmusementTax;
+
             /**
              * Options for the local lease tax registration.
              */
@@ -1074,6 +1079,13 @@ declare module 'stripe' {
           }
 
           namespace Us {
+            interface LocalAmusementTax {
+              /**
+               * A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction.
+               */
+              jurisdiction: string;
+            }
+
             interface LocalLeaseTax {
               /**
                * A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction.
diff --git a/types/Tax/Settings.d.ts b/types/Tax/Settings.d.ts
index b89878f5..e8135e6f 100644
--- a/types/Tax/Settings.d.ts
+++ b/types/Tax/Settings.d.ts
@@ -26,11 +26,6 @@ declare module 'stripe' {
          */
         livemode: boolean;
 
-        /**
-         * The deprecated places where your business is located.
-         */
-        locations?: Array<Settings.Location>;
-
         /**
          * The `active` status indicates you have all required settings to calculate tax. A status can transition out of `active` when new required settings are introduced.
          */
@@ -60,15 +55,6 @@ declare module 'stripe' {
           address: Stripe.Address;
         }
 
-        interface Location {
-          address: Stripe.Address;
-
-          /**
-           * The role of this location address.
-           */
-          role: 'head_office';
-        }
-
         type Status = 'active' | 'pending';
 
         interface StatusDetails {
diff --git a/types/Tax/SettingsResource.d.ts b/types/Tax/SettingsResource.d.ts
index 6bf02e97..d662f383 100644
--- a/types/Tax/SettingsResource.d.ts
+++ b/types/Tax/SettingsResource.d.ts
@@ -25,11 +25,6 @@ declare module 'stripe' {
          * The place where your business is located.
          */
         head_office?: SettingUpdateParams.HeadOffice;
-
-        /**
-         * The deprecated places where your business is located.
-         */
-        locations?: Array<SettingUpdateParams.Location>;
       }
 
       namespace SettingUpdateParams {
@@ -55,18 +50,6 @@ declare module 'stripe' {
            */
           address: Stripe.AddressParam;
         }
-
-        interface Location {
-          /**
-           * The location of the business for tax purposes.
-           */
-          address: Stripe.AddressParam;
-
-          /**
-           * The role of this location address.
-           */
-          role: 'head_office';
-        }
       }
 
       class SettingsResource {
diff --git a/types/WebhookEndpointsResource.d.ts b/types/WebhookEndpointsResource.d.ts
index a0ef2a20..8f802df5 100644
--- a/types/WebhookEndpointsResource.d.ts
+++ b/types/WebhookEndpointsResource.d.ts
@@ -198,6 +198,8 @@ declare module 'stripe' {
         | 'customer.source.deleted'
         | 'customer.source.expiring'
         | 'customer.source.updated'
+        | 'customer.subscription.collection_paused'
+        | 'customer.subscription.collection_resumed'
         | 'customer.subscription.created'
         | 'customer.subscription.deleted'
         | 'customer.subscription.paused'
@@ -486,6 +488,8 @@ declare module 'stripe' {
         | 'customer.source.deleted'
         | 'customer.source.expiring'
         | 'customer.source.updated'
+        | 'customer.subscription.collection_paused'
+        | 'customer.subscription.collection_resumed'
         | 'customer.subscription.created'
         | 'customer.subscription.deleted'
         | 'customer.subscription.paused'


Test patch:
diff --git a/testProjects/cloudflare-pages/package.json b/testProjects/cloudflare-pages/package.json
index 82183707..8870a472 100644
--- a/testProjects/cloudflare-pages/package.json
+++ b/testProjects/cloudflare-pages/package.json
@@ -3,7 +3,7 @@
   "version": "1.0.0",
   "description": "",
   "scripts": {
-    "build": "wrangler pages functions build && rm _worker.js"
+    "build": "wrangler pages functions build"
   },
   "keywords": [],
   "author": "",