#marnix.hoh
1 messages ยท Page 1 of 1 (latest)
For future reference, you can ask multiple Qs in the same thread
That link you sent isn't for evt_xxx objects, you want: https://stripe.com/docs/api/events/object
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
ah ok thank you. I thought it would be easier for you guys to start a new one
Your webhook events will likely have 2 created fields:
- One top-level which is the timestamp the event was created.
- One nested in the related object (
data[object]) which is when the related object was created.
right ok
so for example, when we want to know the time when an invoice got paid from the invoice.paid webhook, we would look at the top-level tiemstamp?
Yes as that would theoretically match the time it was marked as paid
Unfortunately there's no paid_at field on the Invoice object
ok perfect. That's the field I'm looking for then. Thank you so much (again) ๐