Skip to content
Last updated

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 which contains a link for retrieving the resource(s) that triggered the event.

Event NameDescriptionPayload
StatementsReceivedAccount statement received.
Show
{
  "companyId": "guid",
  "batchId": "guid",
  "accountNumber": "string",
  "links": []
}
SettlementReceived Receipt of payment.
Show
{
  "companyId": "guid",
  "batchId": "guid",
  "links": []
}
ReceivableReceivedIn-payment received.
Show
{
  "companyId": "guid",
  "batchId": "guid",
  "links": []
}
FileReceivedFile received.
Show
{
  "companyId": "guid",
  "fileId": "guid",
  "agreementId": "guid",
  "links": []
}
PaymentApprovalEnabledApproval for payment enabled.
Show
{
  "companyId": "guid",
  "bic": "string",
  "links": []
}
PaymentApprovalDisabledApproval for payment disabled.
Show
{
  "companyId": "guid",
  "bic": "string",
  "links": []
}
PaymentStatusUpdatedStatus of payment updated.
Show
{
  "companyId": "guid",
  "batchId": "guid",
  "links": []
}
ServiceActivatedService activated.
Show
{
  "companyId": "guid",
  "bic": "string",
  "links": []
}
ServiceDeactivatedService deactivated.
Show
{
  "companyId": "guid",
  "bic": "string",
  "links": []
}

All events also return contextual 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:

PropertyDescription
MethodThe request verb for the link. Example: GET
RelThe relative resource path name.
VersionThe API version.
HrefThe URL to the resource.
{
  "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"
      }
    ]
  }
}