#Miroslav
1 messages ยท Page 1 of 1 (latest)
Hi ๐ inside of the Events data will be a field named previous_attributes which will contain the previous state of the values that changed, so you can compare those with the new values with just the contents of the Event:
https://stripe.com/docs/api/events/object#event_object-data-previous_attributes
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, I see some "data.previous_attributes" field in the Event
does previous_attributes contain the values of all attributes, or only the ones that have changed with that event?
Only the ones that changed
thanks!
Any time!