{"allOf":[{"description":"Base type for all query results 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":"Result"},{"type":"object","description":"Account validity result","required":["originAccountId","externalReferenceId","currency","debitCreditIndicator","isAccountValid"],"properties":{"originAccountId":{"type":"string","format":"uri","description":"Unique identifier for the originating account. The URI format is used to identify the underlying core.\nNote: The format is `<core>:<branch>:<identifier>`.\n","x-parser-schema-id":"<anonymous-schema-10>"},"externalReferenceId":{"type":"string","description":"Unique external reference number for the request. Used for tracking.","x-parser-schema-id":"<anonymous-schema-11>"},"currency":{"type":"string","description":"The payment currency code in ISO 4217 format","x-parser-schema-id":"<anonymous-schema-12>"},"debitCreditIndicator":{"type":"string","description":"Debit or Credit indicator. Used to determine if the account is valid for a certain type of transactios.","enum":["CREDIT","DEBIT","BOTH","NONE"],"x-parser-schema-id":"<anonymous-schema-13>"},"isAccountValid":{"type":"boolean","description":"Indicates if the account is valid for the transaction type specified in debitCreditIndicator","x-parser-schema-id":"<anonymous-schema-14>"},"failure":{"type":"object","required":["code","reason"],"properties":{"code":{"type":"string","description":"The error code identifying the type of failure","enum":["urn:plmr-internal:payment-gateway:connector:SETTLEMENT_INITIATION_FAILED","urn:plmr-internal:payment-gateway:connector:SETTLEMENT_FAILED","urn:plmr-internal:transaction-monitoring:connector:INITIATE_AML_SCREENING:AML_REJECTED","urn:plmr-internal:transaction-monitoring:connector:INITIATE_AML_SCREENING:AML_SCREENING_FAILED","urn:plmr-internal:payments:connector:TRANSFER_BOOKING_FAILED","urn:plmr-internal:payments:connector:TRANSACTION_AMOUNT_RESERVATION_FAILED","urn:plmr-internal:payments:connector:INSUFF_FUNDS","urn:plmr-internal:payments:connector:ACC_NOT_FOUND","urn:plmr-internal:payments:connector:ACC_BLOCKED","urn:plmr-internal:payments:connector:ACC_NOT_ACTIVE","urn:plmr-internal:payments:connector:RESERVED_TRANSACTION_AMOUNT_REVERSAL_FAILED","urn:plmr-internal:payments:connector:OTHER"],"x-parser-schema-id":"<anonymous-schema-15>"},"reason":{"type":"string","description":"Detailed error message","x-parser-schema-id":"<anonymous-schema-16>"}},"x-parser-schema-id":"Failure"}},"x-parser-schema-id":"<anonymous-schema-9>"}],"x-parser-schema-id":"AccountValidity"}