diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 1f7b99f730..e02bb288e4 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v163 \ No newline at end of file +v164 \ No newline at end of file diff --git a/types/2020-08-27/Checkout/Sessions.d.ts b/types/2020-08-27/Checkout/Sessions.d.ts index fedb4b03b7..2c7e7fc4ae 100644 --- a/types/2020-08-27/Checkout/Sessions.d.ts +++ b/types/2020-08-27/Checkout/Sessions.d.ts @@ -2942,6 +2942,11 @@ declare module 'stripe' { */ customer?: string; + /** + * Only return the Checkout Sessions for the Customer details specified. + */ + customer_details?: SessionListParams.CustomerDetails; + /** * Specifies which fields in the response should be expanded. */ @@ -2958,6 +2963,15 @@ declare module 'stripe' { subscription?: string; } + namespace SessionListParams { + interface CustomerDetails { + /** + * Customer's email address. + */ + email: string; + } + } + interface SessionExpireParams { /** * Specifies which fields in the response should be expanded. diff --git a/types/2020-08-27/LineItems.d.ts b/types/2020-08-27/LineItems.d.ts index 6f41fb08c0..68a3897b28 100644 --- a/types/2020-08-27/LineItems.d.ts +++ b/types/2020-08-27/LineItems.d.ts @@ -19,7 +19,7 @@ declare module 'stripe' { /** * Total discount amount applied. If no discounts were applied, defaults to 0. */ - amount_discount?: number; + amount_discount: number; /** * Total before any discounts or taxes are applied. @@ -29,7 +29,7 @@ declare module 'stripe' { /** * Total tax amount applied. If no tax was applied, defaults to 0. */ - amount_tax?: number; + amount_tax: number; /** * Total after discounts and taxes. diff --git a/types/2020-08-27/TestHelpers/Terminal/Readers.d.ts b/types/2020-08-27/TestHelpers/Terminal/Readers.d.ts index 1f46c752b7..dc76395376 100644 --- a/types/2020-08-27/TestHelpers/Terminal/Readers.d.ts +++ b/types/2020-08-27/TestHelpers/Terminal/Readers.d.ts @@ -6,7 +6,7 @@ declare module 'stripe' { namespace Terminal { interface ReaderPresentPaymentMethodParams { /** - * Simulated card present data + * Simulated data for the card_present payment method */ card_present?: ReaderPresentPaymentMethodParams.CardPresent; diff --git a/types/2020-08-27/Transfers.d.ts b/types/2020-08-27/Transfers.d.ts index 67d52d7657..11a11cd0ff 100644 --- a/types/2020-08-27/Transfers.d.ts +++ b/types/2020-08-27/Transfers.d.ts @@ -84,7 +84,7 @@ declare module 'stripe' { /** * The source balance this transfer came from. One of `card`, `fpx`, or `bank_account`. */ - source_type: string | null; + source_type?: string; /** * A string that identifies this transaction as part of a group. See the [Connect documentation](https://stripe.com/docs/connect/charges-transfers#transfer-options) for details.