Versions Compared

Key

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

...

Name

Occurrence

XPath

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

 

4. 

...

The swagger code for the Event Subscription API can be found on this link.

...

Usage Example

...

4.1 Create Event Subscription

...

4.1.1 POST Event Subscription Request

POST /event-subscriptions

Authorization: Bearer 4ZopnFZFKjr5zDsicSQpLL

x-jws-signature: LMlmPSqzISEpar72ce5deMGue4RsZMDnZYG1bW6hdPlvriZ=..G1rrM18vVYBmdmRurS6nIR1yFHR8bGZyIJdvaB5nKGRvm35hTr==

x-fapi-interaction-id: 75bdc714-b2dg-7676-c759-780d6815689f

Content-Type: application/json

Accept: application/json

{   "Data": {                    "CallbackUrl": "https://AISP/ PISP.com/open-banking/event-notifications",                    "Version": "2.2"   } } 

...

4.1.2 POST Event Subscription Response

201 Created

x-jws-signature: V2hhdCB3ZSBnb3QgaGVyZQ0K..aXMgZmFpbHVyZSB0byBjb21tdW5pY2F0ZQ0K

x-fapi-interaction-id: 86ebcd82-8e38-4f2d-a79c-965b41d15865

Content-Type: application/json

{    "Data": {                    "EventSubscriptionId": "CB-101",                    "CallbackUrl": "https://AISP/ PISP.com/open-banking/event-notifications",                    "Version": "2.2"    },    "Links": {                   "Self": "www.tbc.com"    },    "Meta": {} }

...

4.2 GET Event Subscriptions

...

4.2.1 GET Event Subscription Request

GET /event-subscriptions

Authorization: Bearer 2YotnFZFEjr1zCsicMWpAA

x-fapi-interaction-id: 86ebcd82-8e38-4f2d-a79c-965b41d15865

Accept: application/json

...

4.2.2 GET Event Subscription Response

200 OK

x-jws-signature: V2hhdCB3ZSBnb3QgaGVyZQ0K..aXMgZmFpbHVyZSB0byBjb21tdW5pY2F0ZQ0K

x-fapi-interaction-id: 86ebcd82-8e38-4f2d-a79c-965b41d15865

Content-Type: application/json

...