#Maddy112233
1 messages · Page 1 of 1 (latest)
You may retrieve the products on the platform account (https://stripe.com/docs/api/products/list) and create/update them via API with Stripe-Account header as connected account ID:
- https://stripe.com/docs/api/products/create
Stripe-Accountheader: https://stripe.com/docs/api/connected_accounts
in this case the priceId will be different for connected and platform right?
Yup! They will be different
but we want to maintain a common product tables/details across the accounts. Is there any way to do that?
Hey! Taking over for my colleague. You need to maintain this by your own, you can't share product prices across all Connected Accounts
I see, to update connected account's products, we'd have to store its api key as well right? Is there a way to update by using platform's api key and stripeAccount param while calling apis? We are trying to avoid handling 2 api keys in our app.
?
yes you can achieve this by using stripe account header:
https://stripe.com/docs/connect/authentication#stripe-account-header
Can we update the products of the connected account using this?
yes
following these steps
Great! Thanks!