#sagar_apps-events
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/1229488324134305872
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
can i get the user_id form where the webhook was triggered ?
for now if i deploy the stirpe app in test mode and then triggering from different account then i am getting the account ID but not the user Id or any other details
Hey @compact pumice ! I'm sorry I'm going to need a bit more context and details around your question. What exact doc are you following? What is an example Event id evt_123 you are looking at?
sure you can refer to this event Id : evt_3P5tBVK2ZE4DIofl0Yukhl9k
I am creating a stripe apps which save the details of the payment but there occurs a situation where there are more than one user handling the same account i.e i cannot identify which i need to save the data if some extra field able to pass in webhoook it would be good
Gotcha so when you get that Event, it's sent to your platform's Connect WebhookEndpoint. The Event has the account property documented here: https://docs.stripe.com/api/events/object#event_object-account
That's the connected account id that the Event comes from, the evt_123
sagar_apps-events
that i got it but is there any way to send some other key in the payment webhook ??
I don't really understand what "some other key" could mean unfortunately. What exactly are you trying to send?
as i get the account id in the webhook event
can i get the user_id in the webhook ??
what is "the user_id". Can you explain exactly what that means?
user id is the stripe id that is provided to every user has value like usr_123.
I'm sorry I don't know what that could mean. The usr_123 id is something we never expose in the API usually and no one should need this
okay
why are you trying to get that information?
actually i want to save some fields from the webhook data in a file and display to the user but what actually as one account can be handled by many user having different roles i am not getting a common field from which i can identify in which user file i can save the data got from the event.
Gotcha, sadly it's impossible to know which specific user did what in the Dashboard, this is not surfaced anywhere
thanks for the info provided