#marnix.hoh

1 messages ยท Page 1 of 1 (latest)

nova perchBOT
iron delta
#

For future reference, you can ask multiple Qs in the same thread

hexed siren
#

ah ok thank you. I thought it would be easier for you guys to start a new one

iron delta
#

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.
hexed siren
#

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?

iron delta
#

Yes as that would theoretically match the time it was marked as paid

#

Unfortunately there's no paid_at field on the Invoice object

hexed siren
#

ok perfect. That's the field I'm looking for then. Thank you so much (again) ๐Ÿ˜„