diff --git a/CHANGELOG.md b/CHANGELOG.md index c5eb586b1f..cd888d4bbb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 10.17.0 - 2022-11-08 +* [#1610](https://github.com/stripe/stripe-node/pull/1610) API Updates + * Add support for new values `eg_tin`, `ph_tin`, and `tr_tin` on enums `Checkout.Session.customer_details.tax_ids[].type`, `Invoice.customer_tax_ids[].type`, `Order.tax_details.tax_ids[].type`, and `TaxId.type` + * Add support for new values `eg_tin`, `ph_tin`, and `tr_tin` on enums `CustomerCreateParams.tax_id_data[].type`, `InvoiceUpcomingLinesParams.customer_details.tax_ids[].type`, `InvoiceUpcomingParams.customer_details.tax_ids[].type`, `OrderCreateParams.tax_details.tax_ids[].type`, `OrderUpdateParams.tax_details.tax_ids[].type`, and `TaxIdCreateParams.type` + * Add support for `reason_message` on `Issuing.Authorization.request_history[]` + * Add support for new value `webhook_error` on enum `Issuing.Authorization.request_history[].reason` + ## 10.16.0 - 2022-11-03 * [#1596](https://github.com/stripe/stripe-node/pull/1596) API Updates * Add support for `on_behalf_of` on `CheckoutSessionCreateParams.subscription_data`, `SubscriptionCreateParams`, `SubscriptionSchedule.default_settings`, `SubscriptionSchedule.phases[]`, `SubscriptionScheduleCreateParams.default_settings`, `SubscriptionScheduleCreateParams.phases[]`, `SubscriptionScheduleUpdateParams.default_settings`, `SubscriptionScheduleUpdateParams.phases[]`, `SubscriptionUpdateParams`, and `Subscription` diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index fe802d3a45..993f410bcd 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v204 \ No newline at end of file +v206 \ No newline at end of file diff --git a/VERSION b/VERSION index 5007551bf8..73bffb0393 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -10.16.0 +10.17.0 diff --git a/package.json b/package.json index 8d72bfb3a8..369490e563 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "stripe", - "version": "10.16.0", + "version": "10.17.0", "description": "Stripe API wrapper", "keywords": [ "stripe", diff --git a/types/2022-08-01/Issuing/Authorizations.d.ts b/types/2022-08-01/Issuing/Authorizations.d.ts index 3d7ef05adc..3fda975cec 100644 --- a/types/2022-08-01/Issuing/Authorizations.d.ts +++ b/types/2022-08-01/Issuing/Authorizations.d.ts @@ -271,6 +271,11 @@ declare module 'stripe' { * The reason for the approval or decline. */ reason: RequestHistory.Reason; + + /** + * If approve/decline decision is directly responsed to the webhook with json payload and if the response is invalid (e.g., parsing errors), we surface the detailed message via this field. + */ + reason_message: string | null; } namespace RequestHistory { @@ -294,6 +299,7 @@ declare module 'stripe' { | 'verification_failed' | 'webhook_approved' | 'webhook_declined' + | 'webhook_error' | 'webhook_timeout'; }