From 7c3caea7717c8c6869f293aa0fa6419e4c34f1e2 Mon Sep 17 00:00:00 2001 From: Richard Marmorstein Date: Wed, 20 Oct 2021 11:41:18 -0400 Subject: [PATCH] Codegen for openapi bf2fb3c --- types/2020-08-27/Accounts.d.ts | 2 +- types/2020-08-27/Charges.d.ts | 5 +++++ types/2020-08-27/PaymentMethods.d.ts | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/types/2020-08-27/Accounts.d.ts b/types/2020-08-27/Accounts.d.ts index 397f455372..fcc37a7f55 100644 --- a/types/2020-08-27/Accounts.d.ts +++ b/types/2020-08-27/Accounts.d.ts @@ -536,7 +536,7 @@ declare module 'stripe' { /** * The controller type. Can be `application`, if a Connect application controls the account, or `account`, if the account controls itself. */ - type?: Controller.Type; + type: Controller.Type; } namespace Controller { diff --git a/types/2020-08-27/Charges.d.ts b/types/2020-08-27/Charges.d.ts index 224dd9f1ad..358c71abe2 100644 --- a/types/2020-08-27/Charges.d.ts +++ b/types/2020-08-27/Charges.d.ts @@ -543,6 +543,11 @@ declare module 'stripe' { } interface Alipay { + /** + * Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same. + */ + buyer_id?: string; + /** * Uniquely identifies this particular Alipay account. You can use this attribute to check whether two Alipay accounts are the same. */ diff --git a/types/2020-08-27/PaymentMethods.d.ts b/types/2020-08-27/PaymentMethods.d.ts index cc77dffe10..8c905d3bf3 100644 --- a/types/2020-08-27/PaymentMethods.d.ts +++ b/types/2020-08-27/PaymentMethods.d.ts @@ -1301,7 +1301,7 @@ declare module 'stripe' { ): Promise>; /** - * Returns a list of PaymentMethods for a given Customer + * Returns a list of PaymentMethods. For listing a customer's payment methods, you should use [List a Customer's PaymentMethods](https://stripe.com/docs/api/payment_methods/customer_list) */ list( params: PaymentMethodListParams,