We create a new Event object to let you know when something interesting happened in your account such as a change to a resource. The event's data object will show the state of the resource, and a previousAttribute
will list the names of the attributes that have changed and their previous values. For example, we create a charge.pending
event when a charge is pending.
You can use the Events resource to retrieve an individual event or a list of events from the API.