#shaharyarilyas
1 messages ยท Page 1 of 1 (latest)
Hi ๐
For this you would want to listen to the account.updated Event
https://stripe.com/docs/api/events/types#event_types-account.updated and check the requirements property in the Account as well as the previous_attributes property of the Event itself.
i did't see any previous_attributes key on account detail api
could you please guide what previous_attributes property doing
Do you have an account.updated event you could share?
Just the event ID is fine
evt_1O5b0cCV1Rsf7Db7WjjN7dr7
Okay so this event has a big previous_attributes property. There's a lot in there
What it does is show you which fields in the Account changed and what the value was before the change.
For instance, the first property here is details_submitted. Before the update is was false and now it's true
That is how you can use the previous_attributes property of the .updated event to keep track of changing requirements for your conencted accounts