diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 22402537f..8d9af222c 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v296 \ No newline at end of file +v309 \ No newline at end of file diff --git a/tests/test_generated_examples.py b/tests/test_generated_examples.py index 2c0cc5413..4fe5ce206 100644 --- a/tests/test_generated_examples.py +++ b/tests/test_generated_examples.py @@ -1434,6 +1434,15 @@ def test_plan_create(self, request_mock): ) request_mock.assert_requested("post", "/v1/plans") + def test_plan_create2(self, request_mock): + stripe.Plan.create( + amount=2000, + currency="usd", + interval="month", + product={"name": "My product"}, + ) + request_mock.assert_requested("post", "/v1/plans") + def test_plan_delete(self, request_mock): stripe.Plan.delete("price_xxxxxxxxxxxxx") request_mock.assert_requested(