diff --git a/airbyte-integrations/connectors/source-stripe/source_stripe/streams.py b/airbyte-integrations/connectors/source-stripe/source_stripe/streams.py index 1bfc1906233bb0..3dbb966786525b 100644 --- a/airbyte-integrations/connectors/source-stripe/source_stripe/streams.py +++ b/airbyte-integrations/connectors/source-stripe/source_stripe/streams.py @@ -24,6 +24,7 @@ class StripeStream(HttpStream, ABC): url_base = "https://api.stripe.com/v1/" + api_version = "2022-11-15" primary_key = "id" DEFAULT_SLICE_RANGE = 365 NOW_TIMESTAMP = pendulum.now().int_timestamp @@ -60,7 +61,7 @@ def request_params( def request_headers(self, **kwargs) -> Mapping[str, Any]: if self.account_id: - return {"Stripe-Account": self.account_id} + return {"Stripe-Account": self.account_id, "Stripe-Version": self.api_version} return {}