commit 16d342d5adbef75e2182d0668f9ecbf97b70aa02 parent 9609a023ee62932eaa42c1e3db8bda4ddb359c00 Author: MS <ms@taler.net> Date: Sun, 21 Jun 2020 00:17:54 +0200 account import API Diffstat:
| M | libeufin/api-nexus.rst | | | 43 | +++++++++++++++++++++++++++++++++++++++++-- |
1 file changed, 41 insertions(+), 2 deletions(-)
diff --git a/libeufin/api-nexus.rst b/libeufin/api-nexus.rst @@ -336,8 +336,47 @@ to the real bank. .. http:get:: {nexusBase}/bank-connections/{connid}/accounts - list accounts that are accessible via this bank connection and what - LibEuFin accounts they are connected to. + List the bank accounts that are downloaded into this bank connection + but aren't imported yet: + + .. ts:def:: BankAccount + + interface BankAccount { + + // iban + iban: string; + + // bic + bic: string; + + // account holder + holder: string; + + // account label as given by the bank + account: string; + } + +.. http:get:: {nexusBase}/bank-connections/{connid}/accounts/imported + + List the bank accounts that were imported under this bank connection: + + .. ts:def:: BankAccount + + interface BankAccount { + + // iban + iban: string; + + // bic + bic: string; + + // account holder + holder: string; + + // custom account label as given by the user + account: string; + } + .. http:post:: {nexusBase}/bank-connections/{connid}/accounts/import