# Event Types

The Open Banking API provides a number of event types that can be subscribed to.
All events must be prefixed with `ZData.Events.Bank`.

Every posted event will contain a `data` parameter, which contains metadata about the event and a [HATEOAS Link](#hateoas-links) which contains a link for retrieving the resource(s) that triggered the event.

StatementsReceived
SettlementReceived
ReceivableReceived
FileReceived
PaymentApprovalEnabled
PaymentApprovalDisabled
PaymentStatusUpdated
ServiceActivated
ServiceDeactivated
## HATEOAS Links

All events also return contextual [HATEOAS](https://en.wikipedia.org/wiki/HATEOAS) links in the `data` object. The links can be used to retrieve the resource that triggered the event.

A link item contains the following properties:

| Property | Description |
|  --- | --- |
| `Method` | The request verb for the link. Example: `GET` |
| `Rel` | The relative resource path name. |
| `Version` | The API version. |
| `Href` | The URL to the resource. |


```json
{
  "data": {
    ...
    "Links": [
      {
        "Method": "GET",
        "Rel": "payments",
        "Version": "v3",
        "Href": "https://bankservice.zdata.no/api/v3/payments/00000000-0000-0000-0000-000000000000/batches/00000000-0000-0000-0000-000000000000/transactions"
      }
    ]
  }
}
```