#nilsekenberg_webhooks

1 messages ยท Page 1 of 1 (latest)

wispy prismBOT
#

๐Ÿ‘‹ 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.

mental eagle
#

Thanks, looking forward to the answer ๐Ÿ™‚

lavish hillBOT
mental eagle
#

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

broken mortar
#

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

mental eagle
#

Could you clear it up a bit more, im not a developer

#

So I can't do it in the platform?

broken mortar
#

ah it's a chat for developers to be clear

mental eagle
#

so I basically dont want it to automatically fetch data, but more decide when to trigger it

broken mortar
#

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

mental eagle
#

okay so you can only do it automatically when listening to certain events?

#

and the trigger happens

broken mortar
#

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.

mental eagle
#

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

broken mortar
#

yeah as mentioned you could just call the API and retrieve the Customer object on demand if that's what you need.

mental eagle
#

API keys

#

you mean?

#

and not use webhooks?

broken mortar
mental eagle
#

Thanks

#

how do I call it?

broken mortar
#

can you work with your developer on that?

mental eagle
#

Thanks!