{"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 adjust the amount of an interbank payment","required":["paymentId","originAccountId","amount","paymentDetails"],"properties":{"paymentId":{"type":"string","format":"uuid","description":"Payment unique identifier in version 4 UUID format","x-parser-schema-id":"<anonymous-schema-71>"},"originAccountId":{"type":"string","format":"uri","description":"Unique identifier for the originating account. The URI format is used to identify the underlying core (i.e. <core-name>:<identifier>)","x-parser-schema-id":"<anonymous-schema-72>"},"amount":{"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"},"paymentDetails":{"type":"object","description":"Contains payment specific details","properties":{"paymentId":{"type":"string","format":"uuid","description":"Payment unique identifier in version 4 UUID format","x-parser-schema-id":"<anonymous-schema-73>"},"debtorName":{"type":"string","description":"Name of the debtor","x-parser-schema-id":"<anonymous-schema-74>"},"debtorAccount":{"type":"object","description":"Contains account details used in payment initiation","required":["iban"],"properties":{"iban":{"type":"string","description":"International Bank Account Number of the account","x-parser-schema-id":"<anonymous-schema-22>"},"originAccountId":{"type":"string","format":"uri","description":"Unique identifier for the originating account. The URI format is used to identify the underlying core (i.e. <core-name>:<identifier>)","x-parser-schema-id":"<anonymous-schema-23>"},"currency":{"type":"string","description":"Account currency in ISO 4217 format","x-parser-schema-id":"<anonymous-schema-24>"}},"x-parser-schema-id":"PaymentAccount"},"debtorAgent":{"type":"string","description":"Agent of the debtor (e.g. BIC)","x-parser-schema-id":"<anonymous-schema-75>"},"creditorName":{"type":"string","description":"Name of the creditor","x-parser-schema-id":"<anonymous-schema-76>"},"creditorAccount":{"$ref":"#/components/schemas/PaymentAccount"},"creditorAgent":{"type":"string","description":"Agent of the creditor (e.g. BIC)","x-parser-schema-id":"<anonymous-schema-77>"},"instructedAmount":{"$ref":"#/components/schemas/Amount"},"endToEndIdentification":{"type":"string","description":"Unique identifier used to track and reconcile the payment throughout the payment chain","x-parser-schema-id":"<anonymous-schema-78>"},"remittanceInformationUnstructured":{"type":"string","description":"Additional details about the payment","x-parser-schema-id":"<anonymous-schema-79>"}},"x-parser-schema-id":"PaymentDetails"},"notes":{"type":"string","description":"Additional notes to add when adjusting the payment (e.g. the reason for adjusting)","x-parser-schema-id":"<anonymous-schema-80>"}},"x-parser-schema-id":"<anonymous-schema-70>"}],"x-parser-schema-id":"AdjustInterbankPaymentAmount"}