> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fintoc.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Event object

## The Event object

An `Event` represents something that happened in your Fintoc account, such as a `Link` being created or its credentials changing. The `data` field carries the affected resource. When a change you subscribed to occurs, Fintoc generates the `Event` and delivers it to your configured webhook endpoints.

```json Event Object theme={null}
{
  "id": "evt_a4xK32BanKWYn",
  "object": "event",
  "created_at": "2020-04-22T21:10:19.254Z",
  "data": {
    "id": "link_l6J0WLYbiABXxABN",
    "object": "link",
    "accounts": [
      {
        "id": "acc_XqNDRKQeTnKvpnW5",
        "object": "account",
        "balance": {
          "available": 51340323,
          "current": 51340323,
          "limit": 51340323
        },
        "currency": "CLP",
        "holder_id": "555555555",
        "holder_name": "Test Company 1",
        "name": "Cuenta Corriente",
        "number": "000000000",
        "official_name": "Cuenta Corriente",
        "refreshed_at": null,
        "type": "checking_account"
      }
    ],
    "created_at": "2020-12-27T19:06:45.986Z",
    "holder_id": "555555555",
    "holder_type": "business",
    "institution": {
      "id": "cl_banco_de_chile",
      "country": "cl",
      "name": "Banco de Chile"
    },
    "link_token": "link_l6J0WLYbiABXxABN_token_8ZX8ZKCctdRasshzUrWFNn9W",
    "mode": "test",
    "username": "111111111"
  },
  "mode": "test",
  "type": "link.credentials_changed"
}
```

The `Event` object has the following attributes:

| Attribute    | Type     | Description                                                                                                                                                                                           |
| :----------- | :------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `id`         | `string` | Unique identifier for the `Event`.                                                                                                                                                                    |
| `object`     | `string` | Type of the object. Always `event`.                                                                                                                                                                   |
| `created_at` | `string` | ISO 8601 datetime in UTC when Fintoc generated the `Event`.                                                                                                                                           |
| `data`       | `object` | Resource affected by the `Event`. See [Types of events](/api/main-resources/events-reference/types-of-events) for the object each event type includes in this field.                                  |
| `mode`       | `string` | Mode in which the `Event` occurred. One of `live` or `test`, where `test` corresponds to the sandbox.                                                                                                 |
| `type`       | `string` | Identifies what happened, such as `link.created` or `payment_intent.succeeded`. See [Types of events](/api/main-resources/events-reference/types-of-events) for the full list of values Fintoc sends. |
