From 721a4b5660a56fec0374b75290fe72b6502a4074 Mon Sep 17 00:00:00 2001 From: Richard Marmorstein <52928443+richardm-stripe@users.noreply.github.com> Date: Wed, 13 Apr 2022 13:11:29 -0400 Subject: [PATCH] Codegen for openapi e0123a3 (#1045) --- lib/stripe/resources/payment_intent.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/stripe/resources/payment_intent.rb b/lib/stripe/resources/payment_intent.rb index 33bba8f2..c9ef121d 100644 --- a/lib/stripe/resources/payment_intent.rb +++ b/lib/stripe/resources/payment_intent.rb @@ -14,6 +14,7 @@ module Stripe custom_method :cancel, http_verb: :post custom_method :capture, http_verb: :post custom_method :confirm, http_verb: :post + custom_method :increment_authorization, http_verb: :post custom_method :verify_microdeposits, http_verb: :post def apply_customer_balance(params = {}, opts = {}) @@ -52,6 +53,15 @@ module Stripe ) end + def increment_authorization(params = {}, opts = {}) + request_stripe_object( + method: :post, + path: resource_url + "/increment_authorization", + params: params, + opts: opts + ) + end + def verify_microdeposits(params = {}, opts = {}) request_stripe_object( method: :post,