forked from OpenBankingUK/read-write-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathevent-notifications-swagger-flattened.json
79 lines (79 loc) · 2.18 KB
/
event-notifications-swagger-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
{
"swagger": "2.0",
"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": "[email protected]"
},
"license": {
"name": "open-licence",
"url": "https://www.openbanking.org.uk/open-licence"
},
"version": "v3.1.6"
},
"basePath": "/open-banking/v3.1",
"schemes": [
"https"
],
"paths": {
"/event-notifications": {
"post": {
"summary": "Send an event notification",
"operationId": "CreateEventNotification",
"consumes": [
"application/jwt"
],
"tags": [
"Event Notification"
],
"parameters": [
{
"in": "body",
"name": "OBEventNotification1Param",
"description": "Create an Callback URI",
"required": true,
"schema": {
"type": "string",
"format": "base64"
}
},
{
"in": "header",
"name": "x-fapi-financial-id",
"type": "string",
"required": true,
"description": "The unique id of the ASPSP to which the request is issued. The unique id will be issued by OB."
},
{
"in": "header",
"name": "x-fapi-interaction-id",
"type": "string",
"required": false,
"description": "An RFC4122 UID used as a correlation id."
}
],
"responses": {
"202": {
"description": "Accepted"
}
}
}
}
},
"securityDefinitions": {
"TPPOAuth2Security": {
"type": "oauth2",
"flow": "application",
"tokenUrl": "https://authserver.example/token",
"scopes": {
"accounts": "Ability to read Accounts information",
"fundsconfirmations": "Ability to confirm funds",
"payments": "Generic payment scope"
},
"description": "TPP client credential authorisation flow with the ASPSP"
}
}
}