{"allOf":[{"description":"Base type for all commands in the system","allOf":[{"type":"object","description":"Base message type that all commands and events inherit from","required":["id"],"properties":{"id":{"type":"string","description":"Unique identifier for the message, typically a UUID","default":"UUID generated string","x-parser-schema-id":"<anonymous-schema-2>"}},"x-parser-schema-id":"Message"}],"x-parser-schema-id":"Command"},{"type":"object","description":"Command to initiate settlement process for a payment","required":["paymentId","debtorName","debtorAccount","creditorName","creditorAccount","instructedAmount"],"properties":{"paymentId":{"type":"string","format":"uuid","description":"Payment unique identifier in version 4 UUID format","x-parser-schema-id":"<anonymous-schema-43>"},"debtorName":{"type":"string","description":"Name of the debtor","x-parser-schema-id":"<anonymous-schema-44>"},"debtorAccount":{"type":"object","description":"Contains account details used in the settlement process","required":["iban"],"properties":{"iban":{"type":"string","description":"International Bank Account Number of the account","x-parser-schema-id":"<anonymous-schema-45>"},"currency":{"type":"string","description":"Account currency in ISO 4217 format","x-parser-schema-id":"<anonymous-schema-46>"}},"x-parser-schema-id":"SettlementAccount"},"debtorAddress":{"type":"object","description":"Contains the address details","properties":{"streetName":{"type":"string","description":"Street name","x-parser-schema-id":"<anonymous-schema-47>"},"buildingNumber":{"type":"string","description":"Building number","x-parser-schema-id":"<anonymous-schema-48>"},"buildingName":{"type":"string","description":"Building name","x-parser-schema-id":"<anonymous-schema-49>"},"floor":{"type":"string","description":"Floor number","x-parser-schema-id":"<anonymous-schema-50>"},"postBox":{"type":"string","description":"Post box","x-parser-schema-id":"<anonymous-schema-51>"},"suite":{"type":"string","description":"Suite number","x-parser-schema-id":"<anonymous-schema-52>"},"postCode":{"type":"string","description":"Postal code","x-parser-schema-id":"<anonymous-schema-53>"},"townName":{"type":"string","description":"Name of the town","x-parser-schema-id":"<anonymous-schema-54>"},"townLocationName":{"type":"string","description":"Location name of the town","x-parser-schema-id":"<anonymous-schema-55>"},"districtName":{"type":"string","description":"Name of the district","x-parser-schema-id":"<anonymous-schema-56>"},"countrySubDivision":{"type":"string","description":"Subdivision of the country","x-parser-schema-id":"<anonymous-schema-57>"},"country":{"type":"string","description":"Country code in ISO 3166 alpha-2 format","x-parser-schema-id":"<anonymous-schema-58>"}},"x-parser-schema-id":"Address"},"creditorName":{"type":"string","description":"Name of the creditor","x-parser-schema-id":"<anonymous-schema-59>"},"creditorAccount":{"$ref":"#/components/schemas/SettlementAccount"},"creditorAgent":{"type":"string","description":"Agent of the creditor (e.g. BIC)","x-parser-schema-id":"<anonymous-schema-60>"},"creditorAddress":{"$ref":"#/components/schemas/Address"},"instructedAmount":{"type":"object","description":"Contains the payment amount and currency code","required":["value","currency"],"properties":{"value":{"type":"number","description":"The payment amount","x-parser-schema-id":"<anonymous-schema-28>"},"currency":{"type":"string","description":"The payment currency code in ISO 4217 format","x-parser-schema-id":"<anonymous-schema-29>"}},"x-parser-schema-id":"Amount"},"endToEndIdentification":{"type":"string","description":"Unique identifier used to track and reconcile the payment throughout the payment chain","x-parser-schema-id":"<anonymous-schema-61>"},"remittanceInformationUnstructured":{"type":"string","description":"Additional details about the payment","x-parser-schema-id":"<anonymous-schema-62>"}},"x-parser-schema-id":"<anonymous-schema-42>"}],"x-parser-schema-id":"InitiateSettlement"}