Skip to content

Commit f71b687

Browse files
Update generated code (#1411)
* Update generated code for v1268 * Update generated code for v1314 * Update generated code for v1315 * Update generated code for v1317 * Update generated code for v1318 * Update generated code for v1318 * Update generated code for v1319 --------- Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Co-authored-by: prathmesh-stripe <[email protected]>
1 parent d53a190 commit f71b687

File tree

83 files changed

+4856
-167
lines changed

Some content is hidden

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

83 files changed

+4856
-167
lines changed

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1268
1+
v1319

stripe/_account.py

Lines changed: 124 additions & 5 deletions
Large diffs are not rendered by default.

stripe/_account_login_link_service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def create(
2222
options: RequestOptions = {},
2323
) -> LoginLink:
2424
"""
25-
Creates a single-use login link for a connected account to access the Express Dashboard.
25+
Creates a login link for a connected account to access the Express Dashboard.
2626
2727
You can only create login links for accounts that use the [Express Dashboard](https://stripe.com/connect/express-dashboard) and are connected to your platform.
2828
"""
@@ -46,7 +46,7 @@ async def create_async(
4646
options: RequestOptions = {},
4747
) -> LoginLink:
4848
"""
49-
Creates a single-use login link for a connected account to access the Express Dashboard.
49+
Creates a login link for a connected account to access the Express Dashboard.
5050
5151
You can only create login links for accounts that use the [Express Dashboard](https://stripe.com/connect/express-dashboard) and are connected to your platform.
5252
"""

stripe/_account_service.py

Lines changed: 166 additions & 2 deletions
Large diffs are not rendered by default.

stripe/_account_session.py

Lines changed: 51 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from stripe._createable_api_resource import CreateableAPIResource
44
from stripe._request_options import RequestOptions
55
from stripe._stripe_object import StripeObject
6-
from typing import ClassVar, List, cast
6+
from typing import ClassVar, List, Optional, cast
77
from typing_extensions import Literal, NotRequired, TypedDict, Unpack
88

99

@@ -23,9 +23,13 @@ class AccountSession(CreateableAPIResource["AccountSession"]):
2323
class Components(StripeObject):
2424
class AccountManagement(StripeObject):
2525
class Features(StripeObject):
26+
disable_stripe_user_authentication: Optional[bool]
27+
"""
28+
Disables Stripe user authentication for this embedded component. 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 `false` when `external_account_collection` is enabled and `true` otherwise.
29+
"""
2630
external_account_collection: bool
2731
"""
28-
Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for custom accounts (or accounts where the platform is compliance owner). Otherwise, bank account collection is determined by compliance requirements.
32+
Whether to allow platforms to control bank account collection for their connected accounts. 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. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.
2933
"""
3034

3135
enabled: bool
@@ -37,9 +41,13 @@ class Features(StripeObject):
3741

3842
class AccountOnboarding(StripeObject):
3943
class Features(StripeObject):
44+
disable_stripe_user_authentication: Optional[bool]
45+
"""
46+
Disables Stripe user authentication for this embedded component. 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 `false` when `external_account_collection` is enabled and `true` otherwise.
47+
"""
4048
external_account_collection: bool
4149
"""
42-
Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for custom accounts (or accounts where the platform is compliance owner). Otherwise, bank account collection is determined by compliance requirements.
50+
Whether to allow platforms to control bank account collection for their connected accounts. 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. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.
4351
"""
4452

4553
enabled: bool
@@ -51,13 +59,17 @@ class Features(StripeObject):
5159

5260
class Balances(StripeObject):
5361
class Features(StripeObject):
62+
disable_stripe_user_authentication: Optional[bool]
63+
"""
64+
Disables Stripe user authentication for this embedded component. 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 `false` when `external_account_collection` is enabled and `true` otherwise.
65+
"""
5466
edit_payout_schedule: bool
5567
"""
5668
Whether to allow payout schedule to be changed. Default `true` when Stripe owns Loss Liability, default `false` otherwise.
5769
"""
5870
external_account_collection: bool
5971
"""
60-
Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for custom accounts (or accounts where the platform is compliance owner). Otherwise, bank account collection is determined by compliance requirements.
72+
Whether to allow platforms to control bank account collection for their connected accounts. 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. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.
6173
"""
6274
instant_payouts: bool
6375
"""
@@ -88,9 +100,13 @@ class Features(StripeObject):
88100

89101
class NotificationBanner(StripeObject):
90102
class Features(StripeObject):
103+
disable_stripe_user_authentication: Optional[bool]
104+
"""
105+
Disables Stripe user authentication for this embedded component. 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 `false` when `external_account_collection` is enabled and `true` otherwise.
106+
"""
91107
external_account_collection: bool
92108
"""
93-
Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for custom accounts (or accounts where the platform is compliance owner). Otherwise, bank account collection is determined by compliance requirements.
109+
Whether to allow platforms to control bank account collection for their connected accounts. 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. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.
94110
"""
95111

96112
enabled: bool
@@ -154,13 +170,17 @@ class Features(StripeObject):
154170

155171
class Payouts(StripeObject):
156172
class Features(StripeObject):
173+
disable_stripe_user_authentication: Optional[bool]
174+
"""
175+
Disables Stripe user authentication for this embedded component. 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 `false` when `external_account_collection` is enabled and `true` otherwise.
176+
"""
157177
edit_payout_schedule: bool
158178
"""
159179
Whether to allow payout schedule to be changed. Default `true` when Stripe owns Loss Liability, default `false` otherwise.
160180
"""
161181
external_account_collection: bool
162182
"""
163-
Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for custom accounts (or accounts where the platform is compliance owner). Otherwise, bank account collection is determined by compliance requirements.
183+
Whether to allow platforms to control bank account collection for their connected accounts. 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. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.
164184
"""
165185
instant_payouts: bool
166186
"""
@@ -325,9 +345,13 @@ class CreateParamsComponentsAccountManagement(TypedDict):
325345
"""
326346

327347
class CreateParamsComponentsAccountManagementFeatures(TypedDict):
348+
disable_stripe_user_authentication: NotRequired[bool]
349+
"""
350+
Disables Stripe user authentication for this embedded component. 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 `false` when `external_account_collection` is enabled and `true` otherwise.
351+
"""
328352
external_account_collection: NotRequired[bool]
329353
"""
330-
Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for custom accounts (or accounts where the platform is compliance owner). Otherwise, bank account collection is determined by compliance requirements.
354+
Whether to allow platforms to control bank account collection for their connected accounts. 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. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.
331355
"""
332356

333357
class CreateParamsComponentsAccountOnboarding(TypedDict):
@@ -343,9 +367,13 @@ class CreateParamsComponentsAccountOnboarding(TypedDict):
343367
"""
344368

345369
class CreateParamsComponentsAccountOnboardingFeatures(TypedDict):
370+
disable_stripe_user_authentication: NotRequired[bool]
371+
"""
372+
Disables Stripe user authentication for this embedded component. 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 `false` when `external_account_collection` is enabled and `true` otherwise.
373+
"""
346374
external_account_collection: NotRequired[bool]
347375
"""
348-
Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for custom accounts (or accounts where the platform is compliance owner). Otherwise, bank account collection is determined by compliance requirements.
376+
Whether to allow platforms to control bank account collection for their connected accounts. 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. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.
349377
"""
350378

351379
class CreateParamsComponentsBalances(TypedDict):
@@ -361,13 +389,17 @@ class CreateParamsComponentsBalances(TypedDict):
361389
"""
362390

363391
class CreateParamsComponentsBalancesFeatures(TypedDict):
392+
disable_stripe_user_authentication: NotRequired[bool]
393+
"""
394+
Disables Stripe user authentication for this embedded component. 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 `false` when `external_account_collection` is enabled and `true` otherwise.
395+
"""
364396
edit_payout_schedule: NotRequired[bool]
365397
"""
366398
Whether to allow payout schedule to be changed. Default `true` when Stripe owns Loss Liability, default `false` otherwise.
367399
"""
368400
external_account_collection: NotRequired[bool]
369401
"""
370-
Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for custom accounts (or accounts where the platform is compliance owner). Otherwise, bank account collection is determined by compliance requirements.
402+
Whether to allow platforms to control bank account collection for their connected accounts. 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. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.
371403
"""
372404
instant_payouts: NotRequired[bool]
373405
"""
@@ -406,9 +438,13 @@ class CreateParamsComponentsNotificationBanner(TypedDict):
406438
"""
407439

408440
class CreateParamsComponentsNotificationBannerFeatures(TypedDict):
441+
disable_stripe_user_authentication: NotRequired[bool]
442+
"""
443+
Disables Stripe user authentication for this embedded component. 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 `false` when `external_account_collection` is enabled and `true` otherwise.
444+
"""
409445
external_account_collection: NotRequired[bool]
410446
"""
411-
Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for custom accounts (or accounts where the platform is compliance owner). Otherwise, bank account collection is determined by compliance requirements.
447+
Whether to allow platforms to control bank account collection for their connected accounts. 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. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.
412448
"""
413449

414450
class CreateParamsComponentsPaymentDetails(TypedDict):
@@ -484,13 +520,17 @@ class CreateParamsComponentsPayouts(TypedDict):
484520
"""
485521

486522
class CreateParamsComponentsPayoutsFeatures(TypedDict):
523+
disable_stripe_user_authentication: NotRequired[bool]
524+
"""
525+
Disables Stripe user authentication for this embedded component. 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 `false` when `external_account_collection` is enabled and `true` otherwise.
526+
"""
487527
edit_payout_schedule: NotRequired[bool]
488528
"""
489529
Whether to allow payout schedule to be changed. Default `true` when Stripe owns Loss Liability, default `false` otherwise.
490530
"""
491531
external_account_collection: NotRequired[bool]
492532
"""
493-
Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for custom accounts (or accounts where the platform is compliance owner). Otherwise, bank account collection is determined by compliance requirements.
533+
Whether to allow platforms to control bank account collection for their connected accounts. 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. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.
494534
"""
495535
instant_payouts: NotRequired[bool]
496536
"""

0 commit comments

Comments
 (0)