diff --git a/api_version.go b/api_version.go new file mode 100644 index 0000000000..63ecf7fccd --- /dev/null +++ b/api_version.go @@ -0,0 +1,11 @@ +// +// +// File generated from our OpenAPI spec +// +// + +package stripe + +const ( + apiVersion string = "2020-08-27" +) diff --git a/stripe.go b/stripe.go index 8b17692ff2..decec37623 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"