summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMS <ms@taler.net>2021-01-12 17:06:31 +0100
committerMS <ms@taler.net>2021-01-12 17:06:31 +0100
commite5a5291bd9aa4aef72029556be79d132029d2ed4 (patch)
treef123f712f08b459e910b9ea3ff8f5b4943a1ea99
parenta050504fd0a26fd40abf653450ee3deae807266b (diff)
downloaddocs-e5a5291bd9aa4aef72029556be79d132029d2ed4.tar.gz
docs-e5a5291bd9aa4aef72029556be79d132029d2ed4.tar.bz2
docs-e5a5291bd9aa4aef72029556be79d132029d2ed4.zip
nexus: API to query raw XML messages.
-rw-r--r--libeufin/api-nexus.rst29
1 files changed, 29 insertions, 0 deletions
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:: <nexus>/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:: <nexus>/bank-connections/{connId}/messages/{msgId}
+
+ Return the ISO20022 XML corresponding to ``msgId``.
+
+
Facades
-------