Skip to content

Commit

Permalink
Update generated code for v296 (#1208)
Browse files Browse the repository at this point in the history
Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] authored Apr 13, 2023
1 parent 4441dcb commit ff558e7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v291
v296
10 changes: 10 additions & 0 deletions test/stripe/generated_examples_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1137,6 +1137,16 @@ class CodegennedExampleTest < Test::Unit::TestCase
)
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
Expand Down

0 comments on commit ff558e7

Please sign in to comment.