diff --git a/api_version.go b/api_version.go new file mode 100644 index 0000000000..8ba0325624 --- /dev/null +++ b/api_version.go @@ -0,0 +1,16 @@ +// +// +// File generated from our OpenAPI spec +// +// + +package stripe + +const ( + apiVersion string = "2020-08-27" +) + +// +// Suppress the unused constant warning +// The constant is not used for GA releases but is used in betas +var _ = apiVersion diff --git a/stripe.go b/stripe.go index 3f73e30dae..563a113168 100644 --- a/stripe.go +++ b/stripe.go @@ -31,7 +31,7 @@ import ( const ( // APIVersion is the currently supported API version - APIVersion string = "2020-08-27" + APIVersion string = apiVersion // APIBackend is a constant representing the API service backend. APIBackend SupportedBackend = "api"