commit 14a8cb1fc249a68c2e713c2d98011864d0b7cb46 parent bc200a32fba1a8ffa8fec841db38dccd7231edbc Author: MS <ms@taler.net> Date: Thu, 2 Sep 2021 21:21:44 +0000 Nexus API. Including the balance along the basic information of bank accounts. Diffstat:
| M | libeufin/api-nexus.rst | | | 17 | +++++++++++++++++ |
1 file changed, 17 insertions(+), 0 deletions(-)
diff --git 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.