From e5a5291bd9aa4aef72029556be79d132029d2ed4 Mon Sep 17 00:00:00 2001 From: MS Date: Tue, 12 Jan 2021 17:06:31 +0100 Subject: nexus: API to query raw XML messages. --- libeufin/api-nexus.rst | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/libeufin/api-nexus.rst b/libeufin/api-nexus.rst index ce93f8b1..2d26a227 100644 --- a/libeufin/api-nexus.rst +++ b/libeufin/api-nexus.rst @@ -634,6 +634,35 @@ to the real bank. nexusBankAccountId: string; } + +.. http:get:: /bank-connections/{connId}/messages + + List *some* details of all the ISO2022 messages gotten from the bank. It + responds with a list of the following elements: + + .. code-block:: ts + + interface BankMessageInfo { + + // the message type, typically how the containing layer + // (Ebics, for example) would label this information. For + // Camt.053 types, this value is "C53". + code: string; + + // the unique identifier of the message. + messageId: string; + + // bytes length of the message. + length: number; + } + + + +.. http:get:: /bank-connections/{connId}/messages/{msgId} + + Return the ISO20022 XML corresponding to ``msgId``. + + Facades ------- -- cgit v1.2.3