#nikym_api

1 messages Ā· Page 1 of 1 (latest)

worthy stirrupBOT
#

šŸ‘‹ 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/1295733707835183124

šŸ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

south copper
#

hi there!

#

can you share your code, ans a specific Event ID that you think should be returned but wasn't?

obsidian vortex
#

Hey! At the moment I'm just messing around with Postman, so here's the cURL for what I've been calling:

curl --location --request GET 'https://api.stripe.com/v1/events'
--header 'Content-Type: application/x-www-form-urlencoded'
--header 'Authorization: ••••••'
--data-urlencode 'created%5Bgt%5D=1728388800'
--data-urlencode 'created%5Blte%5D=1728584598'
--data-urlencode 'delivery_success=false'
--data-urlencode 'limit=50'
--data-urlencode 'type=payment_intent.succeeded'

I would have expected the following event to be part of the response, but I am not seeing it there: evt_3Q81zIKHV9I0GxFc1eetPkfC

Appreciate the help with this! Curious to know where I'm going wrong here

shy sun
#

Filter events by whether all webhooks were successfully delivered. If false, events which are still pending or have failed all delivery attempts to a webhook endpoint will be returned.

#

One endpoint delivery failed initially, but then the endpoint was disabled before the retry and the delivery was cancelled

worthy stirrupBOT
obsidian vortex
#

Thank you for the insight, that would explain why those particular webhooks would not be showing up based on that filter.

Is there any way in which I can retrieve the webhooks that failed due to not being able to hit the endpoint/being cancelled?

cold vine
#

Hi there šŸ‘‹ jumping in as my teammate needs to step away. I don't think there is a way to list those Events from our API that match that criteria. I'm thinking the dashboard would be the best way to find these, but am double checking that.

#

Yeah, it looks like using Workbench is the best way to see failed delivery attempts since this Event is no longer queued to be sent to that endpoint.

obsidian vortex
#

Fair enough, that's what I anticipated but hoped not to be the case... Thank you all for checking, appreciate your time šŸ™‚