Skip to content

Commit a222eb0

Browse files
Update generated code (#2379)
Update generated code for v1868 and 2025-07-30.basil Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
1 parent 67b2f17 commit a222eb0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+1589
-145
lines changed

API_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2025-06-30.basil
1+
2025-07-30.basil

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1819
1+
v1868

src/apiVersion.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// File generated from our OpenAPI spec
22

3-
export const ApiVersion = '2025-06-30.basil';
3+
export const ApiVersion = '2025-07-30.basil';
44
export const ApiMajorVersion = 'basil';

types/AccountLinksResource.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ declare module 'stripe' {
99
account: string;
1010

1111
/**
12-
* The type of account link the user is requesting. Possible values are `account_onboarding` or `account_update`.
12+
* The type of account link the user is requesting.
13+
*
14+
* You can create Account Links of type `account_update` only for connected accounts where your platform is responsible for collecting requirements, including Custom accounts. You can't create them for accounts that have access to a Stripe-hosted Dashboard. If you use [Connect embedded components](https://docs.stripe.com/connect/get-started-connect-embedded-components), you can include components that allow your connected accounts to update their own information. For an account without Stripe-hosted Dashboard access where Stripe is liable for negative balances, you must use embedded components.
1315
*/
1416
type: AccountLinkCreateParams.Type;
1517

types/AccountSessions.d.ts

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ declare module 'stripe' {
6060

6161
financial_account_transactions: Components.FinancialAccountTransactions;
6262

63+
instant_payouts_promotion: Components.InstantPayoutsPromotion;
64+
6365
issuing_card: Components.IssuingCard;
6466

6567
issuing_cards_list: Components.IssuingCardsList;
@@ -263,6 +265,34 @@ declare module 'stripe' {
263265
}
264266
}
265267

268+
interface InstantPayoutsPromotion {
269+
/**
270+
* Whether the embedded component is enabled.
271+
*/
272+
enabled: boolean;
273+
274+
features: InstantPayoutsPromotion.Features;
275+
}
276+
277+
namespace InstantPayoutsPromotion {
278+
interface Features {
279+
/**
280+
* Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
281+
*/
282+
disable_stripe_user_authentication: boolean;
283+
284+
/**
285+
* Whether external account collection is enabled. This feature can only be `false` for accounts where you're responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
286+
*/
287+
external_account_collection: boolean;
288+
289+
/**
290+
* Whether to allow creation of instant payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
291+
*/
292+
instant_payouts: boolean;
293+
}
294+
}
295+
266296
interface IssuingCard {
267297
/**
268298
* Whether the embedded component is enabled.

types/AccountSessionsResource.d.ts

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ declare module 'stripe' {
5656
*/
5757
financial_account_transactions?: Components.FinancialAccountTransactions;
5858

59+
/**
60+
* Configuration for the [instant payouts promotion](https://docs.stripe.com/connect/supported-embedded-components/instant-payouts-promotion/) embedded component.
61+
*/
62+
instant_payouts_promotion?: Components.InstantPayoutsPromotion;
63+
5964
/**
6065
* Configuration for the [issuing card](https://docs.stripe.com/connect/supported-embedded-components/issuing-card/) embedded component.
6166
*/
@@ -310,6 +315,37 @@ declare module 'stripe' {
310315
}
311316
}
312317

318+
interface InstantPayoutsPromotion {
319+
/**
320+
* Whether the embedded component is enabled.
321+
*/
322+
enabled: boolean;
323+
324+
/**
325+
* The list of features enabled in the embedded component.
326+
*/
327+
features?: InstantPayoutsPromotion.Features;
328+
}
329+
330+
namespace InstantPayoutsPromotion {
331+
interface Features {
332+
/**
333+
* Whether Stripe user authentication is disabled. This value can only be `true` for accounts where `controller.requirement_collection` is `application` for the account. The default value is the opposite of the `external_account_collection` value. For example, if you don't set `external_account_collection`, it defaults to `true` and `disable_stripe_user_authentication` defaults to `false`.
334+
*/
335+
disable_stripe_user_authentication?: boolean;
336+
337+
/**
338+
* Whether external account collection is enabled. This feature can only be `false` for accounts where you're responsible for collecting updated information when requirements are due or change, like Custom accounts. The default value for this feature is `true`.
339+
*/
340+
external_account_collection?: boolean;
341+
342+
/**
343+
* Whether to allow creation of instant payouts. Defaults to `true` when `controller.losses.payments` is set to `stripe` for the account, otherwise `false`.
344+
*/
345+
instant_payouts?: boolean;
346+
}
347+
}
348+
313349
interface IssuingCard {
314350
/**
315351
* Whether the embedded component is enabled.

types/Accounts.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ declare module 'stripe' {
142142
mcc: string | null;
143143

144144
/**
145-
* Whether the business is a minority-owned, women-owned, and/or LGBTQI+-owned business.
145+
* Whether the business is a minority-owned, women-owned, and/or LGBTQI+ -owned business.
146146
*/
147147
minority_owned_business_designation: Array<
148148
BusinessProfile.MinorityOwnedBusinessDesignation

types/AccountsResource.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ declare module 'stripe' {
121121
mcc?: string;
122122

123123
/**
124-
* Whether the business is a minority-owned, women-owned, and/or LGBTQI+-owned business.
124+
* Whether the business is a minority-owned, women-owned, and/or LGBTQI+ -owned business.
125125
*/
126126
minority_owned_business_designation?: Array<
127127
BusinessProfile.MinorityOwnedBusinessDesignation
@@ -2000,7 +2000,7 @@ declare module 'stripe' {
20002000
mcc?: string;
20012001

20022002
/**
2003-
* Whether the business is a minority-owned, women-owned, and/or LGBTQI+-owned business.
2003+
* Whether the business is a minority-owned, women-owned, and/or LGBTQI+ -owned business.
20042004
*/
20052005
minority_owned_business_designation?: Array<
20062006
BusinessProfile.MinorityOwnedBusinessDesignation
@@ -4901,7 +4901,7 @@ declare module 'stripe' {
49014901
*
49024902
* Test-mode accounts can be deleted at any time.
49034903
*
4904-
* Live-mode accounts where Stripe is responsible for negative account balances cannot be deleted, which includes Standard accounts. Live-mode accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be deleted when all [balances](https://docs.stripe.com/api/balance/balance_object) are zero.
4904+
* Live-mode accounts that have access to the standard dashboard and Stripe is responsible for negative account balances cannot be deleted, which includes Standard accounts. All other Live-mode accounts, can be deleted when all [balances](https://docs.stripe.com/api/balance/balance_object) are zero.
49054905
*
49064906
* If you want to delete your own account, use the [account information tab in your account settings](https://dashboard.stripe.com/settings/account) instead.
49074907
*/

types/Billing/CreditGrantsResource.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ declare module 'stripe' {
6363
monetary?: Amount.Monetary;
6464

6565
/**
66-
* Specify the type of this amount. We currently only support `monetary` billing credits.
66+
* The type of this amount. We currently only support `monetary` billing credits.
6767
*/
6868
type: 'monetary';
6969
}

types/BillingPortal/Configurations.d.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,8 @@ declare module 'stripe' {
217217
type DefaultAllowedUpdate = 'price' | 'promotion_code' | 'quantity';
218218

219219
interface Product {
220+
adjustable_quantity: Product.AdjustableQuantity;
221+
220222
/**
221223
* The list of price IDs which, when subscribed to, a subscription can be updated.
222224
*/
@@ -228,6 +230,25 @@ declare module 'stripe' {
228230
product: string;
229231
}
230232

233+
namespace Product {
234+
interface AdjustableQuantity {
235+
/**
236+
* If true, the quantity can be adjusted to any non-negative integer.
237+
*/
238+
enabled: boolean;
239+
240+
/**
241+
* The maximum quantity that can be set for the product.
242+
*/
243+
maximum: number | null;
244+
245+
/**
246+
* The minimum quantity that can be set for the product.
247+
*/
248+
minimum: number;
249+
}
250+
}
251+
231252
type ProrationBehavior =
232253
| 'always_invoice'
233254
| 'create_prorations'

0 commit comments

Comments
 (0)