account-lookup-service 15.5.0-iso.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (209) hide show
  1. package/.circleci/config.yml +11 -0
  2. package/.ncurc.yaml +6 -0
  3. package/.nvmrc +1 -0
  4. package/.nycrc.yml +20 -0
  5. package/.versionrc +15 -0
  6. package/CHANGELOG.md +330 -0
  7. package/CODEOWNERS +38 -0
  8. package/Dockerfile +45 -0
  9. package/LICENSE.md +10 -0
  10. package/README.md +252 -0
  11. package/audit-ci.jsonc +32 -0
  12. package/audit-resolve.json +161 -0
  13. package/config/default.json +109 -0
  14. package/config/knexfile.js +21 -0
  15. package/docker/account-lookup-service/default.json +106 -0
  16. package/docker/account-lookup-service/make-default-json.sh +5 -0
  17. package/docker/account-lookup-service/override.json +15 -0
  18. package/docker/central-ledger/default.json +458 -0
  19. package/docker/config-modifier/account-lookup-service.js +31 -0
  20. package/docker/kafka/consumer.properties +26 -0
  21. package/docker/kafka/producer.properties +45 -0
  22. package/docker/kafka/server.properties +143 -0
  23. package/docker/kafka/tools-log4j.properties +21 -0
  24. package/docker/mock-proxy/Dockerfile +15 -0
  25. package/docker/mock-proxy/package-lock.json +4986 -0
  26. package/docker/mock-proxy/package.json +24 -0
  27. package/docker/mock-proxy/src/config.ts +14 -0
  28. package/docker/mock-proxy/src/server.ts +94 -0
  29. package/docker/mock-proxy/src/utils.ts +29 -0
  30. package/docker/mock-proxy/tsconfig.json +24 -0
  31. package/docker/sql-init/01_permissions.sql +2 -0
  32. package/docker/sql-init-central-ledger/01_permissions.sql +2 -0
  33. package/docker/wait-for/wait-for-account-lookup-service.sh +10 -0
  34. package/docker/wait-for/wait-for-central-ledger.sh +11 -0
  35. package/docker/wait-for/wait-for-kafka.sh +7 -0
  36. package/docker/wait-for/wait-for-ml-api-adapter.sh +9 -0
  37. package/docker/wait-for/wait-for-mockserver.sh +20 -0
  38. package/docker/wait-for/wait-for-mysql-als.sh +14 -0
  39. package/docker/wait-for/wait-for-mysql-central-ledger.sh +11 -0
  40. package/docker/wait-for/wait-for-mysql.sh +11 -0
  41. package/docker/wait-for/wait-for-objstore.sh +12 -0
  42. package/docker/wait-for/wait-for.env +18 -0
  43. package/docker/wait-for/wait-for.sh +81 -0
  44. package/docker-compose.integration.yml +29 -0
  45. package/docker-compose.yml +243 -0
  46. package/jest-int.config.js +8 -0
  47. package/jest.config.js +16 -0
  48. package/jsdoc.json +38 -0
  49. package/migrations/01_currency.js +42 -0
  50. package/migrations/02_endpointType.js +43 -0
  51. package/migrations/03_endpointType-indexes.js +37 -0
  52. package/migrations/04_partyIdType.js +43 -0
  53. package/migrations/05_partyIdType-indexes.js +38 -0
  54. package/migrations/08_oracleEndpoint.js +51 -0
  55. package/migrations/09_oracleEndpoint-indexes.js +41 -0
  56. package/migrations/10_oracleEndpoint-remove-constraints.js +38 -0
  57. package/package.json +180 -0
  58. package/scripts/_wait4_all.js +143 -0
  59. package/scripts/test-functional.sh +76 -0
  60. package/secrets/jwsSigningKey.key +27 -0
  61. package/seeds/currency.js +765 -0
  62. package/seeds/endpointType.js +65 -0
  63. package/seeds/partyIdType.js +79 -0
  64. package/src/api/endpointcache.js +67 -0
  65. package/src/api/health.js +66 -0
  66. package/src/api/index.js +85 -0
  67. package/src/api/oracles/{ID}.js +100 -0
  68. package/src/api/oracles.js +96 -0
  69. package/src/api/participants/{ID}/error.js +44 -0
  70. package/src/api/participants/{ID}.js +44 -0
  71. package/src/api/participants/{Type}/{ID}/error.js +74 -0
  72. package/src/api/participants/{Type}/{ID}/{SubId}/error.js +68 -0
  73. package/src/api/participants/{Type}/{ID}/{SubId}.js +113 -0
  74. package/src/api/participants/{Type}/{ID}.js +133 -0
  75. package/src/api/participants.js +63 -0
  76. package/src/api/parties/{Type}/{ID}/error.js +66 -0
  77. package/src/api/parties/{Type}/{ID}/{SubId}/error.js +56 -0
  78. package/src/api/parties/{Type}/{ID}/{SubId}.js +77 -0
  79. package/src/api/parties/{Type}/{ID}.js +98 -0
  80. package/src/api/routes.js +294 -0
  81. package/src/constants.js +16 -0
  82. package/src/domain/oracle/index.js +33 -0
  83. package/src/domain/oracle/oracle.js +234 -0
  84. package/src/domain/participants/index.js +35 -0
  85. package/src/domain/participants/participants.js +560 -0
  86. package/src/domain/parties/getPartiesByTypeAndID.js +239 -0
  87. package/src/domain/parties/index.js +32 -0
  88. package/src/domain/parties/parties.js +215 -0
  89. package/src/domain/parties/utils.js +84 -0
  90. package/src/domain/timeout/dto.js +48 -0
  91. package/src/domain/timeout/index.js +104 -0
  92. package/src/handlers/TimeoutHandler.js +94 -0
  93. package/src/handlers/index.js +70 -0
  94. package/src/handlers/monitoring/index.js +51 -0
  95. package/src/handlers/monitoring/plugins/health.js +61 -0
  96. package/src/handlers/monitoring/plugins/metrics.js +48 -0
  97. package/src/handlers/register.js +102 -0
  98. package/src/index.js +66 -0
  99. package/src/interface/admin-swagger.yaml +804 -0
  100. package/src/interface/admin_swagger.json +959 -0
  101. package/src/interface/api-swagger-iso20022-parties.yaml +1734 -0
  102. package/src/interface/api-swagger.yaml +1733 -0
  103. package/src/interface/api_swagger.json +3046 -0
  104. package/src/interface/fspiop-rest-v2.0-ISO20022_parties.yaml +2256 -0
  105. package/src/interface/thirdparty/admin-swagger.yaml +808 -0
  106. package/src/interface/thirdparty/admin_swagger.json +961 -0
  107. package/src/interface/thirdparty/api-swagger.yaml +1739 -0
  108. package/src/interface/thirdparty/api_swagger.json +3142 -0
  109. package/src/lib/argv.js +39 -0
  110. package/src/lib/cache.js +126 -0
  111. package/src/lib/config.js +183 -0
  112. package/src/lib/db.js +26 -0
  113. package/src/lib/headers.js +53 -0
  114. package/src/lib/healthCheck/subServiceHealth.js +84 -0
  115. package/src/lib/index.js +11 -0
  116. package/src/lib/migrator.js +17 -0
  117. package/src/lib/requestLogger.js +54 -0
  118. package/src/lib/util.js +66 -0
  119. package/src/metrics/handler.js +33 -0
  120. package/src/metrics/plugin.js +52 -0
  121. package/src/metrics/routes.js +43 -0
  122. package/src/models/currency/currency.js +48 -0
  123. package/src/models/currency/index.js +32 -0
  124. package/src/models/endpointType/endpointType.js +48 -0
  125. package/src/models/endpointType/index.js +32 -0
  126. package/src/models/misc/migrationLock.js +49 -0
  127. package/src/models/oracle/facade.js +341 -0
  128. package/src/models/oracle/index.js +41 -0
  129. package/src/models/oracle/oracleEndpoint.js +192 -0
  130. package/src/models/oracle/oracleEndpointCached.js +108 -0
  131. package/src/models/participantEndpoint/facade.js +238 -0
  132. package/src/models/partyIdType/index.js +32 -0
  133. package/src/models/partyIdType/partyIdType.js +41 -0
  134. package/src/plugins.js +139 -0
  135. package/src/server.js +199 -0
  136. package/test/fixtures/index.js +131 -0
  137. package/test/fixtures/iso.js +110 -0
  138. package/test/integration/.env +8 -0
  139. package/test/integration/api/parties.test.js +137 -0
  140. package/test/integration/constants.js +20 -0
  141. package/test/integration/domain/oracle/index.test.js +324 -0
  142. package/test/integration/domain/timeout/index.test.js +75 -0
  143. package/test/integration/env.sh +15 -0
  144. package/test/integration/example.test.js +12 -0
  145. package/test/integration/models/currency/currency.test.js +68 -0
  146. package/test/integration/plugins.test.js +62 -0
  147. package/test/integration/prepareTestParticipants.js +30 -0
  148. package/test/integration/setup.js +5 -0
  149. package/test/integration-config.json +81 -0
  150. package/test/integration-runner.sh +108 -0
  151. package/test/unit/api/health.test.js +142 -0
  152. package/test/unit/api/oracles/{ID}.test.js +264 -0
  153. package/test/unit/api/oracles.test.js +173 -0
  154. package/test/unit/api/participants/participants.test.js +117 -0
  155. package/test/unit/api/participants/{Type}/{ID}/error.test.js +155 -0
  156. package/test/unit/api/participants/{Type}/{ID}/{SubId}/error.test.js +131 -0
  157. package/test/unit/api/participants/{Type}/{ID}/{SubId}.test.js +377 -0
  158. package/test/unit/api/participants/{Type}/{ID}.test.js +383 -0
  159. package/test/unit/api/participants.test.js +108 -0
  160. package/test/unit/api/parties/endpointcache.test.js +83 -0
  161. package/test/unit/api/parties/parties.test.js +102 -0
  162. package/test/unit/api/parties/{Type}/{ID}/error.test.js +145 -0
  163. package/test/unit/api/parties/{Type}/{ID}/{SubId}/error.test.js +141 -0
  164. package/test/unit/api/parties/{Type}/{ID}/{SubId}.test.js +241 -0
  165. package/test/unit/api/parties/{Type}/{ID}.test.js +240 -0
  166. package/test/unit/domain/oracle/oracle.test.js +505 -0
  167. package/test/unit/domain/participants/participants.test.js +1724 -0
  168. package/test/unit/domain/parties/parties.test.js +940 -0
  169. package/test/unit/domain/timeout/dto.test.js +28 -0
  170. package/test/unit/domain/timeout/index.test.js +81 -0
  171. package/test/unit/handlers/TimeoutHandler.test.js +125 -0
  172. package/test/unit/handlers/index.test.js +56 -0
  173. package/test/unit/handlers/register.test.js +90 -0
  174. package/test/unit/index.test.js +139 -0
  175. package/test/unit/iso20022/partiesValidation.test.js +129 -0
  176. package/test/unit/lib/TransformFacades.test.js +18 -0
  177. package/test/unit/lib/argv.test.js +40 -0
  178. package/test/unit/lib/cache.test.js +172 -0
  179. package/test/unit/lib/config.test.js +108 -0
  180. package/test/unit/lib/healthCheck/subServiceHealth.test.js +89 -0
  181. package/test/unit/lib/migrator.test.js +52 -0
  182. package/test/unit/lib/requestLogger.test.js +115 -0
  183. package/test/unit/lib/util.test.js +68 -0
  184. package/test/unit/mocks.js +66 -0
  185. package/test/unit/models/currency/currency.test.js +91 -0
  186. package/test/unit/models/endpointType/endpointType.test.js +69 -0
  187. package/test/unit/models/misc/migrationLock.test.js +96 -0
  188. package/test/unit/models/oracle/facade.test.js +546 -0
  189. package/test/unit/models/oracle/oracleEndpoint.test.js +409 -0
  190. package/test/unit/models/oracle/oracleEndpointCached.test.js +153 -0
  191. package/test/unit/models/participantEndpoint/facade.test.js +295 -0
  192. package/test/unit/models/partyIdType/partyIdType.test.js +88 -0
  193. package/test/unit/plugins.test.js +89 -0
  194. package/test/unit/setup.js +7 -0
  195. package/test/util/apiClients/AlsApiClient.js +44 -0
  196. package/test/util/apiClients/BasicApiClient.js +34 -0
  197. package/test/util/apiClients/ProxyApiClient.js +25 -0
  198. package/test/util/apiClients/index.js +7 -0
  199. package/test/util/helper.js +332 -0
  200. package/test/util/index.js +11 -0
  201. package/test/util/mockgen.js +43 -0
  202. package/test/util/onboarding.js +132 -0
  203. package/test/util/scripts/addAlsDb.sh +33 -0
  204. package/test/util/scripts/configureMockServer.sh +35 -0
  205. package/test/util/scripts/env.sh +19 -0
  206. package/test/util/scripts/populateTestData.sh +62 -0
  207. package/test/util/scripts/startMockCentralServer.sh +45 -0
  208. package/test/util/scripts/startMockOracleServer.sh +45 -0
  209. package/test/util/testConfig.js +44 -0
@@ -0,0 +1,1734 @@
1
+ openapi: 3.0.1
2
+ info:
3
+ title: Open API for FSP Interoperability (FSPIOP) (Implementation Friendly Version)
4
+ description: Based on API Definition.docx Version 1.1 that was confirmed on 2020-05-19.
5
+ Note - The API supports a maximum size of 65536 bytes (64 Kilobytes) in the HTTP
6
+ header.
7
+ license:
8
+ name: Open API for FSP Interoperability (FSPIOP) (Implementation Friendly Version)
9
+ version: "1.1"
10
+ servers:
11
+ - url: /
12
+
13
+ paths:
14
+ /participants/{ID}/error:
15
+ put:
16
+ tags:
17
+ - participants
18
+ - sampled
19
+ summary: ParticipantsByIDAndError
20
+ description: If there is an error during FSP information creation in the server,
21
+ the error callback PUT /participants/<ID>/error is used. The <ID> in the URI
22
+ should contain the requestId that was used for the creation of the participant
23
+ information.
24
+ operationId: ParticipantsErrorByIDPut
25
+ parameters:
26
+ - $ref: '#/components/parameters/ID'
27
+ - $ref: '#/components/parameters/Content-Length'
28
+ - $ref: '#/components/parameters/Content-Type'
29
+ - $ref: '#/components/parameters/Date'
30
+ - $ref: '#/components/parameters/X-Forwarded-For'
31
+ - $ref: '#/components/parameters/FSPIOP-Source'
32
+ - $ref: '#/components/parameters/FSPIOP-Destination-Optional'
33
+ - $ref: '#/components/parameters/FSPIOP-Encryption'
34
+ - $ref: '#/components/parameters/FSPIOP-Signature'
35
+ - $ref: '#/components/parameters/FSPIOP-URI'
36
+ - $ref: '#/components/parameters/FSPIOP-HTTP-Method'
37
+ requestBody:
38
+ content:
39
+ application/json:
40
+ schema:
41
+ $ref: '#/components/schemas/ErrorInformationObject'
42
+ required: true
43
+ responses:
44
+ 200:
45
+ $ref: '#/components/responses/Response200'
46
+ 400:
47
+ $ref: '#/components/responses/ErrorResponse400'
48
+ 401:
49
+ $ref: '#/components/responses/ErrorResponse401'
50
+ 403:
51
+ $ref: '#/components/responses/ErrorResponse403'
52
+ 404:
53
+ $ref: '#/components/responses/ErrorResponse404'
54
+ 405:
55
+ $ref: '#/components/responses/ErrorResponse405'
56
+ 406:
57
+ $ref: '#/components/responses/ErrorResponse406'
58
+ 501:
59
+ $ref: '#/components/responses/ErrorResponse501'
60
+ 503:
61
+ $ref: '#/components/responses/ErrorResponse503'
62
+ /participants/{ID}:
63
+ put:
64
+ tags:
65
+ - participants
66
+ - sampled
67
+ summary: ParticipantsByID
68
+ description: The callback PUT /participants/<ID> is used to inform the client
69
+ of the result of the creation of the provided list of identities.
70
+ operationId: ParticipantsByIDPut
71
+ parameters:
72
+ - $ref: '#/components/parameters/ID'
73
+ - $ref: '#/components/parameters/Content-Length'
74
+ - $ref: '#/components/parameters/Content-Type'
75
+ - $ref: '#/components/parameters/Date'
76
+ - $ref: '#/components/parameters/X-Forwarded-For'
77
+ - $ref: '#/components/parameters/FSPIOP-Source'
78
+ - $ref: '#/components/parameters/FSPIOP-Destination-Optional'
79
+ - $ref: '#/components/parameters/FSPIOP-Encryption'
80
+ - $ref: '#/components/parameters/FSPIOP-Signature'
81
+ - $ref: '#/components/parameters/FSPIOP-URI'
82
+ - $ref: '#/components/parameters/FSPIOP-HTTP-Method'
83
+ requestBody:
84
+ content:
85
+ application/json:
86
+ schema:
87
+ $ref: '#/components/schemas/ParticipantsIDPutResponse'
88
+ required: true
89
+ responses:
90
+ 200:
91
+ $ref: '#/components/responses/Response200'
92
+ 400:
93
+ $ref: '#/components/responses/ErrorResponse400'
94
+ 401:
95
+ $ref: '#/components/responses/ErrorResponse401'
96
+ 403:
97
+ $ref: '#/components/responses/ErrorResponse403'
98
+ 404:
99
+ $ref: '#/components/responses/ErrorResponse404'
100
+ 405:
101
+ $ref: '#/components/responses/ErrorResponse405'
102
+ 406:
103
+ $ref: '#/components/responses/ErrorResponse406'
104
+ 501:
105
+ $ref: '#/components/responses/ErrorResponse501'
106
+ 503:
107
+ $ref: '#/components/responses/ErrorResponse503'
108
+ /participants/{Type}/{ID}/error:
109
+ put:
110
+ tags:
111
+ - participants
112
+ - sampled
113
+ summary: ParticipantsErrorByTypeAndID
114
+ description: If the server is unable to find, create or delete the associated
115
+ FSP of the provided identity, or another processing error occurred, the error
116
+ callback PUT /participants/<Type>/<ID>/error (or PUT /participants/<Type>/<ID>/<SubId>/error)
117
+ is used.
118
+ operationId: ParticipantsErrorByTypeAndIDPut
119
+ parameters:
120
+ - $ref: '#/components/parameters/Type'
121
+ - $ref: '#/components/parameters/ID'
122
+ - $ref: '#/components/parameters/Content-Length'
123
+ - $ref: '#/components/parameters/Content-Type'
124
+ - $ref: '#/components/parameters/Date'
125
+ - $ref: '#/components/parameters/X-Forwarded-For'
126
+ - $ref: '#/components/parameters/FSPIOP-Source'
127
+ - $ref: '#/components/parameters/FSPIOP-Destination-Optional'
128
+ - $ref: '#/components/parameters/FSPIOP-Encryption'
129
+ - $ref: '#/components/parameters/FSPIOP-Signature'
130
+ - $ref: '#/components/parameters/FSPIOP-URI'
131
+ - $ref: '#/components/parameters/FSPIOP-HTTP-Method'
132
+ requestBody:
133
+ content:
134
+ application/json:
135
+ schema:
136
+ $ref: '#/components/schemas/ErrorInformationObject'
137
+ required: true
138
+ responses:
139
+ 200:
140
+ $ref: '#/components/responses/Response200'
141
+ 400:
142
+ $ref: '#/components/responses/ErrorResponse400'
143
+ 401:
144
+ $ref: '#/components/responses/ErrorResponse401'
145
+ 403:
146
+ $ref: '#/components/responses/ErrorResponse403'
147
+ 404:
148
+ $ref: '#/components/responses/ErrorResponse404'
149
+ 405:
150
+ $ref: '#/components/responses/ErrorResponse405'
151
+ 406:
152
+ $ref: '#/components/responses/ErrorResponse406'
153
+ 501:
154
+ $ref: '#/components/responses/ErrorResponse501'
155
+ 503:
156
+ $ref: '#/components/responses/ErrorResponse503'
157
+ /participants/{Type}/{ID}/{SubId}/error:
158
+ put:
159
+ tags:
160
+ - participants
161
+ - sampled
162
+ summary: ParticipantsSubIdErrorByTypeAndID
163
+ description: If the server is unable to find, create or delete the associated
164
+ FSP of the provided identity, or another processing error occurred, the error
165
+ callback PUT /participants/<Type>/<ID>/error (or PUT /participants/<Type>/<ID>/<SubId>/error)
166
+ is used.
167
+ operationId: ParticipantsErrorBySubIdTypeAndIDPut
168
+ parameters:
169
+ - $ref: '#/components/parameters/Type'
170
+ - $ref: '#/components/parameters/ID'
171
+ - $ref: '#/components/parameters/SubId'
172
+ - $ref: '#/components/parameters/Content-Length'
173
+ - $ref: '#/components/parameters/Content-Type'
174
+ - $ref: '#/components/parameters/Date'
175
+ - $ref: '#/components/parameters/X-Forwarded-For'
176
+ - $ref: '#/components/parameters/FSPIOP-Source'
177
+ - $ref: '#/components/parameters/FSPIOP-Destination-Optional'
178
+ - $ref: '#/components/parameters/FSPIOP-Encryption'
179
+ - $ref: '#/components/parameters/FSPIOP-Signature'
180
+ - $ref: '#/components/parameters/FSPIOP-URI'
181
+ - $ref: '#/components/parameters/FSPIOP-HTTP-Method'
182
+ requestBody:
183
+ content:
184
+ application/json:
185
+ schema:
186
+ $ref: '#/components/schemas/ErrorInformationObject'
187
+ required: true
188
+ responses:
189
+ 200:
190
+ $ref: '#/components/responses/Response200'
191
+ 400:
192
+ $ref: '#/components/responses/ErrorResponse400'
193
+ 401:
194
+ $ref: '#/components/responses/ErrorResponse401'
195
+ 403:
196
+ $ref: '#/components/responses/ErrorResponse403'
197
+ 404:
198
+ $ref: '#/components/responses/ErrorResponse404'
199
+ 405:
200
+ $ref: '#/components/responses/ErrorResponse405'
201
+ 406:
202
+ $ref: '#/components/responses/ErrorResponse406'
203
+ 501:
204
+ $ref: '#/components/responses/ErrorResponse501'
205
+ 503:
206
+ $ref: '#/components/responses/ErrorResponse503'
207
+ /participants/{Type}/{ID}/{SubId}:
208
+ parameters:
209
+ - $ref: '#/components/parameters/Type'
210
+ - $ref: '#/components/parameters/ID'
211
+ - $ref: '#/components/parameters/SubId'
212
+ - $ref: '#/components/parameters/Content-Type'
213
+ - $ref: '#/components/parameters/Date'
214
+ - $ref: '#/components/parameters/X-Forwarded-For'
215
+ - $ref: '#/components/parameters/FSPIOP-Source'
216
+ - $ref: '#/components/parameters/FSPIOP-Destination-Optional'
217
+ - $ref: '#/components/parameters/FSPIOP-Encryption'
218
+ - $ref: '#/components/parameters/FSPIOP-Signature'
219
+ - $ref: '#/components/parameters/FSPIOP-URI'
220
+ - $ref: '#/components/parameters/FSPIOP-HTTP-Method'
221
+ get:
222
+ tags:
223
+ - participants
224
+ - sampled
225
+ summary: ParticipantsSubIdByTypeAndID
226
+ description: The HTTP request GET /participants/<Type>/<ID> (or GET /participants/<Type>/<ID>/<SubId>)
227
+ is used to find out in which FSP the requested Party, defined by <Type>, <ID>
228
+ and optionally <SubId>, is located (for example, GET /participants/MSISDN/123456789,
229
+ or GET /participants/BUSINESS/shoecompany/employee1).
230
+ operationId: ParticipantsSubIdByTypeAndIDGet
231
+ parameters:
232
+ - $ref: '#/components/parameters/Accept'
233
+ responses:
234
+ 202:
235
+ $ref: '#/components/responses/Response202'
236
+ 400:
237
+ $ref: '#/components/responses/ErrorResponse400'
238
+ 401:
239
+ $ref: '#/components/responses/ErrorResponse401'
240
+ 403:
241
+ $ref: '#/components/responses/ErrorResponse403'
242
+ 404:
243
+ $ref: '#/components/responses/ErrorResponse404'
244
+ 405:
245
+ $ref: '#/components/responses/ErrorResponse405'
246
+ 406:
247
+ $ref: '#/components/responses/ErrorResponse406'
248
+ 501:
249
+ $ref: '#/components/responses/ErrorResponse501'
250
+ 503:
251
+ $ref: '#/components/responses/ErrorResponse503'
252
+ put:
253
+ tags:
254
+ - participants
255
+ - sampled
256
+ summary: ParticipantsSubIdByTypeAndID
257
+ description: The callback PUT /participants/<Type>/<ID> (or PUT /participants/<Type>/<ID>/<SubId>)
258
+ is used to inform the client of a successful result of the lookup, creation,
259
+ or deletion of the FSP information related to the Party. If the FSP information
260
+ is deleted, the fspId element should be empty; otherwise the element should
261
+ include the FSP information for the Party.
262
+ operationId: ParticipantsSubIdByTypeAndIDPut
263
+ parameters:
264
+ - $ref: '#/components/parameters/Content-Length'
265
+ requestBody:
266
+ content:
267
+ application/json:
268
+ schema:
269
+ $ref: '#/components/schemas/ParticipantsTypeIDPutResponse'
270
+ required: true
271
+ responses:
272
+ 200:
273
+ $ref: '#/components/responses/Response200'
274
+ 400:
275
+ $ref: '#/components/responses/ErrorResponse400'
276
+ 401:
277
+ $ref: '#/components/responses/ErrorResponse401'
278
+ 403:
279
+ $ref: '#/components/responses/ErrorResponse403'
280
+ 404:
281
+ $ref: '#/components/responses/ErrorResponse404'
282
+ 405:
283
+ $ref: '#/components/responses/ErrorResponse405'
284
+ 406:
285
+ $ref: '#/components/responses/ErrorResponse406'
286
+ 501:
287
+ $ref: '#/components/responses/ErrorResponse501'
288
+ 503:
289
+ $ref: '#/components/responses/ErrorResponse503'
290
+ post:
291
+ tags:
292
+ - participants
293
+ - sampled
294
+ summary: ParticipantsSubIdByTypeAndID
295
+ description: The HTTP request POST /participants/<Type>/<ID> (or POST /participants/<Type>/<ID>/<SubId>)
296
+ is used to create information in the server regarding the provided identity,
297
+ defined by <Type>, <ID>, and optionally <SubId> (for example, POST /participants/MSISDN/123456789
298
+ or POST /participants/BUSINESS/shoecompany/employee1).
299
+ operationId: ParticipantsSubIdByTypeAndIDPost
300
+ parameters:
301
+ - $ref: '#/components/parameters/Accept'
302
+ - $ref: '#/components/parameters/Content-Length'
303
+ requestBody:
304
+ content:
305
+ application/json:
306
+ schema:
307
+ $ref: '#/components/schemas/ParticipantsTypeIDSubIDPostRequest'
308
+ required: true
309
+ responses:
310
+ 202:
311
+ $ref: '#/components/responses/Response202'
312
+ 400:
313
+ $ref: '#/components/responses/ErrorResponse400'
314
+ 401:
315
+ $ref: '#/components/responses/ErrorResponse401'
316
+ 403:
317
+ $ref: '#/components/responses/ErrorResponse403'
318
+ 404:
319
+ $ref: '#/components/responses/ErrorResponse404'
320
+ 405:
321
+ $ref: '#/components/responses/ErrorResponse405'
322
+ 406:
323
+ $ref: '#/components/responses/ErrorResponse406'
324
+ 501:
325
+ $ref: '#/components/responses/ErrorResponse501'
326
+ 503:
327
+ $ref: '#/components/responses/ErrorResponse503'
328
+ delete:
329
+ tags:
330
+ - participants
331
+ - sampled
332
+ summary: ParticipantsSubIdByTypeAndID
333
+ description: The HTTP request DELETE /participants/<Type>/<ID> (or DELETE /participants/<Type>/<ID>/<SubId>)
334
+ is used to delete information in the server regarding the provided identity,
335
+ defined by <Type> and <ID>) (for example, DELETE /participants/MSISDN/123456789),
336
+ and optionally <SubId>. This HTTP request should support a query string to
337
+ delete FSP information regarding a specific currency only. To delete a specific
338
+ currency only, the HTTP request DELETE /participants/<Type>/<ID>?currency=XYZ
339
+ should be used, where XYZ is the requested currency. Note - The Account Lookup
340
+ System should verify that it is the Party’s current FSP that is deleting the
341
+ FSP information.
342
+ operationId: ParticipantsSubIdByTypeAndIDDelete
343
+ parameters:
344
+ - $ref: '#/components/parameters/Accept'
345
+ responses:
346
+ 202:
347
+ $ref: '#/components/responses/Response202'
348
+ 400:
349
+ $ref: '#/components/responses/ErrorResponse400'
350
+ 401:
351
+ $ref: '#/components/responses/ErrorResponse401'
352
+ 403:
353
+ $ref: '#/components/responses/ErrorResponse403'
354
+ 404:
355
+ $ref: '#/components/responses/ErrorResponse404'
356
+ 405:
357
+ $ref: '#/components/responses/ErrorResponse405'
358
+ 406:
359
+ $ref: '#/components/responses/ErrorResponse406'
360
+ 501:
361
+ $ref: '#/components/responses/ErrorResponse501'
362
+ 503:
363
+ $ref: '#/components/responses/ErrorResponse503'
364
+ /participants/{Type}/{ID}:
365
+ parameters:
366
+ - $ref: '#/components/parameters/Type'
367
+ - $ref: '#/components/parameters/ID'
368
+ - $ref: '#/components/parameters/Content-Type'
369
+ - $ref: '#/components/parameters/Date'
370
+ - $ref: '#/components/parameters/X-Forwarded-For'
371
+ - $ref: '#/components/parameters/FSPIOP-Source'
372
+ - $ref: '#/components/parameters/FSPIOP-Destination-Optional'
373
+ - $ref: '#/components/parameters/FSPIOP-Encryption'
374
+ - $ref: '#/components/parameters/FSPIOP-Signature'
375
+ - $ref: '#/components/parameters/FSPIOP-URI'
376
+ - $ref: '#/components/parameters/FSPIOP-HTTP-Method'
377
+ get:
378
+ tags:
379
+ - participants
380
+ - sampled
381
+ summary: ParticipantsByTypeAndID
382
+ description: The HTTP request GET /participants/<Type>/<ID> (or GET /participants/<Type>/<ID>/<SubId>)
383
+ is used to find out in which FSP the requested Party, defined by <Type>, <ID>
384
+ and optionally <SubId>, is located (for example, GET /participants/MSISDN/123456789,
385
+ or GET /participants/BUSINESS/shoecompany/employee1).
386
+ operationId: ParticipantsByTypeAndIDGet
387
+ parameters:
388
+ - $ref: '#/components/parameters/Accept'
389
+ responses:
390
+ 202:
391
+ $ref: '#/components/responses/Response202'
392
+ 400:
393
+ $ref: '#/components/responses/ErrorResponse400'
394
+ 401:
395
+ $ref: '#/components/responses/ErrorResponse401'
396
+ 403:
397
+ $ref: '#/components/responses/ErrorResponse403'
398
+ 404:
399
+ $ref: '#/components/responses/ErrorResponse404'
400
+ 405:
401
+ $ref: '#/components/responses/ErrorResponse405'
402
+ 406:
403
+ $ref: '#/components/responses/ErrorResponse406'
404
+ 501:
405
+ $ref: '#/components/responses/ErrorResponse501'
406
+ 503:
407
+ $ref: '#/components/responses/ErrorResponse503'
408
+ put:
409
+ tags:
410
+ - participants
411
+ - sampled
412
+ summary: ParticipantsByTypeAndID
413
+ description: The callback PUT /participants/<Type>/<ID> (or PUT /participants/<Type>/<ID>/<SubId>)
414
+ is used to inform the client of a successful result of the lookup, creation,
415
+ or deletion of the FSP information related to the Party. If the FSP information
416
+ is deleted, the fspId element should be empty; otherwise the element should
417
+ include the FSP information for the Party.
418
+ operationId: ParticipantsByTypeAndIDPut
419
+ parameters:
420
+ - $ref: '#/components/parameters/Accept-Optional'
421
+ - $ref: '#/components/parameters/Content-Length'
422
+ requestBody:
423
+ content:
424
+ application/json:
425
+ schema:
426
+ $ref: '#/components/schemas/ParticipantsTypeIDPutResponse'
427
+ required: true
428
+ responses:
429
+ 200:
430
+ $ref: '#/components/responses/Response200'
431
+ 400:
432
+ $ref: '#/components/responses/ErrorResponse400'
433
+ 401:
434
+ $ref: '#/components/responses/ErrorResponse401'
435
+ 403:
436
+ $ref: '#/components/responses/ErrorResponse403'
437
+ 404:
438
+ $ref: '#/components/responses/ErrorResponse404'
439
+ 405:
440
+ $ref: '#/components/responses/ErrorResponse405'
441
+ 406:
442
+ $ref: '#/components/responses/ErrorResponse406'
443
+ 501:
444
+ $ref: '#/components/responses/ErrorResponse501'
445
+ 503:
446
+ $ref: '#/components/responses/ErrorResponse503'
447
+ post:
448
+ tags:
449
+ - participants
450
+ - sampled
451
+ summary: ParticipantsByIDAndType
452
+ description: The HTTP request POST /participants/<Type>/<ID> (or POST /participants/<Type>/<ID>/<SubId>)
453
+ is used to create information in the server regarding the provided identity,
454
+ defined by <Type>, <ID>, and optionally <SubId> (for example, POST /participants/MSISDN/123456789
455
+ or POST /participants/BUSINESS/shoecompany/employee1).
456
+ operationId: ParticipantsByIDAndTypePost
457
+ parameters:
458
+ - $ref: '#/components/parameters/Accept'
459
+ - $ref: '#/components/parameters/Content-Length'
460
+ requestBody:
461
+ content:
462
+ application/json:
463
+ schema:
464
+ $ref: '#/components/schemas/ParticipantsTypeIDSubIDPostRequest'
465
+ required: true
466
+ responses:
467
+ 202:
468
+ $ref: '#/components/responses/Response202'
469
+ 400:
470
+ $ref: '#/components/responses/ErrorResponse400'
471
+ 401:
472
+ $ref: '#/components/responses/ErrorResponse401'
473
+ 403:
474
+ $ref: '#/components/responses/ErrorResponse403'
475
+ 404:
476
+ $ref: '#/components/responses/ErrorResponse404'
477
+ 405:
478
+ $ref: '#/components/responses/ErrorResponse405'
479
+ 406:
480
+ $ref: '#/components/responses/ErrorResponse406'
481
+ 501:
482
+ $ref: '#/components/responses/ErrorResponse501'
483
+ 503:
484
+ $ref: '#/components/responses/ErrorResponse503'
485
+ delete:
486
+ tags:
487
+ - participants
488
+ - sampled
489
+ summary: ParticipantsByTypeAndID
490
+ description: The HTTP request DELETE /participants/<Type>/<ID> (or DELETE /participants/<Type>/<ID>/<SubId>)
491
+ is used to delete information in the server regarding the provided identity,
492
+ defined by <Type> and <ID>) (for example, DELETE /participants/MSISDN/123456789),
493
+ and optionally <SubId>. This HTTP request should support a query string to
494
+ delete FSP information regarding a specific currency only. To delete a specific
495
+ currency only, the HTTP request DELETE /participants/<Type>/<ID>?currency=XYZ
496
+ should be used, where XYZ is the requested currency. Note - The Account Lookup
497
+ System should verify that it is the Party’s current FSP that is deleting the
498
+ FSP information.
499
+ operationId: ParticipantsByTypeAndIDDelete
500
+ parameters:
501
+ - $ref: '#/components/parameters/Accept'
502
+ responses:
503
+ 202:
504
+ $ref: '#/components/responses/Response202'
505
+ 400:
506
+ $ref: '#/components/responses/ErrorResponse400'
507
+ 401:
508
+ $ref: '#/components/responses/ErrorResponse401'
509
+ 403:
510
+ $ref: '#/components/responses/ErrorResponse403'
511
+ 404:
512
+ $ref: '#/components/responses/ErrorResponse404'
513
+ 405:
514
+ $ref: '#/components/responses/ErrorResponse405'
515
+ 406:
516
+ $ref: '#/components/responses/ErrorResponse406'
517
+ 501:
518
+ $ref: '#/components/responses/ErrorResponse501'
519
+ 503:
520
+ $ref: '#/components/responses/ErrorResponse503'
521
+ /participants:
522
+ post:
523
+ tags:
524
+ - participants
525
+ - sampled
526
+ summary: Participants
527
+ description: The HTTP request POST /participants is used to create information
528
+ in the server regarding the provided list of identities. This request should
529
+ be used for bulk creation of FSP information for more than one Party. The
530
+ optional currency parameter should indicate that each provided Party supports
531
+ the currency
532
+ operationId: ParticipantsPost
533
+ parameters:
534
+ - $ref: '#/components/parameters/Content-Length'
535
+ - $ref: '#/components/parameters/Content-Type'
536
+ - $ref: '#/components/parameters/Accept'
537
+ - $ref: '#/components/parameters/Date'
538
+ - $ref: '#/components/parameters/X-Forwarded-For'
539
+ - $ref: '#/components/parameters/FSPIOP-Source'
540
+ - $ref: '#/components/parameters/FSPIOP-Destination-Optional'
541
+ - $ref: '#/components/parameters/FSPIOP-Encryption'
542
+ - $ref: '#/components/parameters/FSPIOP-Signature'
543
+ - $ref: '#/components/parameters/FSPIOP-URI'
544
+ - $ref: '#/components/parameters/FSPIOP-HTTP-Method'
545
+ requestBody:
546
+ content:
547
+ application/json:
548
+ schema:
549
+ $ref: '#/components/schemas/ParticipantsPostRequest'
550
+ required: true
551
+ responses:
552
+ 202:
553
+ $ref: '#/components/responses/Response202'
554
+ 400:
555
+ $ref: '#/components/responses/ErrorResponse400'
556
+ 401:
557
+ $ref: '#/components/responses/ErrorResponse401'
558
+ 403:
559
+ $ref: '#/components/responses/ErrorResponse403'
560
+ 404:
561
+ $ref: '#/components/responses/ErrorResponse404'
562
+ 405:
563
+ $ref: '#/components/responses/ErrorResponse405'
564
+ 406:
565
+ $ref: '#/components/responses/ErrorResponse406'
566
+ 501:
567
+ $ref: '#/components/responses/ErrorResponse501'
568
+ 503:
569
+ $ref: '#/components/responses/ErrorResponse503'
570
+ /parties/{Type}/{ID}:
571
+ parameters:
572
+ - $ref: '#/components/parameters/Type'
573
+ - $ref: '#/components/parameters/ID'
574
+ - $ref: '#/components/parameters/Content-Type'
575
+ - $ref: '#/components/parameters/Date'
576
+ - $ref: '#/components/parameters/X-Forwarded-For'
577
+ - $ref: '#/components/parameters/FSPIOP-Source'
578
+ - $ref: '#/components/parameters/FSPIOP-Destination-Optional'
579
+ - $ref: '#/components/parameters/FSPIOP-Encryption'
580
+ - $ref: '#/components/parameters/FSPIOP-Signature'
581
+ - $ref: '#/components/parameters/FSPIOP-URI'
582
+ - $ref: '#/components/parameters/FSPIOP-HTTP-Method'
583
+ get:
584
+ tags:
585
+ - parties
586
+ - sampled
587
+ summary: PartiesByTypeAndID
588
+ description: The HTTP request GET /parties/<Type>/<ID> (or GET /parties/<Type>/<ID>/<SubId>)
589
+ is used to lookup information regarding the requested Party, defined by <Type>,
590
+ <ID> and optionally <SubId> (for example, GET /parties/MSISDN/123456789, or
591
+ GET /parties/BUSINESS/shoecompany/employee1).
592
+ operationId: PartiesByTypeAndIDGet
593
+ parameters:
594
+ - $ref: '#/components/parameters/Accept'
595
+ responses:
596
+ 202:
597
+ $ref: '#/components/responses/Response202'
598
+ 400:
599
+ $ref: '#/components/responses/ErrorResponse400'
600
+ 401:
601
+ $ref: '#/components/responses/ErrorResponse401'
602
+ 403:
603
+ $ref: '#/components/responses/ErrorResponse403'
604
+ 404:
605
+ $ref: '#/components/responses/ErrorResponse404'
606
+ 405:
607
+ $ref: '#/components/responses/ErrorResponse405'
608
+ 406:
609
+ $ref: '#/components/responses/ErrorResponse406'
610
+ 501:
611
+ $ref: '#/components/responses/ErrorResponse501'
612
+ 503:
613
+ $ref: '#/components/responses/ErrorResponse503'
614
+ put:
615
+ tags:
616
+ - parties
617
+ - sampled
618
+ summary: PartiesByTypeAndID2
619
+ description: The callback PUT /parties/<Type>/<ID> (or PUT /parties/<Type>/<ID>/<SubId>)
620
+ is used to inform the client of a successful result of the Party information
621
+ lookup.
622
+ operationId: PartiesByTypeAndIDPut
623
+ parameters:
624
+ - $ref: '#/components/parameters/Accept-Optional'
625
+ - $ref: '#/components/parameters/Content-Length'
626
+ requestBody:
627
+ content:
628
+ application/json:
629
+ schema:
630
+ $ref: 'fspiop-rest-v2.0-ISO20022_parties.yaml#/components/schemas/GetParties_IdentificationVerificationReportV03'
631
+ required: true
632
+ responses:
633
+ 200:
634
+ $ref: '#/components/responses/Response200'
635
+ 400:
636
+ $ref: '#/components/responses/ErrorResponse400'
637
+ 401:
638
+ $ref: '#/components/responses/ErrorResponse401'
639
+ 403:
640
+ $ref: '#/components/responses/ErrorResponse403'
641
+ 404:
642
+ $ref: '#/components/responses/ErrorResponse404'
643
+ 405:
644
+ $ref: '#/components/responses/ErrorResponse405'
645
+ 406:
646
+ $ref: '#/components/responses/ErrorResponse406'
647
+ 501:
648
+ $ref: '#/components/responses/ErrorResponse501'
649
+ 503:
650
+ $ref: '#/components/responses/ErrorResponse503'
651
+ /parties/{Type}/{ID}/error:
652
+ put:
653
+ tags:
654
+ - parties
655
+ - sampled
656
+ summary: PartiesErrorByTypeAndID
657
+ description: If the server is unable to find Party information of the provided
658
+ identity, or another processing error occurred, the error callback PUT /parties/<Type>/<ID>/error
659
+ (or PUT /parties/<Type>/<ID>/<SubId>/error) is used.
660
+ operationId: PartiesErrorByTypeAndIDPut
661
+ parameters:
662
+ - $ref: '#/components/parameters/Accept-Optional'
663
+ - $ref: '#/components/parameters/Type'
664
+ - $ref: '#/components/parameters/ID'
665
+ - $ref: '#/components/parameters/Content-Length'
666
+ - $ref: '#/components/parameters/Content-Type'
667
+ - $ref: '#/components/parameters/Date'
668
+ - $ref: '#/components/parameters/X-Forwarded-For'
669
+ - $ref: '#/components/parameters/FSPIOP-Source'
670
+ - $ref: '#/components/parameters/FSPIOP-Destination-Optional'
671
+ - $ref: '#/components/parameters/FSPIOP-Encryption'
672
+ - $ref: '#/components/parameters/FSPIOP-Signature'
673
+ - $ref: '#/components/parameters/FSPIOP-URI'
674
+ - $ref: '#/components/parameters/FSPIOP-HTTP-Method'
675
+ requestBody:
676
+ content:
677
+ application/json:
678
+ schema:
679
+ $ref: 'fspiop-rest-v2.0-ISO20022_parties.yaml#/components/schemas/GetPartiesError_IdentificationVerificationReportV03'
680
+ required: true
681
+ responses:
682
+ 200:
683
+ $ref: '#/components/responses/Response200'
684
+ 400:
685
+ $ref: '#/components/responses/ErrorResponse400'
686
+ 401:
687
+ $ref: '#/components/responses/ErrorResponse401'
688
+ 403:
689
+ $ref: '#/components/responses/ErrorResponse403'
690
+ 404:
691
+ $ref: '#/components/responses/ErrorResponse404'
692
+ 405:
693
+ $ref: '#/components/responses/ErrorResponse405'
694
+ 406:
695
+ $ref: '#/components/responses/ErrorResponse406'
696
+ 501:
697
+ $ref: '#/components/responses/ErrorResponse501'
698
+ 503:
699
+ $ref: '#/components/responses/ErrorResponse503'
700
+ /parties/{Type}/{ID}/{SubId}:
701
+ parameters:
702
+ - $ref: '#/components/parameters/Type'
703
+ - $ref: '#/components/parameters/ID'
704
+ - $ref: '#/components/parameters/SubId'
705
+ - $ref: '#/components/parameters/Content-Type'
706
+ - $ref: '#/components/parameters/Date'
707
+ - $ref: '#/components/parameters/X-Forwarded-For'
708
+ - $ref: '#/components/parameters/FSPIOP-Source'
709
+ - $ref: '#/components/parameters/FSPIOP-Destination-Optional'
710
+ - $ref: '#/components/parameters/FSPIOP-Encryption'
711
+ - $ref: '#/components/parameters/FSPIOP-Signature'
712
+ - $ref: '#/components/parameters/FSPIOP-URI'
713
+ - $ref: '#/components/parameters/FSPIOP-HTTP-Method'
714
+ get:
715
+ tags:
716
+ - parties
717
+ - sampled
718
+ summary: PartiesSubIdByTypeAndID
719
+ description: The HTTP request GET /parties/<Type>/<ID> (or GET /parties/<Type>/<ID>/<SubId>)
720
+ is used to lookup information regarding the requested Party, defined by <Type>,
721
+ <ID> and optionally <SubId> (for example, GET /parties/MSISDN/123456789, or
722
+ GET /parties/BUSINESS/shoecompany/employee1).
723
+ operationId: PartiesBySubIdTypeAndIDGet
724
+ parameters:
725
+ - $ref: '#/components/parameters/Accept'
726
+ responses:
727
+ 202:
728
+ $ref: '#/components/responses/Response202'
729
+ 400:
730
+ $ref: '#/components/responses/ErrorResponse400'
731
+ 401:
732
+ $ref: '#/components/responses/ErrorResponse401'
733
+ 403:
734
+ $ref: '#/components/responses/ErrorResponse403'
735
+ 404:
736
+ $ref: '#/components/responses/ErrorResponse404'
737
+ 405:
738
+ $ref: '#/components/responses/ErrorResponse405'
739
+ 406:
740
+ $ref: '#/components/responses/ErrorResponse406'
741
+ 501:
742
+ $ref: '#/components/responses/ErrorResponse501'
743
+ 503:
744
+ $ref: '#/components/responses/ErrorResponse503'
745
+ put:
746
+ tags:
747
+ - parties
748
+ - sampled
749
+ summary: PartiesSubIdByTypeAndID
750
+ description: The callback PUT /parties/<Type>/<ID> (or PUT /parties/<Type>/<ID>/<SubId>)
751
+ is used to inform the client of a successful result of the Party information
752
+ lookup.
753
+ operationId: PartiesSubIdByTypeAndIDPut
754
+ parameters:
755
+ - $ref: '#/components/parameters/Accept-Optional'
756
+ - $ref: '#/components/parameters/Content-Length'
757
+ requestBody:
758
+ content:
759
+ application/json:
760
+ schema:
761
+ $ref: 'fspiop-rest-v2.0-ISO20022_parties.yaml#/components/schemas/GetParties_IdentificationVerificationReportV03'
762
+ required: true
763
+ responses:
764
+ 200:
765
+ $ref: '#/components/responses/Response200'
766
+ 400:
767
+ $ref: '#/components/responses/ErrorResponse400'
768
+ 401:
769
+ $ref: '#/components/responses/ErrorResponse401'
770
+ 403:
771
+ $ref: '#/components/responses/ErrorResponse403'
772
+ 404:
773
+ $ref: '#/components/responses/ErrorResponse404'
774
+ 405:
775
+ $ref: '#/components/responses/ErrorResponse405'
776
+ 406:
777
+ $ref: '#/components/responses/ErrorResponse406'
778
+ 501:
779
+ $ref: '#/components/responses/ErrorResponse501'
780
+ 503:
781
+ $ref: '#/components/responses/ErrorResponse503'
782
+ /parties/{Type}/{ID}/{SubId}/error:
783
+ put:
784
+ tags:
785
+ - parties
786
+ - sampled
787
+ summary: PartiesSubIdErrorByTypeAndID
788
+ description: If the server is unable to find Party information of the provided
789
+ identity, or another processing error occurred, the error callback PUT /parties/<Type>/<ID>/error
790
+ (or PUT /parties/<Type>/<ID>/<SubId>/error) is used.
791
+ operationId: PartiesErrorBySubIdTypeAndIDPut
792
+ parameters:
793
+ - $ref: '#/components/parameters/Accept-Optional'
794
+ - $ref: '#/components/parameters/Type'
795
+ - $ref: '#/components/parameters/ID'
796
+ - $ref: '#/components/parameters/SubId'
797
+ - $ref: '#/components/parameters/Content-Length'
798
+ - $ref: '#/components/parameters/Content-Type'
799
+ - $ref: '#/components/parameters/Date'
800
+ - $ref: '#/components/parameters/X-Forwarded-For'
801
+ - $ref: '#/components/parameters/FSPIOP-Source'
802
+ - $ref: '#/components/parameters/FSPIOP-Destination-Optional'
803
+ - $ref: '#/components/parameters/FSPIOP-Encryption'
804
+ - $ref: '#/components/parameters/FSPIOP-Signature'
805
+ - $ref: '#/components/parameters/FSPIOP-URI'
806
+ - $ref: '#/components/parameters/FSPIOP-HTTP-Method'
807
+ requestBody:
808
+ content:
809
+ application/json:
810
+ schema:
811
+ $ref: 'fspiop-rest-v2.0-ISO20022_parties.yaml#/components/schemas/GetPartiesError_IdentificationVerificationReportV03'
812
+ required: true
813
+ responses:
814
+ 200:
815
+ $ref: '#/components/responses/Response200'
816
+ 400:
817
+ $ref: '#/components/responses/ErrorResponse400'
818
+ 401:
819
+ $ref: '#/components/responses/ErrorResponse401'
820
+ 403:
821
+ $ref: '#/components/responses/ErrorResponse403'
822
+ 404:
823
+ $ref: '#/components/responses/ErrorResponse404'
824
+ 405:
825
+ $ref: '#/components/responses/ErrorResponse405'
826
+ 406:
827
+ $ref: '#/components/responses/ErrorResponse406'
828
+ 501:
829
+ $ref: '#/components/responses/ErrorResponse501'
830
+ 503:
831
+ $ref: '#/components/responses/ErrorResponse503'
832
+ /health:
833
+ get:
834
+ tags:
835
+ - health
836
+ summary: Get health
837
+ description: The HTTP request GET /health is used to return the current status
838
+ of the ALS API.
839
+ operationId: HealthGet
840
+ responses:
841
+ 200:
842
+ $ref: '#/components/responses/ResponseHealth200'
843
+ 400:
844
+ $ref: '#/components/responses/ErrorResponse400'
845
+ 401:
846
+ $ref: '#/components/responses/ErrorResponse401'
847
+ 403:
848
+ $ref: '#/components/responses/ErrorResponse403'
849
+ 404:
850
+ $ref: '#/components/responses/ErrorResponse404'
851
+ 405:
852
+ $ref: '#/components/responses/ErrorResponse405'
853
+ 406:
854
+ $ref: '#/components/responses/ErrorResponse406'
855
+ 501:
856
+ $ref: '#/components/responses/ErrorResponse501'
857
+ 503:
858
+ $ref: '#/components/responses/ErrorResponse503'
859
+ /endpointcache:
860
+ delete:
861
+ tags:
862
+ - cache
863
+ - sampled
864
+ summary: Endpoint Cache
865
+ description: The HTTP request DELETE /endpointcache is used to reset the endpoint
866
+ cache by performing an stopCache and initializeCache the Admin API.
867
+ operationId: EndpointCacheDelete
868
+ parameters:
869
+ - $ref: '#/components/parameters/Date'
870
+ responses:
871
+ 202:
872
+ $ref: '#/components/responses/Response202'
873
+ 400:
874
+ $ref: '#/components/responses/ErrorResponse400'
875
+ 401:
876
+ $ref: '#/components/responses/ErrorResponse401'
877
+ 403:
878
+ $ref: '#/components/responses/ErrorResponse403'
879
+ 404:
880
+ $ref: '#/components/responses/ErrorResponse404'
881
+ 405:
882
+ $ref: '#/components/responses/ErrorResponse405'
883
+ 406:
884
+ $ref: '#/components/responses/ErrorResponse406'
885
+ 501:
886
+ $ref: '#/components/responses/ErrorResponse501'
887
+ 503:
888
+ $ref: '#/components/responses/ErrorResponse503'
889
+ components:
890
+ schemas:
891
+ CorrelationId:
892
+ title: CorrelationId
893
+ pattern: ^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
894
+ type: string
895
+ description: Identifier that correlates all messages of the same sequence. The
896
+ API data type UUID (Universally Unique Identifier) is a JSON String in canonical
897
+ format, conforming to RFC 4122, that is restricted by a regular expression
898
+ for interoperability reasons. An UUID is always 36 characters long, 32 hexadecimal
899
+ symbols and 4 dashes (‘-‘).
900
+ Currency:
901
+ title: CurrencyEnum
902
+ maxLength: 3
903
+ minLength: 3
904
+ type: string
905
+ description: The currency codes defined in ISO 4217 as three-letter alphabetic
906
+ codes are used as the standard naming representation for currencies.
907
+ enum:
908
+ - AED
909
+ - AFN
910
+ - ALL
911
+ - AMD
912
+ - ANG
913
+ - AOA
914
+ - ARS
915
+ - AUD
916
+ - AWG
917
+ - AZN
918
+ - BAM
919
+ - BBD
920
+ - BDT
921
+ - BGN
922
+ - BHD
923
+ - BIF
924
+ - BMD
925
+ - BND
926
+ - BOB
927
+ - BRL
928
+ - BSD
929
+ - BTN
930
+ - BWP
931
+ - BYN
932
+ - BZD
933
+ - CAD
934
+ - CDF
935
+ - CHF
936
+ - CLP
937
+ - CNY
938
+ - COP
939
+ - CRC
940
+ - CUC
941
+ - CUP
942
+ - CVE
943
+ - CZK
944
+ - DJF
945
+ - DKK
946
+ - DOP
947
+ - DZD
948
+ - EGP
949
+ - ERN
950
+ - ETB
951
+ - EUR
952
+ - FJD
953
+ - FKP
954
+ - GBP
955
+ - GEL
956
+ - GGP
957
+ - GHS
958
+ - GIP
959
+ - GMD
960
+ - GNF
961
+ - GTQ
962
+ - GYD
963
+ - HKD
964
+ - HNL
965
+ - HRK
966
+ - HTG
967
+ - HUF
968
+ - IDR
969
+ - ILS
970
+ - IMP
971
+ - INR
972
+ - IQD
973
+ - IRR
974
+ - ISK
975
+ - JEP
976
+ - JMD
977
+ - JOD
978
+ - JPY
979
+ - KES
980
+ - KGS
981
+ - KHR
982
+ - KMF
983
+ - KPW
984
+ - KRW
985
+ - KWD
986
+ - KYD
987
+ - KZT
988
+ - LAK
989
+ - LBP
990
+ - LKR
991
+ - LRD
992
+ - LSL
993
+ - LYD
994
+ - MAD
995
+ - MDL
996
+ - MGA
997
+ - MKD
998
+ - MMK
999
+ - MNT
1000
+ - MOP
1001
+ - MRO
1002
+ - MUR
1003
+ - MVR
1004
+ - MWK
1005
+ - MXN
1006
+ - MYR
1007
+ - MZN
1008
+ - NAD
1009
+ - NGN
1010
+ - NIO
1011
+ - NOK
1012
+ - NPR
1013
+ - NZD
1014
+ - OMR
1015
+ - PAB
1016
+ - PEN
1017
+ - PGK
1018
+ - PHP
1019
+ - PKR
1020
+ - PLN
1021
+ - PYG
1022
+ - QAR
1023
+ - RON
1024
+ - RSD
1025
+ - RUB
1026
+ - RWF
1027
+ - SAR
1028
+ - SBD
1029
+ - SCR
1030
+ - SDG
1031
+ - SEK
1032
+ - SGD
1033
+ - SHP
1034
+ - SLL
1035
+ - SOS
1036
+ - SPL
1037
+ - SRD
1038
+ - STD
1039
+ - SVC
1040
+ - SYP
1041
+ - SZL
1042
+ - THB
1043
+ - TJS
1044
+ - TMT
1045
+ - TND
1046
+ - TOP
1047
+ - TRY
1048
+ - TTD
1049
+ - TVD
1050
+ - TWD
1051
+ - TZS
1052
+ - UAH
1053
+ - UGX
1054
+ - USD
1055
+ - UYU
1056
+ - UZS
1057
+ - VEF
1058
+ - VND
1059
+ - VUV
1060
+ - WST
1061
+ - XAF
1062
+ - XCD
1063
+ - XDR
1064
+ - XOF
1065
+ - XPF
1066
+ - XTS
1067
+ - XXX
1068
+ - YER
1069
+ - ZAR
1070
+ - ZMW
1071
+ - ZWD
1072
+ Date:
1073
+ title: Date
1074
+ pattern: ^(?:[1-9]\d{3}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1\d|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[1-9]\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-02-29)$
1075
+ type: string
1076
+ description: The API data type Date is a JSON String in a lexical format that
1077
+ is restricted by a regular expression for interoperability reasons. This format,
1078
+ as specified in ISO 8601, contains a date only. A more readable version of
1079
+ the format is yyyy-MM-dd. Examples - "1982-05-23", "1987-08-05”
1080
+ DateOfBirth:
1081
+ title: DateofBirth (type Date)
1082
+ pattern: ^(?:[1-9]\d{3}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1\d|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[1-9]\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-02-29)$
1083
+ type: string
1084
+ description: Date of Birth of the Party.
1085
+ ErrorCode:
1086
+ title: ErrorCode
1087
+ pattern: ^[1-9]\d{3}$
1088
+ type: string
1089
+ description: The API data type ErrorCode is a JSON String of four characters,
1090
+ consisting of digits only. Negative numbers are not allowed. A leading zero
1091
+ is not allowed. Each error code in the API is a four-digit number, for example,
1092
+ 1234, where the first number (1 in the example) represents the high-level
1093
+ error category, the second number (2 in the example) represents the low-level
1094
+ error category, and the last two numbers (34 in the example) represents the
1095
+ specific error.
1096
+ ErrorDescription:
1097
+ title: ErrorDescription
1098
+ maxLength: 128
1099
+ minLength: 1
1100
+ type: string
1101
+ description: Error description string.
1102
+ ExtensionKey:
1103
+ title: ExtensionKey
1104
+ maxLength: 32
1105
+ minLength: 1
1106
+ type: string
1107
+ description: Extension key.
1108
+ ExtensionValue:
1109
+ title: ExtensionValue
1110
+ maxLength: 128
1111
+ minLength: 1
1112
+ type: string
1113
+ description: Extension value.
1114
+ FspId:
1115
+ title: FspId
1116
+ maxLength: 32
1117
+ minLength: 1
1118
+ type: string
1119
+ description: FSP identifier.
1120
+ HealthStatusType:
1121
+ title: HealthStatusType
1122
+ type: string
1123
+ description: Below are the allowed values for the enumeration HealthStatusType
1124
+ - OK - DOWN
1125
+ enum:
1126
+ - OK
1127
+ - DOWN
1128
+ MerchantClassificationCode:
1129
+ title: MerchantClassificationCode
1130
+ pattern: ^[\d]{1,4}$
1131
+ type: string
1132
+ description: A limited set of pre-defined numbers. This list would be a limited
1133
+ set of numbers identifying a set of popular merchant types like School Fees,
1134
+ Pubs and Restaurants, Groceries, etc.
1135
+ PartyIdType:
1136
+ title: PartyIdTypeEnum
1137
+ type: string
1138
+ description: Below are the allowed values for the enumeration - MSISDN An MSISDN
1139
+ (Mobile Station International Subscriber Directory Number, that is, the phone
1140
+ number) is used as reference to a participant. The MSISDN identifier should
1141
+ be in international format according to the ITU-T E.164 standard. Optionally,
1142
+ the MSISDN may be prefixed by a single plus sign, indicating the international
1143
+ prefix. - EMAIL An email is used as reference to a participant. The format
1144
+ of the email should be according to the informational RFC 3696. - PERSONAL_ID
1145
+ A personal identifier is used as reference to a participant. Examples of personal
1146
+ identification are passport number, birth certificate number, and national
1147
+ registration number. The identifier number is added in the PartyIdentifier
1148
+ element. The personal identifier type is added in the PartySubIdOrType element.
1149
+ - BUSINESS A specific Business (for example, an organization or a company)
1150
+ is used as reference to a participant. The BUSINESS identifier can be in any
1151
+ format. To make a transaction connected to a specific username or bill number
1152
+ in a Business, the PartySubIdOrType element should be used. - DEVICE A specific
1153
+ device (for example, a POS or ATM) ID connected to a specific business or
1154
+ organization is used as reference to a Party. For referencing a specific device
1155
+ under a specific business or organization, use the PartySubIdOrType element.
1156
+ - ACCOUNT_ID A bank account number or FSP account ID should be used as reference
1157
+ to a participant. The ACCOUNT_ID identifier can be in any format, as formats
1158
+ can greatly differ depending on country and FSP. - IBAN A bank account number
1159
+ or FSP account ID is used as reference to a participant. The IBAN identifier
1160
+ can consist of up to 34 alphanumeric characters and should be entered without
1161
+ whitespace. - ALIAS An alias is used as reference to a participant. The alias
1162
+ should be created in the FSP as an alternative reference to an account owner.
1163
+ Another example of an alias is a username in the FSP system. The ALIAS identifier
1164
+ can be in any format. It is also possible to use the PartySubIdOrType element
1165
+ for identifying an account under an Alias defined by the PartyIdentifier.
1166
+ enum:
1167
+ - MSISDN
1168
+ - EMAIL
1169
+ - PERSONAL_ID
1170
+ - BUSINESS
1171
+ - DEVICE
1172
+ - ACCOUNT_ID
1173
+ - IBAN
1174
+ - ALIAS
1175
+ ErrorInformation:
1176
+ title: ErrorInformation
1177
+ required:
1178
+ - errorCode
1179
+ - errorDescription
1180
+ type: object
1181
+ properties:
1182
+ errorCode:
1183
+ $ref: '#/components/schemas/ErrorCode'
1184
+ errorDescription:
1185
+ $ref: '#/components/schemas/ErrorDescription'
1186
+ extensionList:
1187
+ $ref: '#/components/schemas/ExtensionList'
1188
+ description: Data model for the complex type ErrorInformation.
1189
+ ErrorInformationObject:
1190
+ title: ErrorInformationObject
1191
+ required:
1192
+ - errorInformation
1193
+ type: object
1194
+ properties:
1195
+ errorInformation:
1196
+ $ref: '#/components/schemas/ErrorInformation'
1197
+ description: Data model for the complex type object that contains ErrorInformation.
1198
+ ErrorInformationResponse:
1199
+ title: ErrorInformationResponse
1200
+ type: object
1201
+ properties:
1202
+ errorInformation:
1203
+ $ref: '#/components/schemas/ErrorInformation'
1204
+ description: Data model for the complex type object that contains an optional
1205
+ element ErrorInformation used along with 4xx and 5xx responses.
1206
+ Extension:
1207
+ title: Extension
1208
+ required:
1209
+ - key
1210
+ - value
1211
+ type: object
1212
+ properties:
1213
+ key:
1214
+ $ref: '#/components/schemas/ExtensionKey'
1215
+ value:
1216
+ $ref: '#/components/schemas/ExtensionValue'
1217
+ description: Data model for the complex type Extension
1218
+ ExtensionList:
1219
+ title: ExtensionList
1220
+ required:
1221
+ - extension
1222
+ type: object
1223
+ properties:
1224
+ extension:
1225
+ maxItems: 16
1226
+ minItems: 1
1227
+ type: array
1228
+ description: Number of Extension elements
1229
+ items:
1230
+ $ref: '#/components/schemas/Extension'
1231
+ description: Data model for the complex type ExtensionList
1232
+ FirstName:
1233
+ title: FirstName
1234
+ maxLength: 128
1235
+ minLength: 1
1236
+ pattern: '^(?!\s*$)[\p{L}\p{gc=Mark}\p{digit}\p{gc=Connector_Punctuation}\p{Join_Control} .,''-]{1,128}$'
1237
+ type: string
1238
+ description: First name of the Party (Name Type).
1239
+ HealthServicesType:
1240
+ title: HealthServicesType
1241
+ type: object
1242
+ properties:
1243
+ name:
1244
+ type: string
1245
+ status:
1246
+ $ref: '#/components/schemas/HealthStatusType'
1247
+ description: Data model for the complex type HealthServicesType. Contains health
1248
+ services information.
1249
+ LastName:
1250
+ title: LastName
1251
+ maxLength: 128
1252
+ minLength: 1
1253
+ pattern: '^(?!\s*$)[\p{L}\p{gc=Mark}\p{digit}\p{gc=Connector_Punctuation}\p{Join_Control} .,''-]{1,128}$'
1254
+ type: string
1255
+ description: Last name of the Party (Name Type).
1256
+ MiddleName:
1257
+ title: MiddleName
1258
+ maxLength: 128
1259
+ minLength: 1
1260
+ pattern: '^(?!\s*$)[\p{L}\p{gc=Mark}\p{digit}\p{gc=Connector_Punctuation}\p{Join_Control} .,''-]{1,128}$'
1261
+ type: string
1262
+ description: Middle name of the Party (Name Type).
1263
+ ParticipantsTypeIDSubIDPostRequest:
1264
+ title: ParticipantsTypeIDSubIDPostRequest
1265
+ required:
1266
+ - fspId
1267
+ type: object
1268
+ properties:
1269
+ fspId:
1270
+ $ref: '#/components/schemas/FspId'
1271
+ currency:
1272
+ $ref: '#/components/schemas/Currency'
1273
+ extensionList:
1274
+ $ref: '#/components/schemas/ExtensionList'
1275
+ description: POST /participants/{Type}/{ID}/{SubId}, /participants/{Type}/{ID}
1276
+ object
1277
+ ParticipantsTypeIDPutResponse:
1278
+ title: ParticipantsTypeIDPutResponse
1279
+ type: object
1280
+ properties:
1281
+ fspId:
1282
+ $ref: '#/components/schemas/FspId'
1283
+ description: PUT /participants/{Type}/{ID}/{SubId}, /participants/{Type}/{ID}
1284
+ object
1285
+ ParticipantsIDPutResponse:
1286
+ title: ParticipantsIDPutResponse
1287
+ required:
1288
+ - partyList
1289
+ type: object
1290
+ properties:
1291
+ partyList:
1292
+ maxItems: 10000
1293
+ minItems: 1
1294
+ type: array
1295
+ description: List of PartyResult elements that were either created or failed
1296
+ to be created.
1297
+ items:
1298
+ $ref: '#/components/schemas/PartyResult'
1299
+ currency:
1300
+ $ref: '#/components/schemas/Currency'
1301
+ description: PUT /participants/{ID} object
1302
+ ParticipantsPostRequest:
1303
+ title: ParticipantsPostRequest
1304
+ required:
1305
+ - partyList
1306
+ - requestId
1307
+ type: object
1308
+ properties:
1309
+ requestId:
1310
+ $ref: '#/components/schemas/CorrelationId'
1311
+ partyList:
1312
+ maxItems: 10000
1313
+ minItems: 1
1314
+ type: array
1315
+ description: List of PartyIdInfo elements that the client would like to
1316
+ update or create FSP information about.
1317
+ items:
1318
+ $ref: '#/components/schemas/PartyIdInfo'
1319
+ currency:
1320
+ $ref: '#/components/schemas/Currency'
1321
+ description: POST /participants object
1322
+ Party:
1323
+ title: Party
1324
+ required:
1325
+ - partyIdInfo
1326
+ type: object
1327
+ properties:
1328
+ partyIdInfo:
1329
+ $ref: '#/components/schemas/PartyIdInfo'
1330
+ merchantClassificationCode:
1331
+ $ref: '#/components/schemas/MerchantClassificationCode'
1332
+ name:
1333
+ $ref: '#/components/schemas/PartyName'
1334
+ personalInfo:
1335
+ $ref: '#/components/schemas/PartyPersonalInfo'
1336
+ description: Data model for the complex type Party.
1337
+ PartyComplexName:
1338
+ title: PartyComplexName
1339
+ type: object
1340
+ properties:
1341
+ firstName:
1342
+ $ref: '#/components/schemas/FirstName'
1343
+ middleName:
1344
+ $ref: '#/components/schemas/MiddleName'
1345
+ lastName:
1346
+ $ref: '#/components/schemas/LastName'
1347
+ description: Data model for the complex type PartyComplexName.
1348
+ PartyIdInfo:
1349
+ title: PartyIdInfo
1350
+ required:
1351
+ - partyIdType
1352
+ - partyIdentifier
1353
+ type: object
1354
+ properties:
1355
+ partyIdType:
1356
+ $ref: '#/components/schemas/PartyIdType'
1357
+ partyIdentifier:
1358
+ $ref: '#/components/schemas/PartyIdentifier'
1359
+ partySubIdOrType:
1360
+ $ref: '#/components/schemas/PartySubIdOrType'
1361
+ fspId:
1362
+ $ref: '#/components/schemas/FspId'
1363
+ extensionList:
1364
+ $ref: '#/components/schemas/ExtensionList'
1365
+ description: Data model for the complex type PartyIdInfo.
1366
+ PartyIdentifier:
1367
+ title: PartyIdentifier
1368
+ maxLength: 128
1369
+ minLength: 1
1370
+ type: string
1371
+ description: Identifier of the Party.
1372
+ PartyName:
1373
+ title: PartyName
1374
+ maxLength: 128
1375
+ minLength: 1
1376
+ type: string
1377
+ description: Name of the Party. Could be a real name or a nickname.
1378
+ PartySubIdOrType:
1379
+ title: PartySubIdOrType
1380
+ maxLength: 128
1381
+ minLength: 1
1382
+ type: string
1383
+ description: Either a sub-identifier of a PartyIdentifier, or a sub-type of
1384
+ the PartyIdType, normally a PersonalIdentifierType.
1385
+ PartiesTypeIDPutResponse:
1386
+ title: PartiesTypeIDPutResponse
1387
+ required:
1388
+ - party
1389
+ type: object
1390
+ properties:
1391
+ party:
1392
+ $ref: '#/components/schemas/Party'
1393
+ description: PUT /parties/{Type}/{ID} object
1394
+ PartyPersonalInfo:
1395
+ title: PartyPersonalInfo
1396
+ type: object
1397
+ properties:
1398
+ complexName:
1399
+ $ref: '#/components/schemas/PartyComplexName'
1400
+ dateOfBirth:
1401
+ $ref: '#/components/schemas/DateOfBirth'
1402
+ description: Data model for the complex type PartyPersonalInfo.
1403
+ PartyResult:
1404
+ title: PartyResult
1405
+ required:
1406
+ - partyId
1407
+ type: object
1408
+ properties:
1409
+ partyId:
1410
+ $ref: '#/components/schemas/PartyIdInfo'
1411
+ errorInformation:
1412
+ $ref: '#/components/schemas/ErrorInformation'
1413
+ description: Data model for the complex type PartyResult.
1414
+ Status:
1415
+ title: Status
1416
+ type: object
1417
+ properties:
1418
+ status:
1419
+ type: string
1420
+ description: The return status, usually "OK"
1421
+ uptime:
1422
+ type: number
1423
+ description: The amount of time in seconds that the server has been up for.
1424
+ startTime:
1425
+ type: string
1426
+ description: The UTC time that the server started up
1427
+ versionNumber:
1428
+ type: string
1429
+ description: Current version of the API
1430
+ services:
1431
+ type: array
1432
+ description: An list of the statuses of services that the API requires
1433
+ items:
1434
+ $ref: '#/components/schemas/HealthServicesType'
1435
+ description: Data model for the api status.
1436
+ responses:
1437
+ ErrorResponse400:
1438
+ description: Bad Request - The application cannot process the request; for example,
1439
+ due to malformed syntax or the payload exceeded size restrictions.
1440
+ headers:
1441
+ Content-Length:
1442
+ description: The Content-Length header field indicates the anticipated size
1443
+ of the payload body. Only sent if there is a body.
1444
+ schema:
1445
+ type: integer
1446
+ Content-Type:
1447
+ description: The Content-Type header indicates the specific version of the
1448
+ API used to send the payload body.
1449
+ schema:
1450
+ type: string
1451
+ content:
1452
+ application/json:
1453
+ schema:
1454
+ $ref: '#/components/schemas/ErrorInformationResponse'
1455
+ ErrorResponse401:
1456
+ description: Unauthorized - The request requires authentication in order to
1457
+ be processed.
1458
+ headers:
1459
+ Content-Length:
1460
+ description: The Content-Length header field indicates the anticipated size
1461
+ of the payload body. Only sent if there is a body.
1462
+ schema:
1463
+ type: integer
1464
+ Content-Type:
1465
+ description: The Content-Type header indicates the specific version of the
1466
+ API used to send the payload body.
1467
+ schema:
1468
+ type: string
1469
+ content:
1470
+ application/json:
1471
+ schema:
1472
+ $ref: '#/components/schemas/ErrorInformationResponse'
1473
+ ErrorResponse403:
1474
+ description: Forbidden - The request was denied and will be denied in the future.
1475
+ headers:
1476
+ Content-Length:
1477
+ description: The Content-Length header field indicates the anticipated size
1478
+ of the payload body. Only sent if there is a body.
1479
+ schema:
1480
+ type: integer
1481
+ Content-Type:
1482
+ description: The Content-Type header indicates the specific version of the
1483
+ API used to send the payload body.
1484
+ schema:
1485
+ type: string
1486
+ content:
1487
+ application/json:
1488
+ schema:
1489
+ $ref: '#/components/schemas/ErrorInformationResponse'
1490
+ ErrorResponse404:
1491
+ description: Not Found - The resource specified in the URI was not found.
1492
+ headers:
1493
+ Content-Length:
1494
+ description: The Content-Length header field indicates the anticipated size
1495
+ of the payload body. Only sent if there is a body.
1496
+ schema:
1497
+ type: integer
1498
+ Content-Type:
1499
+ description: The Content-Type header indicates the specific version of the
1500
+ API used to send the payload body.
1501
+ schema:
1502
+ type: string
1503
+ content:
1504
+ application/json:
1505
+ schema:
1506
+ $ref: '#/components/schemas/ErrorInformationResponse'
1507
+ ErrorResponse405:
1508
+ description: Method Not Allowed - An unsupported HTTP method for the request
1509
+ was used.
1510
+ headers:
1511
+ Content-Length:
1512
+ description: The Content-Length header field indicates the anticipated size
1513
+ of the payload body. Only sent if there is a body.
1514
+ schema:
1515
+ type: integer
1516
+ Content-Type:
1517
+ description: The Content-Type header indicates the specific version of the
1518
+ API used to send the payload body.
1519
+ schema:
1520
+ type: string
1521
+ content:
1522
+ application/json:
1523
+ schema:
1524
+ $ref: '#/components/schemas/ErrorInformationResponse'
1525
+ ErrorResponse406:
1526
+ description: Not acceptable - The server is not capable of generating content
1527
+ according to the Accept headers sent in the request. Used in the API to indicate
1528
+ that the server does not support the version that the client is requesting.
1529
+ headers:
1530
+ Content-Length:
1531
+ description: The Content-Length header field indicates the anticipated size
1532
+ of the payload body. Only sent if there is a body.
1533
+ schema:
1534
+ type: integer
1535
+ Content-Type:
1536
+ description: The Content-Type header indicates the specific version of the
1537
+ API used to send the payload body.
1538
+ schema:
1539
+ type: string
1540
+ content:
1541
+ application/json:
1542
+ schema:
1543
+ $ref: '#/components/schemas/ErrorInformationResponse'
1544
+ ErrorResponse501:
1545
+ description: Not Implemented - The server does not support the requested service.
1546
+ The client should not retry.
1547
+ headers:
1548
+ Content-Length:
1549
+ description: The Content-Length header field indicates the anticipated size
1550
+ of the payload body. Only sent if there is a body.
1551
+ schema:
1552
+ type: integer
1553
+ Content-Type:
1554
+ description: The Content-Type header indicates the specific version of the
1555
+ API used to send the payload body.
1556
+ schema:
1557
+ type: string
1558
+ content:
1559
+ application/json:
1560
+ schema:
1561
+ $ref: '#/components/schemas/ErrorInformationResponse'
1562
+ ErrorResponse503:
1563
+ description: Service Unavailable - The server is currently unavailable to accept
1564
+ any new service requests. This should be a temporary state, and the client
1565
+ should retry within a reasonable time frame.
1566
+ headers:
1567
+ Content-Length:
1568
+ description: The Content-Length header field indicates the anticipated size
1569
+ of the payload body. Only sent if there is a body.
1570
+ schema:
1571
+ type: integer
1572
+ Content-Type:
1573
+ description: The Content-Type header indicates the specific version of the
1574
+ API used to send the payload body.
1575
+ schema:
1576
+ type: string
1577
+ content:
1578
+ application/json:
1579
+ schema:
1580
+ $ref: '#/components/schemas/ErrorInformationResponse'
1581
+ Response200:
1582
+ description: OK
1583
+ content: {}
1584
+ Response202:
1585
+ description: Accepted
1586
+ content: {}
1587
+ ResponseHealth200:
1588
+ description: OK
1589
+ content:
1590
+ application/json:
1591
+ schema:
1592
+ $ref: '#/components/schemas/Status'
1593
+ parameters:
1594
+ Accept:
1595
+ name: accept
1596
+ in: header
1597
+ description: The Accept header field indicates the version of the API the client
1598
+ would like the server to use.
1599
+ required: true
1600
+ schema:
1601
+ type: string
1602
+ Accept-Optional:
1603
+ name: accept
1604
+ in: header
1605
+ description: The Accept header field indicates the version of the API the client
1606
+ would like the server to use.
1607
+ schema:
1608
+ type: string
1609
+ Content-Length:
1610
+ name: content-length
1611
+ in: header
1612
+ description: The Content-Length header field indicates the anticipated size
1613
+ of the payload body. Only sent if there is a body. Note - The API supports
1614
+ a maximum size of 5242880 bytes (5 Megabytes)
1615
+ schema:
1616
+ type: integer
1617
+ Content-Type:
1618
+ name: content-type
1619
+ in: header
1620
+ description: The Content-Type header indicates the specific version of the API
1621
+ used to send the payload body.
1622
+ required: true
1623
+ schema:
1624
+ type: string
1625
+ Date:
1626
+ name: date
1627
+ in: header
1628
+ description: The Date header field indicates the date when the request was sent.
1629
+ required: true
1630
+ schema:
1631
+ type: string
1632
+ X-Forwarded-For:
1633
+ name: x-forwarded-for
1634
+ in: header
1635
+ description: The X-Forwarded-For header field is an unofficially accepted standard
1636
+ used for informational purposes of the originating client IP address, as a
1637
+ request might pass multiple proxies, firewalls, and so on. Multiple X-Forwarded-For
1638
+ values as in the example shown here should be expected and supported by implementers
1639
+ of the API. Note - An alternative to X-Forwarded-For is defined in RFC 7239.
1640
+ However, to this point RFC 7239 is less-used and supported than X-Forwarded-For.
1641
+ schema:
1642
+ type: string
1643
+ FSPIOP-Source:
1644
+ name: fspiop-source
1645
+ in: header
1646
+ description: The FSPIOP-Source header field is a non-HTTP standard field used
1647
+ by the API for identifying the sender of the HTTP request. The field should
1648
+ be set by the original sender of the request. Required for routing and signature
1649
+ verification (see header field FSPIOP-Signature).
1650
+ required: true
1651
+ schema:
1652
+ $ref: '#/components/schemas/FspId'
1653
+ FSPIOP-Destination-Required:
1654
+ name: fspiop-destination
1655
+ in: header
1656
+ description: The FSPIOP-Destination header field is a non-HTTP standard field
1657
+ used by the API for HTTP header based routing of requests and responses to
1658
+ the destination. The field should be set by the original sender of the request
1659
+ (if known), so that any entities between the client and the server do not
1660
+ need to parse the payload for routing purposes.
1661
+ required: true
1662
+ schema:
1663
+ $ref: '#/components/schemas/FspId'
1664
+ FSPIOP-Destination-Optional:
1665
+ name: fspiop-destination
1666
+ in: header
1667
+ description: The FSPIOP-Destination header field is a non-HTTP standard field
1668
+ used by the API for HTTP header based routing of requests and responses to
1669
+ the destination. The field should be set by the original sender of the request
1670
+ (if known), so that any entities between the client and the server do not
1671
+ need to parse the payload for routing purposes.
1672
+ schema:
1673
+ $ref: '#/components/schemas/FspId'
1674
+ FSPIOP-Encryption:
1675
+ name: fspiop-encryption
1676
+ in: header
1677
+ description: The FSPIOP-Encryption header field is a non-HTTP standard field
1678
+ used by the API for applying end-to-end encryption of the request.
1679
+ schema:
1680
+ type: string
1681
+ FSPIOP-Signature:
1682
+ name: fspiop-signature
1683
+ in: header
1684
+ description: The FSPIOP-Signature header field is a non-HTTP standard field
1685
+ used by the API for applying an end-to-end request signature.
1686
+ schema:
1687
+ type: string
1688
+ FSPIOP-URI:
1689
+ name: fspiop-uri
1690
+ in: header
1691
+ description: The FSPIOP-URI header field is a non-HTTP standard field used by
1692
+ the API for signature verification, should contain the service URI. Required
1693
+ if signature verification is used, for more information see API Signature
1694
+ document.
1695
+ schema:
1696
+ type: string
1697
+ FSPIOP-HTTP-Method:
1698
+ name: fspiop-http-method
1699
+ in: header
1700
+ description: The FSPIOP-HTTP-Method header field is a non-HTTP standard field
1701
+ used by the API for signature verification, should contain the service HTTP
1702
+ method. Required if signature verification is used, for more information see
1703
+ API Signature document.
1704
+ schema:
1705
+ type: string
1706
+ ID:
1707
+ name: ID
1708
+ in: path
1709
+ required: true
1710
+ schema:
1711
+ maxLength: 128
1712
+ minLength: 1
1713
+ type: string
1714
+ Type:
1715
+ name: Type
1716
+ in: path
1717
+ required: true
1718
+ schema:
1719
+ type: string
1720
+ enum:
1721
+ - MSISDN
1722
+ - EMAIL
1723
+ - PERSONAL_ID
1724
+ - BUSINESS
1725
+ - DEVICE
1726
+ - ACCOUNT_ID
1727
+ - IBAN
1728
+ - ALIAS
1729
+ SubId:
1730
+ name: SubId
1731
+ in: path
1732
+ required: true
1733
+ schema:
1734
+ type: string