Skip to content

Commit

Permalink
Adds Stripe-Account header (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
vmesel authored Jan 17, 2024
1 parent a1521c3 commit 4aef72a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tap_stripe/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ def http_headers(self) -> dict:
"""Return headers dict to be used for HTTP requests."""
result = self._http_headers
result["Stripe-Version"] = "2022-11-15"
if self.config.get("account_id"):
result["Stripe-Account"] = self.config.get("account_id")
return result

def get_next_page_token(
Expand Down

0 comments on commit 4aef72a

Please sign in to comment.