#Miroslav

1 messages ยท Page 1 of 1 (latest)

dapper templeBOT
tawdry imp
#

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

raw mason
#

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?

tawdry imp
#

Only the ones that changed

raw mason
#

thanks!

tawdry imp
#

Any time!