Update generated code for v296 (#1208)

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
This commit is contained in:
stripe-openapi[bot] 2023-04-13 07:56:46 -07:00 committed by GitHub
parent 4441dcbb5e
commit ff558e713b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View File

@ -1 +1 @@
v291
v296

View File

@ -1137,6 +1137,16 @@ module Stripe
)
assert_requested :post, "#{Stripe.api_base}/v1/payment_intents"
end
should "support requests with args: amount, currency, payment_method_data" do
Stripe::PaymentIntent.create(
{
amount: 200,
currency: "usd",
payment_method_data: { type: "p24", p24: { bank: "blik" } },
}
)
assert_requested :post, "#{Stripe.api_base}/v1/payment_intents"
end
end
context "PaymentIntent.increment_authorization" do
should "support requests with args: amount, id" do