API Updates (#1043)

* Codegen for openapi fc5a2b9

* Reformat code
This commit is contained in:
Kamil Pajdzik 2022-04-08 09:43:40 -07:00 committed by GitHub
parent ca0ab78388
commit 89f170c4c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,11 +10,21 @@ module Stripe
OBJECT_NAME = "payment_intent"
custom_method :apply_customer_balance, http_verb: :post
custom_method :cancel, http_verb: :post
custom_method :capture, http_verb: :post
custom_method :confirm, http_verb: :post
custom_method :verify_microdeposits, http_verb: :post
def apply_customer_balance(params = {}, opts = {})
request_stripe_object(
method: :post,
path: resource_url + "/apply_customer_balance",
params: params,
opts: opts
)
end
def cancel(params = {}, opts = {})
request_stripe_object(
method: :post,