Update SEPA TIS Specs authored by Konrad Botor's avatar Konrad Botor
...@@ -108,99 +108,53 @@ definitions: ...@@ -108,99 +108,53 @@ definitions:
PaymentRequestParams: PaymentRequestParams:
type: object type: object
required: required:
- doc_id - header
- type - payment_data
- date_time
- priority
- bussiness_area
- date
- mtd
- prtry
- instr_id
- end_to_end_id
- cd
- amount
- currency
- tx_id
- chrg_br - chrg_br
- creditor
- debtor
properties: properties:
doc_id: header:
type: string $ref: '#/definitions/DocumentHeader'
example: D118091001045732 payment_data:
type: $ref: '#/definitions/PaymentData'
type: string
example: FFCCTRNS
date_time:
type: string
format: date-time
priority:
type: integer
example: 51
bussiness_area:
type: string
example: SEAPSCT
date:
type: string
format: date
mtd:
type: string
example: CLRG
prtry:
type: string
example: LITAS-MIG
instr_id:
type: string
example: D118091001048175
end_to_end_id:
type: string
example: NOTPROVIDED
cd:
type: string
example: SEPA
amount:
type: number
format: double
example: 13.31
currency:
type: string
example: EUR
tx_id:
type: string
example: 8e7070743da24402a7fc290bc62fbcd0
chrg_br: chrg_br:
type: string type: string
example: SLEV example: SLEV
creditor:
$ref: '#/definitions/Participant'
debtor:
$ref: '#/definitions/Participant'
PaymentReturnRequestParams: PaymentReturnRequestParams:
type: object type: object
required: required:
- doc_id - header
- type
- date_time
- priority
- bussiness_area
- assignment_id
- assigner_bic - assigner_bic
- assignee_bic - assignee_bic
- cancellation_id - cancellation_id
- original_message_id - payment_data
- 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 - cancellation_reason
- cancelling_party - cancelling_party
properties:
header:
$ref: '#/definitions/DocumentHeader'
assigner_bic:
type: string
example: PCTULT21XXX
assignee_bic:
type: string
example: LIABLT2XMSD
cancellation_id:
type: string
example: D118100301085772
cancelling_party:
$ref: '#/definitions/CancellingParty'
cancellation_reason:
$ref: '#/definitions/CancellationReason'
payment_data:
$ref: '#/definitions/PaymentData'
DocumentHeader:
type: object
required:
- doc_id
- type
- date_time
- priority
- business_area
properties: properties:
doc_id: doc_id:
type: string type: string
...@@ -214,57 +168,56 @@ definitions: ...@@ -214,57 +168,56 @@ definitions:
priority: priority:
type: integer type: integer
example: 51 example: 51
bussiness_area: business_area:
type: string type: string
example: SEAPSCT example: SEAPSCT
assignment_id: PaymentData:
type: string type: object
example: Cx00003 required:
assigner_bic: - instr_id
type: string - end_to_end_id
example: PCTULT21XXX - tx_id
assignee_bic: - amount
type: string - currency
example: LIABLT2XMSD - date
cancellation_id: - mtd
type: string - prty
example: Cx00003 - cd
original_message_id: - debtor
- creditor
properties:
instr_id:
type: string type: string
example: D118091001045732 example: D118091001048175
original_end_to_end_id: end_to_end_id:
type: string type: string
example: NOTPROVIDED example: NOTPROVIDED
original_tx_id: tx_id:
type: string type: string
example: 3 example: 8e7070743da24402a7fc290bc62fbcd0
original_amount: amount:
type: number type: number
format: double format: double
example: 13.31 example: 13.31
original_currency: currency:
type: string type: string
example: EUR example: EUR
original_date: date:
type: string type: string
format: date format: date
cancelling_party: mtd:
$ref: '#/definitions/CancellingParty'
cancellation_reason:
$ref: '#/definitions/CancellationReason'
original_transfer_mtd:
type: string type: string
example: CLRG example: CLRG
original_transfer_prtry: prtry:
type: string type: string
example: LITAS-MIG example: LITAS-MIG
original_transfer_cd: cd:
type: string type: string
example: SEPA example: SEPA
creditor:
$ref: '#/definitions/Participant'
debtor: debtor:
$ref: '#/definitions/Participant' $ref: '#/definitions/Participant'
creditor:
$ref: '#/definitions/Participant'
CancellingParty: CancellingParty:
type: object type: object
properties: properties:
... ...
......