From f682e659f49254c774861e61f4f3689dfe366a6d Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Thu, 11 Sep 2025 16:52:49 +0000 Subject: [PATCH 1/2] Update generated code for v1955 and 2025-09-30.clover --- API_VERSION | 2 +- OPENAPI_VERSION | 2 +- .../Entities/PaymentIntents/PaymentIntentNextAction.cs | 3 ++- .../PaymentIntents/PaymentIntentNextActionUseStripeSdk.cs | 7 ------- .../Entities/SetupIntents/SetupIntentNextAction.cs | 3 ++- .../SetupIntents/SetupIntentNextActionUseStripeSdk.cs | 7 ------- 6 files changed, 6 insertions(+), 18 deletions(-) delete mode 100644 src/Stripe.net/Entities/PaymentIntents/PaymentIntentNextActionUseStripeSdk.cs delete mode 100644 src/Stripe.net/Entities/SetupIntents/SetupIntentNextActionUseStripeSdk.cs diff --git a/API_VERSION b/API_VERSION index 0336d6a3a5..fb72506858 100644 --- a/API_VERSION +++ b/API_VERSION @@ -1 +1 @@ -2025-08-27.basil \ No newline at end of file +2025-09-30.clover \ No newline at end of file diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 6598803dc3..93b8e88878 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v1932 \ No newline at end of file +v1955 \ No newline at end of file diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentNextAction.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentNextAction.cs index a645089ed7..5478c4dd6c 100644 --- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentNextAction.cs +++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentNextAction.cs @@ -1,6 +1,7 @@ // File generated from our OpenAPI spec namespace Stripe { + using System.Collections.Generic; using Newtonsoft.Json; #if NET6_0_OR_GREATER using STJS = System.Text.Json.Serialization; @@ -107,7 +108,7 @@ public class PaymentIntentNextAction : StripeEntity #if NET6_0_OR_GREATER [STJS.JsonPropertyName("use_stripe_sdk")] #endif - public PaymentIntentNextActionUseStripeSdk UseStripeSdk { get; set; } + public Dictionary UseStripeSdk { get; set; } [JsonProperty("verify_with_microdeposits")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentNextActionUseStripeSdk.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentNextActionUseStripeSdk.cs deleted file mode 100644 index cdf002d2ad..0000000000 --- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentNextActionUseStripeSdk.cs +++ /dev/null @@ -1,7 +0,0 @@ -// File generated from our OpenAPI spec -namespace Stripe -{ - public class PaymentIntentNextActionUseStripeSdk : StripeEntity - { - } -} diff --git a/src/Stripe.net/Entities/SetupIntents/SetupIntentNextAction.cs b/src/Stripe.net/Entities/SetupIntents/SetupIntentNextAction.cs index 400b1efd26..b0e7d7a522 100644 --- a/src/Stripe.net/Entities/SetupIntents/SetupIntentNextAction.cs +++ b/src/Stripe.net/Entities/SetupIntents/SetupIntentNextAction.cs @@ -1,6 +1,7 @@ // File generated from our OpenAPI spec namespace Stripe { + using System.Collections.Generic; using Newtonsoft.Json; #if NET6_0_OR_GREATER using STJS = System.Text.Json.Serialization; @@ -41,7 +42,7 @@ public class SetupIntentNextAction : StripeEntity #if NET6_0_OR_GREATER [STJS.JsonPropertyName("use_stripe_sdk")] #endif - public SetupIntentNextActionUseStripeSdk UseStripeSdk { get; set; } + public Dictionary UseStripeSdk { get; set; } [JsonProperty("verify_with_microdeposits")] #if NET6_0_OR_GREATER diff --git a/src/Stripe.net/Entities/SetupIntents/SetupIntentNextActionUseStripeSdk.cs b/src/Stripe.net/Entities/SetupIntents/SetupIntentNextActionUseStripeSdk.cs deleted file mode 100644 index 71794eb783..0000000000 --- a/src/Stripe.net/Entities/SetupIntents/SetupIntentNextActionUseStripeSdk.cs +++ /dev/null @@ -1,7 +0,0 @@ -// File generated from our OpenAPI spec -namespace Stripe -{ - public class SetupIntentNextActionUseStripeSdk : StripeEntity - { - } -} From b39390632c378d503860d54a58409f97163d6d5a Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Mon, 15 Sep 2025 23:10:42 +0000 Subject: [PATCH 2/2] Update generated code for v1968 and 2025-09-30.clover --- OPENAPI_VERSION | 2 +- src/StripeTests/Services/GeneratedExamplesTest.cs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 93b8e88878..580d3b4079 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v1955 \ No newline at end of file +v1968 \ No newline at end of file diff --git a/src/StripeTests/Services/GeneratedExamplesTest.cs b/src/StripeTests/Services/GeneratedExamplesTest.cs index a0a41f9759..125a83e341 100644 --- a/src/StripeTests/Services/GeneratedExamplesTest.cs +++ b/src/StripeTests/Services/GeneratedExamplesTest.cs @@ -3911,7 +3911,6 @@ public void TestSubscriptionSchedulesPost() Quantity = 1, }, }, - Iterations = 12, }, }, };