Changes
Page history
Update SEPA TIS Specs
authored
Oct 02, 2018
by
Konrad Botor
Show whitespace changes
Inline
Side-by-side
Architecture/SEPA-TIS-Specs.md
View page @
68490032
...
@@ -8,25 +8,21 @@ info:
...
@@ -8,25 +8,21 @@ info:
description
:
API for TIS connection to DIS in SEPA connector project
description
:
API for TIS connection to DIS in SEPA connector project
version
:
1.0.0
version
:
1.0.0
title
:
SEPA-TIS
title
:
SEPA-TIS
# put the contact info for your development or API team
contact
:
contact
:
email
:
kbotor@syncad.com
email
:
kbotor@syncad.com
# tags are used for organizing operations
tags
:
tags
:
-
name
:
input
-
name
:
input
description
:
Endpoints for mesages incoming from bank
description
:
Endpoints for mesages incoming from bank
-
name
:
output
-
name
:
output
description
:
Endpoints for messages outgoing to bank
description
:
Endpoints for messages outgoing to bank
paths
:
paths
:
/paymentrequest
:
/payment
-
request
:
post
:
post
:
tags
:
tags
:
-
output
-
output
summary
:
s
ends payment request to bank
summary
:
S
ends payment request to bank
operationId
:
paymentRequest
operationId
:
paymentRequest
description
:
Sends ayment request to bank
description
:
Sends
p
ayment request to bank
consumes
:
consumes
:
-
application/json
-
application/json
produces
:
produces
:
...
@@ -38,7 +34,29 @@ paths:
...
@@ -38,7 +34,29 @@ paths:
schema
:
schema
:
$ref
:
'
#/definitions/PaymentRequest'
$ref
:
'
#/definitions/PaymentRequest'
responses
:
responses
:
200
:
'
200'
:
description
:
ALways HTTP code
200
schema
:
$ref
:
'
#/definitions/Response'
/payment-return-request
:
post
:
tags
:
-
output
summary
:
Sends payment return request to bank
operationId
:
paymentReturnRequest
description
:
Sends payment return request to bank
consumes
:
-
application/json
produces
:
-
application/json
parameters
:
-
in
:
body
name
:
paymentReturnRequest
description
:
Payment requet to send
schema
:
$ref
:
'
#/definitions/PaymentReturnRequest'
responses
:
'
200'
:
description
:
ALways HTTP code
200
description
:
ALways HTTP code
200
schema
:
schema
:
$ref
:
'
#/definitions/Response'
$ref
:
'
#/definitions/Response'
...
@@ -54,7 +72,7 @@ definitions:
...
@@ -54,7 +72,7 @@ definitions:
jsonrpc
:
jsonrpc
:
type
:
number
type
:
number
format
:
double
format
:
double
example
:
1
.0
example
:
1
id
:
id
:
type
:
integer
type
:
integer
example
:
1
example
:
1
...
@@ -65,6 +83,28 @@ definitions:
...
@@ -65,6 +83,28 @@ definitions:
type
:
array
type
:
array
items
:
items
:
$ref
:
'
#/definitions/PaymentRequestParams'
$ref
:
'
#/definitions/PaymentRequestParams'
PaymentReturnRequest
:
type
:
object
required
:
-
jsonrpc
-
id
-
method
-
params
properties
:
jsonrpc
:
type
:
number
format
:
double
example
:
1
id
:
type
:
integer
example
:
1
method
:
type
:
string
example
:
ffcctrns
params
:
type
:
array
items
:
$ref
:
'
#/definitions/PaymentReturnRequestParams'
PaymentRequestParams
:
PaymentRequestParams
:
type
:
object
type
:
object
required
:
required
:
...
@@ -136,6 +176,113 @@ definitions:
...
@@ -136,6 +176,113 @@ definitions:
$ref
:
'
#/definitions/Participant'
$ref
:
'
#/definitions/Participant'
debtor
:
debtor
:
$ref
:
'
#/definitions/Participant'
$ref
:
'
#/definitions/Participant'
PaymentReturnRequestParams
:
type
:
object
required
:
-
doc_id
-
type
-
date_time
-
priority
-
bussiness_area
-
assignment_id
-
assigner_bic
-
assignee_bic
-
cancellation_id
-
original_message_id
-
original_end_to_end_id
-
original_amount
-
original_currency
-
original_date
-
original_transfer_mtd
-
original_transfer_prtry
-
original_transfer_cd
-
original_tx_id
-
creditor
-
debtor
-
cancellation_reason
-
cancelling_party
properties
:
doc_id
:
type
:
string
example
:
D118091001045732
type
:
type
:
string
example
:
FFCCTRNS
date_time
:
type
:
string
format
:
date-time
priority
:
type
:
integer
example
:
51
bussiness_area
:
type
:
string
example
:
SEAPSCT
assignment_id
:
type
:
string
example
:
Cx00003
assigner_bic
:
type
:
string
example
:
PCTULT21XXX
assignee_bic
:
type
:
string
example
:
LIABLT2XMSD
cancellation_id
:
type
:
string
example
:
Cx00003
original_message_id
:
type
:
string
example
:
D118091001045732
original_end_to_end_id
:
type
:
string
example
:
NOTPROVIDED
original_tx_id
:
type
:
string
example
:
3
original_amount
:
type
:
number
format
:
double
example
:
13.31
original_currency
:
type
:
string
example
:
EUR
original_date
:
type
:
string
format
:
date
cancelling_party
:
$ref
:
'
#/definitions/CancellingParty'
cancellation_reason
:
$ref
:
'
#/definitions/CancellationReason'
original_transfer_mtd
:
type
:
string
example
:
CLRG
original_transfer_prtry
:
type
:
string
example
:
LITAS-MIG
original_transfer_cd
:
type
:
string
example
:
SEPA
creditor
:
$ref
:
'
#/definitions/Participant'
debtor
:
$ref
:
'
#/definitions/Participant'
CancellingParty
:
type
:
object
properties
:
customer_name
:
type
:
string
example
:
Dan Notestein or PCTULT21XXX
bank_bic
:
type
:
string
example
:
PCTULT21XXX
CancellationReason
:
type
:
object
properties
:
iso_code
:
type
:
string
example
:
DUPL
code
:
type
:
string
example
:
FRAD or TECH
Participant
:
Participant
:
type
:
object
type
:
object
required
:
required
:
...
@@ -195,7 +342,6 @@ definitions:
...
@@ -195,7 +342,6 @@ definitions:
message
:
message
:
type
:
string
type
:
string
example
:
Document with given ID already exists
example
:
Document with given ID already exists
# Added by API Auto Mocking Plugin
host
:
localhost
host
:
localhost
basePath
:
/
basePath
:
/
schemes
:
schemes
:
...
...
...
...