Skip to content

Commit

Permalink
Update generated code for v1436
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Jan 8, 2025
1 parent 00fd51d commit ca630d5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1435
v1436
14 changes: 14 additions & 0 deletions types/PaymentLinksResource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1124,6 +1124,13 @@ declare module 'stripe' {
Array<PaymentLinkUpdateParams.PaymentMethodType>
>;

/**
* Controls phone number collection settings during checkout.
*
* We recommend that you review your privacy policy and check with your legal contacts.
*/
phone_number_collection?: PaymentLinkUpdateParams.PhoneNumberCollection;

/**
* Settings that restrict the usage of a payment link.
*/
Expand Down Expand Up @@ -1579,6 +1586,13 @@ declare module 'stripe' {
| 'wechat_pay'
| 'zip';

interface PhoneNumberCollection {
/**
* Set to `true` to enable phone number collection.
*/
enabled: boolean;
}

interface Restrictions {
/**
* Configuration for the `completed_sessions` restriction type.
Expand Down

0 comments on commit ca630d5

Please sign in to comment.