From abcc296f2473a39469b9a8bf932c66b88db075df Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Fri, 5 Apr 2024 19:51:48 +0000 Subject: [PATCH 1/2] Update generated code for v935 --- OPENAPI_VERSION | 2 +- lib/stripe/api_version.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index ecfba62fe..24a4d06f0 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v923 \ No newline at end of file +v935 \ No newline at end of file diff --git a/lib/stripe/api_version.rb b/lib/stripe/api_version.rb index 9a9fdac0f..8831888bf 100644 --- a/lib/stripe/api_version.rb +++ b/lib/stripe/api_version.rb @@ -3,7 +3,7 @@ module Stripe module ApiVersion - CURRENT = "2023-10-16" + CURRENT = "2024-04-10" PREVIEW = "2024-03-20.preview-v2" end end From 8c3b51769f49cb5e4a614ba25bb03632dff311c3 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Wed, 10 Apr 2024 18:01:40 +0000 Subject: [PATCH 2/2] Update generated code for v941 --- OPENAPI_VERSION | 2 +- lib/stripe/resources/payment_intent.rb | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 7e097336c..08d9c3054 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v940 \ No newline at end of file +v941 \ No newline at end of file diff --git a/lib/stripe/resources/payment_intent.rb b/lib/stripe/resources/payment_intent.rb index a76a5b969..b87a57cf2 100644 --- a/lib/stripe/resources/payment_intent.rb +++ b/lib/stripe/resources/payment_intent.rb @@ -176,7 +176,7 @@ def self.create(params = {}, opts = {}) request_stripe_object(method: :post, path: "/v1/payment_intents", params: params, opts: opts) end - # Perform an decremental authorization on an eligible + # Perform a decremental authorization on an eligible # [PaymentIntent](https://stripe.com/docs/api/payment_intents/object). To be eligible, the # PaymentIntent's status must be requires_capture and # [decremental_authorization.status](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization) @@ -191,7 +191,7 @@ def self.create(params = {}, opts = {}) # The PaymentIntent will now be capturable up to the new authorized amount. # # Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines. - # After it's captured, a PaymentIntent can no longer be decremented. + # After it's fully captured, a PaymentIntent can no longer be decremented. def decrement_authorization(params = {}, opts = {}) request_stripe_object( method: :post, @@ -201,7 +201,7 @@ def decrement_authorization(params = {}, opts = {}) ) end - # Perform an decremental authorization on an eligible + # Perform a decremental authorization on an eligible # [PaymentIntent](https://stripe.com/docs/api/payment_intents/object). To be eligible, the # PaymentIntent's status must be requires_capture and # [decremental_authorization.status](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-decremental_authorization) @@ -216,7 +216,7 @@ def decrement_authorization(params = {}, opts = {}) # The PaymentIntent will now be capturable up to the new authorized amount. # # Each PaymentIntent can have a maximum of 10 decremental or incremental authorization attempts, including declines. - # After it's captured, a PaymentIntent can no longer be decremented. + # After it's fully captured, a PaymentIntent can no longer be decremented. def self.decrement_authorization(intent, params = {}, opts = {}) request_stripe_object( method: :post,