#nilsekenberg_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/1215244645777281034
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Thanks, looking forward to the answer ๐
I've set up a webhook listening to some events, but I also want a webhook without any events it's listening to but the possibility to press a button in "Customers" to send information on demand
Just to clear it up
hi! well in general you can use the trigger command in stripe-cli for supported events https://docs.stripe.com/cli/trigger , or you can call the API in test mode to take whatever action it is that would generate the event in question
Could you clear it up a bit more, im not a developer
So I can't do it in the platform?
ah it's a chat for developers to be clear
so I basically dont want it to automatically fetch data, but more decide when to trigger it
then I would build a button into your application that then triggers you to call the API to retrieve the object you're interested in, I think.
there's no such thing as a button to just force us to send you a webhook about a certain object when nothing has changed
okay so you can only do it automatically when listening to certain events?
and the trigger happens
well like if something happens in your account or an object is updated, an Event is crreated, and if you have webhooks set up to listen to certain event types, the event is sent to those.
okay, i understand
because sometimes I only want to send a certain customer to the webhook
and not all of them
i guess that isn't solvable
yeah as mentioned you could just call the API and retrieve the Customer object on demand if that's what you need.
like call https://docs.stripe.com/api/customers/retrieve and use the response.
can you work with your developer on that?
but in general https://docs.stripe.com/development/get-started .
Thanks!