#oranges13

1 messages · Page 1 of 1 (latest)

wide muskBOT
dry sleet
#

Taking a look now

#

What are you trying to get out of that command?

#

Just the Events that happened before <timestamp>?

winged steppe
#

Yeah we had an external integration and failed to update our webhook to listen so we have some events that we need to do some processing on in a different system

#

I can look on the dashboard, but there's no way to export them

#

I'm just trying to make a quick script

dry sleet
#

Ah! Okay. You're probably better off making an API call using List all events : https://stripe.com/docs/api/events/list

If you must use the CLI then I would try using the --delivery-success or --starting-after flags, as I don't think created.lte is possible here.

winged steppe
#

Well that's the thing, a webhook wasn't listening at that time so success gets us both those that have proceeds and those that didn't go anywhere

#

I do have a date where the webhook was updated which is why I only need records before that time

#

I can investigate the starting after params though

dry sleet
#

There's also the --ending-before flag.

I would recommend (if you must use CLI) that you run events list --help to get an idea of what flags can be set and what parameters might be helpful