#thomask_webhooks
1 messages ยท Page 1 of 1 (latest)
๐ 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/1275360265587658894
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- thomask_apps-webhooks, 5 days ago, 31 messages
- thomask_app-branding, 5 days ago, 15 messages
Hi, let me help you with this.
Stripe Connect account
You mean a Connect Platform account?
Yeah
No, you can only listen to the events that happen on your own Connected accounts, in this case, this Platform account.
Okay, as far as I understand the owner of the Platform account generates payment links for their sub accounts. Is there anyway they can send metadata along with that, that would be ultimately retrievable in a web hook that my App is receiving for their Platform account?
Also, is there a list/namespace of web hooks that Platform accounts emit?
F.Y.I. We're a revenue attribution platform and would like to know about the revenue the customer (Platform account) is making
I understand the Platform is taking some kind of application fee for payment via those Payment Links, correct?
A Balance Transaction object will be created on the Platform for that application fee, that you can access: https://docs.stripe.com/connect/direct-charges?platform=web&ui=stripe-hosted#flow-of-funds-with-fees
Hmm there is no meta data on balance transactions, right? What I am trying to achieve is that the Platfrom account can pass along a user id with the payment (link). I would then need to retrieve that user id when I receive a web hook in response to the payment. Is that in any way possible?
You can create a Connect webhook endpoint, which will listen to events happening on the Platform account. The Event payload will contain the ID of the account which sent it. https://docs.stripe.com/connect/webhooks
a user id
You mean your own external ID? Or something Stripe-related?
their own external id
So to clarify:
- Our app => Installed by Connect Platform Account
- Platform account passes an external id with the payment link they generate for one of their connected accounts
- Our app can read/reconcile this external id with specific revenue of Platform account (through balance transaction or other object)
I understand what you mean. Please give me a moment...
This is a bit problematic, since your App only has access to the Platform objects, but this metadata lives on the Connected account objects...
Do you have any way to control how Platforms have their Connected accounts charge the customers?
Yeah the Platform account is willing to make some changes if needed
All of this is easier if they use Destination charges, i.e. the Payment Link objects live on the Platform, and then transfer the revenue to the Connected account, while withholding a fee: https://docs.stripe.com/connect/destination-charges
I don't see any other workarounds.
Maybe the Platform could forward the metadata to your applicatio directly.
๐ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
Thanks! I will ask them whether or they're using Destination Charges
Yes, the platform account is using Destination Charges