diff options
author | ms <ms@taler.net> | 2021-11-08 13:36:17 +0100 |
---|---|---|
committer | ms <ms@taler.net> | 2021-11-08 13:37:13 +0100 |
commit | f044a99f79e2937176f10a94de20de1d111851e4 (patch) | |
tree | 6230be4d738b5555deffb7f8d6be9ad6b703fd2d /core/api-bank-access.rst | |
parent | 290dec84dc1a07356c69e7c76e9a306882215edb (diff) | |
download | docs-f044a99f79e2937176f10a94de20de1d111851e4.tar.gz docs-f044a99f79e2937176f10a94de20de1d111851e4.tar.bz2 docs-f044a99f79e2937176f10a94de20de1d111851e4.zip |
Access API.
Diffstat (limited to 'core/api-bank-access.rst')
-rw-r--r-- | core/api-bank-access.rst | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/core/api-bank-access.rst b/core/api-bank-access.rst index c7da03cc..fd7dadff 100644 --- a/core/api-bank-access.rst +++ b/core/api-bank-access.rst @@ -129,6 +129,7 @@ name and account password, at least in the GNU Taler demo bank implementation. .. http:POST:: ${BANK_API_BASE_URL}/accounts/${account_name}/withdrawals/${withdrawal_id}/confirm Confirm a withdrawal operation. Has no effect on an already confirmed withdrawal operation. + This call is responsible of wiring the funds to the exchange. **Response** @@ -145,8 +146,9 @@ Transactions .. http:GET:: ${BANK_API_BASE_URL}/accounts/${account_name}/transactions - Retrieve all the transactions where the bank account with the label ``account_name`` - was debited or credited. + Retrieve all the fresh transactions where the bank account with the + label ``account_name`` was debited or credited. A transactions is 'fresh' + if it was never included in a "history" type response. **Request** @@ -154,6 +156,8 @@ Transactions **Response** + .. ts:def:: BankAccountTransactionsResponse + interface BankAccountTransactionsResponse { transactions: BankAccountTransactionInfo[]; } @@ -197,16 +201,12 @@ Transactions interface CreateBankAccountTransactionCreate { - // All the details corresponding to the wire transfer - // to initiate, in the 'payto' format (RFC 8905). - // Only: 'iban' authority and 'receiver-name', 'amount', - // and 'message' query parameters are accepted. - - // The following example is accepted: - // - // payto://iban/AB0123456789?receiver-name=Jane%20Doe&message=donation&amount=EUR:1 - + // Support 'iban' and 'x-taler-bank' authorities. 'iban' + // target type should specify a BIC too. paytoUri: string; + + amount: string; // with currency + subject: string; } **Response** |