#shimmmaz_api

1 messages ¡ Page 1 of 1 (latest)

short knollBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1288265510768873615

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

dark lance
#

And a followup questions - can webhooks coming from the parent account and webhooks coming from a connect account, go to the same endpoint?

ivory pulsar
#

Hi there

dark lance
#

hello!

ivory pulsar
#

No, it's not possible to share Product objects across connected accounts. I suspect you likely want to keep all Products on the platform account and use destination charges or separate charges & transfers

dark lance
#

But I don't want to use destination charges because I want the customers of an account to not be aware of the platform

ivory pulsar
#

Yes, you can have account and connect webhooks pointing to the same URL. At that point, your event handler logic should pay attention to the account value in the Event payload to determine whether this is a Connect-related event and which account is relevant

#

Have you looked into using Destination charges with on_behalf_of ?

dark lance
ivory pulsar
#

That's right, they won't see any products listed there; these will all live in the platform account.

dark lance
#

But they would still see subscriptions made on behalf of them?

#

just they won't see what the customer subscribed to?

ivory pulsar
#

They'll see the transfers associated with invoice payments tied to a Subscription but they won't see the invoice or subscription objects directly

dark lance
#

hmmm interesting,

#

thank you for your help

ivory pulsar
#

Sure thing!

#

I recommend testing this out too so you can see the objects and fund flows in action