forked from OpenBankingUK/read-write-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathevent-notifications-openapi-flattened.json
89 lines (89 loc) · 2.39 KB
/
event-notifications-openapi-flattened.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"openapi": "3.0.1",
"info": {
"title": "Event Notification API Specification - TPP Endpoints",
"description": "Swagger for Event Notification API Specification - TPP Endpoints",
"termsOfService": "https://www.openbanking.org.uk/terms",
"contact": {
"name": "Service Desk",
"email": "ServiceDesk@openbanking.org.uk"
},
"license": {
"name": "open-licence",
"url": "https://www.openbanking.org.uk/open-licence"
},
"version": "v3.1.6"
},
"servers": [
{
"url": "/open-banking/v3.1"
}
],
"paths": {
"/event-notifications": {
"post": {
"tags": [
"Event Notification"
],
"summary": "Send an event notification",
"operationId": "CreateEventNotification",
"parameters": [
{
"name": "x-fapi-financial-id",
"in": "header",
"description": "The unique id of the ASPSP to which the request is issued. The unique id will be issued by OB.",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "x-fapi-interaction-id",
"in": "header",
"description": "An RFC4122 UID used as a correlation id.",
"schema": {
"type": "string"
}
}
],
"requestBody": {
"description": "Create an Callback URI",
"content": {
"application/jwt": {
"schema": {
"type": "string",
"format": "base64"
}
}
},
"required": true
},
"responses": {
"202": {
"description": "Accepted",
"content": {}
}
},
"x-codegen-request-body-name": "OBEventNotification1Param"
}
}
},
"components": {
"securitySchemes": {
"TPPOAuth2Security": {
"type": "oauth2",
"description": "TPP client credential authorisation flow with the ASPSP",
"flows": {
"clientCredentials": {
"tokenUrl": "https://authserver.example/token",
"scopes": {
"accounts": "Ability to read Accounts information",
"fundsconfirmations": "Ability to confirm funds",
"payments": "Generic payment scope"
}
}
}
}
}
}
}