Skip to content

Commit dc5e6b6

Browse files
Update generated code for v1436
1 parent f6a85d9 commit dc5e6b6

File tree

3 files changed

+29
-1
lines changed

3 files changed

+29
-1
lines changed

OPENAPI_VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1435
1+
v1436

stripe/_payment_link.py

+14
Original file line numberDiff line numberDiff line change
@@ -1694,6 +1694,14 @@ class ModifyParams(RequestOptions):
16941694
"""
16951695
The list of payment method types that customers can use. Pass an empty string to enable dynamic payment methods that use your [payment method settings](https://dashboard.stripe.com/settings/payment_methods).
16961696
"""
1697+
phone_number_collection: NotRequired[
1698+
"PaymentLink.ModifyParamsPhoneNumberCollection"
1699+
]
1700+
"""
1701+
Controls phone number collection settings during checkout.
1702+
1703+
We recommend that you review your privacy policy and check with your legal contacts.
1704+
"""
16971705
restrictions: NotRequired[
16981706
"Literal['']|PaymentLink.ModifyParamsRestrictions"
16991707
]
@@ -2033,6 +2041,12 @@ class ModifyParamsPaymentIntentData(TypedDict):
20332041
A string that identifies the resulting payment as part of a group. See the PaymentIntents [use case for connected accounts](https://stripe.com/docs/connect/separate-charges-and-transfers) for details.
20342042
"""
20352043

2044+
class ModifyParamsPhoneNumberCollection(TypedDict):
2045+
enabled: bool
2046+
"""
2047+
Set to `true` to enable phone number collection.
2048+
"""
2049+
20362050
class ModifyParamsRestrictions(TypedDict):
20372051
completed_sessions: (
20382052
"PaymentLink.ModifyParamsRestrictionsCompletedSessions"

stripe/_payment_link_service.py

+14
Original file line numberDiff line numberDiff line change
@@ -1037,6 +1037,14 @@ class UpdateParams(TypedDict):
10371037
"""
10381038
The list of payment method types that customers can use. Pass an empty string to enable dynamic payment methods that use your [payment method settings](https://dashboard.stripe.com/settings/payment_methods).
10391039
"""
1040+
phone_number_collection: NotRequired[
1041+
"PaymentLinkService.UpdateParamsPhoneNumberCollection"
1042+
]
1043+
"""
1044+
Controls phone number collection settings during checkout.
1045+
1046+
We recommend that you review your privacy policy and check with your legal contacts.
1047+
"""
10401048
restrictions: NotRequired[
10411049
"Literal['']|PaymentLinkService.UpdateParamsRestrictions"
10421050
]
@@ -1384,6 +1392,12 @@ class UpdateParamsPaymentIntentData(TypedDict):
13841392
A string that identifies the resulting payment as part of a group. See the PaymentIntents [use case for connected accounts](https://stripe.com/docs/connect/separate-charges-and-transfers) for details.
13851393
"""
13861394

1395+
class UpdateParamsPhoneNumberCollection(TypedDict):
1396+
enabled: bool
1397+
"""
1398+
Set to `true` to enable phone number collection.
1399+
"""
1400+
13871401
class UpdateParamsRestrictions(TypedDict):
13881402
completed_sessions: (
13891403
"PaymentLinkService.UpdateParamsRestrictionsCompletedSessions"

0 commit comments

Comments
 (0)