taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit 832e1118aa86f9e51976fb339203ffd41adaebc0
parent 626ec409db86f159158a616a6e28fddc12be1a7c
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Tue, 18 Apr 2023 10:09:46 +0200

-syntax fix

Diffstat:
Mcore/api-bank-access.rst | 6++++--
Mcore/api-challenger.rst | 4+++-
Mlibeufin/api-sandbox.rst | 13++++++++-----
3 files changed, 15 insertions(+), 8 deletions(-)

diff --git a/core/api-bank-access.rst b/core/api-bank-access.rst @@ -68,13 +68,15 @@ name and account password, at least in the GNU Taler demo bank implementation. **Details** - .. ts:def:: BankAccountBalanceResponse + .. ts:def:: Balance interface Balance { amount: Amount; credit_debit_indicator: "credit" | "debit"; } + .. ts:def:: BankAccountBalanceResponse + interface BankAccountBalanceResponse { // Available balance on the account. balance: Balance; @@ -83,7 +85,7 @@ name and account password, at least in the GNU Taler demo bank implementation. paytoUri: string; // Number indicating the max debit allowed for the requesting user. - debitThreshold: String; + debitThreshold: string; } diff --git a/core/api-challenger.rst b/core/api-challenger.rst @@ -200,7 +200,7 @@ Auth The credentials of the client are invalid. :http:statuscode:`404 Not found`: The service is unaware of a matching login process. - + **Details::** .. ts:def:: ChallengerAuthResponse @@ -214,6 +214,7 @@ Auth // Amount of time that an access token is valid (in seconds). expires_in: Number; + } @@ -253,4 +254,5 @@ Info // How long do we consider the address to be // valid for this user. expires: Timestamp; + } diff --git a/libeufin/api-sandbox.rst b/libeufin/api-sandbox.rst @@ -236,12 +236,15 @@ Accounts customers: CircuitAccountMinimalData[]; } - .. ts:def:: CircuitAccountMinimalData - + .. ts:def:: Balance + interface Balance { amount: Amount; credit_debit_indicator: "credit" | "debit"; } + + .. ts:def:: CircuitAccountMinimalData + interface CircuitAccountMinimalData { // Username username: string; @@ -253,7 +256,7 @@ Accounts balance: Balance; // Number indicating the max debit allowed for the requesting user. - debitThreshold: String; + debitThreshold: string; } :http:statuscode:`200 OK`: @@ -897,7 +900,7 @@ registration of customers is offered via the :doc:`/core/api-bank-access`. interface AdminBankAccountBalance { // Balance in the $currency:$amount format. - balance: string; + balance: Amount; // IBAN of the bank account identified by $accountLabel iban: string; // BIC of the bank account identified by $accountLabel @@ -1038,7 +1041,7 @@ Transactions .. _error-types: -====== + Errors ======