#mmarian
1 messages ยท Page 1 of 1 (latest)
You should be able to use our List events API and check delivery_success (https://stripe.com/docs/api/events/list#list_events-delivery_success)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
ok, thanks! i think this will work... is it possible for you to help me add a filter on created using the child parameter created.lt? what date format does this accept? i would like to see things created before yesterday, wehn we turned off link
curl -G https://api.stripe.com/v1/events \
-u {{KEY}}: \
-d limit=10 \
-d delivery_success=false \
-d type=charge.succeeded
i see "created": 1692986053,, what is that format?
You'd want to pass in created[gt] - https://stripe.com/docs/api/events/list#list_events-created-gt
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
So if you want all events after the 1692986053 utc timestamp you'd include -d created[gt]=1692986053 in your curl request
ok thanks - how do i convert human readable date to this UTC timestamp? i'm not familiar with it
i would like to do august 24, 2023 midnight UTC
ah disregard, this works: https://www.epochconverter.com/
thank you! i think i am set for now, i appreciate the response
๐