Skip to content

Commit

Permalink
Codegen for openapi e0123a3 (#1045)
Browse files Browse the repository at this point in the history
  • Loading branch information
richardm-stripe authored Apr 13, 2022
1 parent 3d623c9 commit 721a4b5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/stripe/resources/payment_intent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class PaymentIntent < APIResource
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 = {})
Expand Down Expand Up @@ -52,6 +53,15 @@ def confirm(params = {}, opts = {})
)
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,
Expand Down

0 comments on commit 721a4b5

Please sign in to comment.