diff options
-rw-r--r-- | core/api-bank-access.rst | 6 | ||||
-rw-r--r-- | core/api-challenger.rst | 4 | ||||
-rw-r--r-- | libeufin/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 index 155cde77..845d2d2d 100644 --- 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 index 747f3e6b..009d2f3e 100644 --- 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 index 17ca05ee..6505d942 100644 --- 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 ====== |