#zaknz
1 messages · Page 1 of 1 (latest)
You should retrieve the object to get the latest version of if if your application depends on that
ie, use the event as a signal, then ignore the object payload an retrieve the objects from the API by ID
wait really? that seems counterproductive for Stripe surely? Should I just abandon webhooks entirely and just use the API instead?
No, because the event is the signal for when to efficiently retrieve
under most circumstances you can use the payload, but if you're sensitive you changes from multiple events and delivery order this is the way to address that
ok well that is disappointing. If it is something you can pass on to the product team for the backlog, can you request a int64 sequence_id added to the event object? I appreciate that might be a lot of effort but the current state is rather unexpected and will lead to invalid state on integration clients if they don't foresee this flaw