From 14a8cb1fc249a68c2e713c2d98011864d0b7cb46 Mon Sep 17 00:00:00 2001 From: MS Date: Thu, 2 Sep 2021 21:21:44 +0000 Subject: Nexus API. Including the balance along the basic information of bank accounts. --- libeufin/api-nexus.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/libeufin/api-nexus.rst b/libeufin/api-nexus.rst index 83fe5872..5f3e7a6c 100644 --- a/libeufin/api-nexus.rst +++ b/libeufin/api-nexus.rst @@ -233,6 +233,23 @@ manages payment initiations of the account and tracks the initiations of payment ownerName: string; } + +.. http:get:: {nexusBase}/bank-accounts/{my-acct} + + Get basic information about the bank account named ``my-acct``. + + interface BankAccountInfoWithBalance { + // ID number of the database row being the default bank connection + // of `my-acct`. + defaultBankConnection: number; + // Payto://-URI of `my-acct`. + accountPaytoUri: string; + // Balance of `my-acct` as it was downloaded from the bank + // along the last Camt document. A human-readable message + // will inform the requester, should this value not be found. + lastSeenBalance: string; + } + .. http:post:: {nexusBase}/bank-accounts/{acctid}/payment-initiations/{pmtid}/submit Ask nexus to submit one prepare payment at the bank. -- cgit v1.2.3