Skip to content

Commit 7ddf356

Browse files
Use the generated API version 2 (#2517)
1 parent e763818 commit 7ddf356

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed
+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// File generated from our OpenAPI spec
2+
namespace Stripe
3+
{
4+
internal class ApiVersion
5+
{
6+
public const string Current = "2020-08-27";
7+
}
8+
}

src/Stripe.net/Infrastructure/Public/StripeConfiguration.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ static StripeConfiguration()
3030
}
3131

3232
/// <summary>API version used by Stripe.net.</summary>
33-
public static string ApiVersion => "2020-08-27";
33+
public static string ApiVersion => Stripe.ApiVersion.Current;
3434

3535
/// <summary>Gets or sets the API key.</summary>
3636
/// <remarks>

0 commit comments

Comments
 (0)