From 26d028ab4a5b333737c46e3f31f01e3b0ab3ee36 Mon Sep 17 00:00:00 2001 From: Nidhi Lashkari Date: Wed, 24 Jan 2024 22:59:59 +0530 Subject: [PATCH] fix: updates query path to use record_id instead of id --- .../connectors/source-stripe/source_stripe/streams.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airbyte-integrations/connectors/source-stripe/source_stripe/streams.py b/airbyte-integrations/connectors/source-stripe/source_stripe/streams.py index 513b2ef13209a7..4ef2d8cfcf4098 100644 --- a/airbyte-integrations/connectors/source-stripe/source_stripe/streams.py +++ b/airbyte-integrations/connectors/source-stripe/source_stripe/streams.py @@ -353,7 +353,7 @@ class CustomerBalanceTransactions(BasePaginationStripeStream): name = "customer_balance_transactions" def path(self, stream_slice: Mapping[str, Any] = None, **kwargs): - return f"customers/{stream_slice['id']}/balance_transactions" + return f"customers/{stream_slice['record_id']}/balance_transactions" def stream_slices( self, *, sync_mode: SyncMode, cursor_field: List[str] = None, stream_state: Mapping[str, Any] = None