Update SEPA TIS Specs authored by Konrad Botor's avatar Konrad Botor
...@@ -25,7 +25,7 @@ paths: ...@@ -25,7 +25,7 @@ paths:
description: Sends payment request to bank description: Sends payment request to bank
responses: responses:
'200': '200':
description: ALways HTTP code 200 description: Always HTTP code 200
content: content:
application/json: application/json:
schema: schema:
...@@ -45,7 +45,7 @@ paths: ...@@ -45,7 +45,7 @@ paths:
description: Sends payment return request to bank description: Sends payment return request to bank
responses: responses:
'200': '200':
description: ALways HTTP code 200 description: Always HTTP code 200
content: content:
application/json: application/json:
schema: schema:
...@@ -65,7 +65,7 @@ paths: ...@@ -65,7 +65,7 @@ paths:
description: Sends payment return to bank description: Sends payment return to bank
responses: responses:
'200': '200':
description: ALways HTTP code 200 description: Always HTTP code 200
content: content:
application/json: application/json:
schema: schema:
...@@ -85,7 +85,7 @@ paths: ...@@ -85,7 +85,7 @@ paths:
description: Sends resolution of investigation to bank description: Sends resolution of investigation to bank
responses: responses:
'200': '200':
description: ALways HTTP code 200 description: Always HTTP code 200
content: content:
application/json: application/json:
schema: schema:
...@@ -100,12 +100,14 @@ paths: ...@@ -100,12 +100,14 @@ paths:
post: post:
tags: tags:
- input - input
summary: Checks for new mesages from bank summary: Checks for new messages from bank
operationId: nextMessage operationId: nextMessage
description: Checks for new mesages from bank description: >-
Checks for new messages from bank. Returns the next new message (in
field result/document) if present or null if none is available.
responses: responses:
'200': '200':
description: ALways HTTP code 200 description: Always HTTP code 200
content: content:
application/json: application/json:
schema: schema:
...@@ -123,7 +125,7 @@ paths: ...@@ -123,7 +125,7 @@ paths:
summary: Sends message processing result from TIS to DIS summary: Sends message processing result from TIS to DIS
operationId: processingResult operationId: processingResult
description: >- description: >-
Sends message processing result from TIS to DIS. If the result is Sends message processing result from TIS to DIS. If the result is
COMPLETED, document with given ID and type has status set to PROCESSED, COMPLETED, document with given ID and type has status set to PROCESSED,
otherwise its status is set to FOR_RESENDING and error count incremented otherwise its status is set to FOR_RESENDING and error count incremented
by one. If the error count is greater than 3, the status is set to by one. If the error count is greater than 3, the status is set to
...@@ -337,7 +339,7 @@ components: ...@@ -337,7 +339,7 @@ components:
method: method:
type: string type: string
enum: enum:
- nextmsg - prcsres
description: Method name description: Method name
example: prcsres example: prcsres
params: params:
... ...
......