#151_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/1371756840043413574
📝 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.
- 151_api, 6 days ago, 12 messages
Hi! To confirm your scenario, you are connected account and want to listen to price updates on your platform?
yes,Is there a notification via API? Will the price_id be notified as well?
Hey! Taking over for my colleague. Usually to get notified about something that happens in your Stripe Account or your Connected ones, you should listen to a webhook events
In your use case you can listen to the event price.created or product.created
https://docs.stripe.com/api/events/types#event_types-price.created
https://docs.stripe.com/api/events/types#event_types-product.created
Now the question is: Which Account want to listen to which account ?
Is it the Platform account that wants to listen to events happen on the Connected account or the opposit ?
Sorry, I don't quite understand the relationship between the two; monitoring: my service (Java program) received a notification from the platform (https://dashboard.stripe.com/dashboard) about a package change; please tell me what I should do?
I'm not understanding your latest follow up question neither sorry..
Can you share more details about what you want to achieve exactly ?
After creating a package or price on the platform (https://dashboard.stripe.com/dashboard), there is a price_id. We need to record the price_id in our database (price_id is used as an order parameter). This step is added manually, which is too cumbersome and prone to errors. We hope to complete it automatically.
And you are a connected Account ?
Can you share your Account Id and the Id of what you are referring to as a "platform" ?
The solution here is to listen to webhooks however you can't get updates from your platform account as you are a Connected Account. It's the opposit, your platform account should listen to the webhook events I shared above and they should notify you about those changes (via an API call for example)
This is my first time using webhook. How can I set up a webhook environment? How can I monitor the package change events I need?
Please don't share your email here.
Here is a good quickstart to build a webhook endpoint:
https://docs.stripe.com/webhooks/quickstart?lang=java
And get notified
And this guide in order to understand the concepts:
https://docs.stripe.com/webhooks
Is that it?
acct_1OMnSoAg2QOnAGt7
Didn't use this,No access to webhooks
Ok then you simply need to setup a webhook endpoint on your account and listen for the events I mentioned above