The Event object
An Event represents something that happened in your Fintoc account, such as a Link being created or its credentials changing, and carries the affected resource in its data field. It is generated when a notable change to which you have subscribed occurs and is delivered to your configured webhook endpoints.
{
"id": "evt_a4xK32BanKWYn",
"object": "event",
"created_at": "2020-04-22T21:10:19.254Z",
"data": {
"id": "link_l6J0WLYbiABXxABN",
"object": "link",
"holder_id": "555555555",
"username": "111111111",
"holder_type": "business",
"created_at": "2020-12-27T19:06:45.986Z",
"institution": {
"id": "cl_banco_de_chile",
"name": "Banco de Chile",
"country": "cl"
},
"link_token": "link_l6J0WLYbiABXxABN_token_8ZX8ZKCctdRasshzUrWFNn9W",
"mode": "test",
"accounts": [
{
"id": "acc_XqNDRKQeTnKvpnW5",
"object": "account",
"type": "checking_account",
"number": "746326042",
"name": "Cuenta Corriente",
"official_name": "Cuenta Corriente",
"balance": {
"available": 51340323,
"current": 51340323,
"limit": 51340323
},
"holder_id": "555555555",
"holder_name": "Galarza Saiz S.A. SpA",
"currency": "CLP",
"refreshed_at": null
}
]
},
"mode": "test",
"type": "link.created"
}| Attribute | Type | Description |
|---|---|---|
id | string | Unique identifier for the Event |
object | string | Identifier for the type of object. Its value for Events will always correspond to event |
created_at | string | Event's creation date, using ISO 8601 |
data | object | Object with the data associated to the event |
mode | string | Indicates whether the Event is in live mode or in test mode (for the sandbox) |
type | string | Event type |