Support connected accounts in the Stripe fdw #23174
Unanswered
chatch
asked this question in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There is currently no way to show objects related to connected accounts in the fdw tables. For example the customers table will show only customers associated with the main account and any connected account customers are effectively hidden.
The stripe api supports querying connected account objects by the Stripe-Account header as described on this page: https://docs.stripe.com/connect/authentication
One way of supporting this might be via options on the
create foreign table
statement. That would allow one table to show all customers for a single connected account. For example a dedicated tablecustomers_connect_account_1
with astripe_account
option:Beta Was this translation helpful? Give feedback.
All reactions