Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Register an event subscription with an ASPSP to subscribe to event notifications.

  • A subscription can enable real time event notifications via an HTTP callback from the ASPSP, and aggregated polling by the AISP/PISP.

  • Specify a list of event types to be notified on.

  • Optionally read, update or delete a registered event subscription.

AISPs / PISPs can receive all or specific event types via the Real Time Event Notification API and/or the Aggregated Polling API.

...

The following APIs have been elaborated below:

  • Real-Time Notification: ASPSP shares the notifications with the AISP/ PISP real time, as soon as the event occurs.

  • Aggregated Polling (Pull Notifications): ASPSP shares the notifications to AISPs/ PISPs in an aggregated set, upon request

The Event Subscription resource is used by an AISP/PISP to subscribe to events with an ASPSP.

...

  • The POST action allows the AISP/ PISP to register an event subscription for an AISP/ PISP to access event notifications.

  • The ASPSP creates the event-subscription resource and responds with a unique EventSubscriptionId to refer to the resource.

  • An ASPSP must respond with a 409 error if an event-subscription exists for that AISP/ PISP.

3.2 GET /event-subscriptions

...

  • The ASPSP retrieves the event-subscription resource and responds with the resource.

3.3 PUT /event-subscriptions/{EventSubscriptionId}

...

  • The PUT action allows the AISP/ PISP to update an event subscription for an AISP/ PISP to access event notifications.

  • The ASPSP updates the event-subscription resource and responds with the updated resource

...

  • The ASPSP deletes the event-subscription resource.

4.  Data Model

4.1 Event Subscription - Request

...

o    AISPs/ PISPs may provide a list of event types to subscribe to specific events.
o    AISPs/ PISPs may omit this field to subscribe to all supported events

...

Name

Occurrence

XPath

Enhanced Definition

Class/ Datatype

Codes

Pattern

OBEventSubscription

 

OBEventSubscription

 

OBEventSubscription

 

 

Data

1..1

OBEventSubscription/Data

 

OBEventSubscription/Data

 

 

CallbackUrl

0..1

OBEventSubscription/Data/CallbackUrl

Callback URL for an AISP/ PISP hosted service. Will be used by ASPSPs, in conjunction with the resource name, to construct a URL to send event notifications to

String:URI

 

 

Version

1..1

OBEventSubscription/Data/Version

Version for the event notification.

String

 

 

EventTypes

0..n

OBEventSubscription/Data/EventTypes

Array of event types the subscription applies to

Array:String

Enum:

  • urn:bh:org:openbanking:events:resource-update

  • urn:bh:org:openbanking:events:account-access-consent-linked-account-update

  • urn:bh:org:openbanking:events:consent-authorization-revoked

 

 

...

Name

Occurrence

XPath

Enhanced Definition

Class/ Datatype

Codes

Pattern

OBEventSubscriptionResponse

 

OBEventSubscriptionResponse

 

OBEventSubscriptionResponse

 

 

Data

1..1

OBEventSubscriptionResponse/Data

 

OBEventSubscriptionResponse/Data

 

 

EventSubscriptionId

1..1

OBEventSubscriptionResponse/Data/EventSubscriptionId

Unique identification as assigned by the ASPSP to uniquely identify the callback URL resource.

String

 

 

CallbackUrl

0..1

OBEventSubscriptionResponse/Data/CallbackUrl

Callback URL for an AISP/ PISP hosted service. Will be used by ASPSPs, in conjunction with the resource name, to construct a URL to send event notifications to

String:URI

 

 

Version

1..1

OBEventSubscriptionResponse/Data/Version

Version for the event notification.

String

 

 

EventTypes

0..n

OBEventSubscriptionResponse/Data/EventTypes

Array of event types the subscription applies to

Array:String

Enum:

  • urn:bh:org:openbanking:events:resource-update

  • urn:bh:org:openbanking:events:account-access-consent-linked-account-update

  • urn:bh:org:openbanking:events:consent-authorization-revoked

 

 

...

Name

Occurrence

XPath

Enhanced Definition

Class/ Datatype

Codes

Pattern

OBEventSubscriptionsResponse

 

OBEventSubscriptionsResponse

 

OBEventSubscriptionsResponse

 

 

Data

1..1

OBEventSubscriptionsResponse/Data

 

OBEventSubscriptionsResponse/Data

 

 

EventSubscription

0..n

OBEventSubscriptionsResponse/Data/EventSubscription

 

OBEventSubscriptionsResponse/Data/EventSubscription

 

 

EventSubscriptionId

1..1

OBEventSubscriptionsResponse/Data/EventSubscription/EventSubscriptionId

Unique identification as assigned by the ASPSP to uniquely identify the callback url resource.

String

 

 

Url

0..1

OBEventSubscriptionsResponse/Data/EventSubscription/Url

Callback URL for an AISP/ PISP hosted service. Will be used by ASPSPs, in conjunction with the resource name, to construct a URL to send event notifications to.

String:URI

 

 

Version

1..1

OBEventSubscriptionsResponse/Data/EventSubscription/Version

Version for the event notification.

String

 

 

EventTypes

0..n

OBEventSubscriptionsResponse/Data/EventSubscription/EventTypes

Array of event types the subscription applies to.

Array:String

Enum:

  • urn:bh:org:openbanking:events:resource-update

  • urn:bh:org:openbanking:events:account-access-consent-linked-account-update

  • urn:bh:org:openbanking:events:consent-authorization-revoked

 

 

...