diff options
author | MS <ms@taler.net> | 2020-06-21 00:17:54 +0200 |
---|---|---|
committer | MS <ms@taler.net> | 2020-06-21 00:17:54 +0200 |
commit | 16d342d5adbef75e2182d0668f9ecbf97b70aa02 (patch) | |
tree | 92853b23e4786f678c38fe3979fc69758e235188 /libeufin | |
parent | 9609a023ee62932eaa42c1e3db8bda4ddb359c00 (diff) | |
download | docs-16d342d5adbef75e2182d0668f9ecbf97b70aa02.tar.gz docs-16d342d5adbef75e2182d0668f9ecbf97b70aa02.tar.bz2 docs-16d342d5adbef75e2182d0668f9ecbf97b70aa02.zip |
account import API
Diffstat (limited to 'libeufin')
-rw-r--r-- | libeufin/api-nexus.rst | 43 |
1 files changed, 41 insertions, 2 deletions
diff --git a/libeufin/api-nexus.rst b/libeufin/api-nexus.rst index 0a56843a..1e713fd9 100644 --- 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 |