taler-docs

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

commit f8f2ed0f78545175963976dcb626b73e0a6c9bce
parent 5442935d01234260c036899f846884da515aada0
Author: Antoine A <>
Date:   Tue,  5 Dec 2023 15:28:49 +0000

Update corebank API

Diffstat:
Mcore/api-bank-conversion-info.rst | 8++++----
Mcore/api-corebank.rst | 17++++++++++-------
2 files changed, 14 insertions(+), 11 deletions(-)

diff --git a/core/api-bank-conversion-info.rst b/core/api-bank-conversion-info.rst @@ -181,10 +181,10 @@ is used by wallets for withdrawals that involve a currency conversion. // Exchange rate to buy regional currency from fiat cashin_ratio: DecimalNumber; - // Fee to subtract after applying the cashin ratio. + // Regional amount fee to subtract after applying the cashin ratio. cashin_fee: Amount; - // Minimum amount authorised for cashin, in fiat before conversion + // Minimum fiat amount authorised for cashin before conversion cashin_min_amount: Amount; // Smallest possible regional amount, converted amount is rounded to this amount @@ -196,10 +196,10 @@ is used by wallets for withdrawals that involve a currency conversion. // Exchange rate to sell regional currency for fiat cashout_ratio: DecimalNumber; - // Fee to subtract after applying the cashout ratio. + // Fiat amount fee to subtract after applying the cashout ratio. cashout_fee: Amount; - // Minimum amount authorised for cashout, in regional before conversion + // Minimum regional amount authorised for cashout before conversion cashout_min_amount: Amount; // Smallest possible fiat amount, converted amount is rounded to this amount diff --git a/core/api-corebank.rst b/core/api-corebank.rst @@ -68,6 +68,13 @@ Config **Details:** + .. ts:def:: TanChannel + + enum TanChannel { + SMS = "sms", + EMAIL = "email" + } + .. ts:def:: Config interface Config { @@ -97,6 +104,9 @@ Config // How the bank SPA should render this currency. currency_specification: CurrencySpecification; + + // TAN channels supported by the server + supported_tan_channels: TanChannel[]; } @@ -720,13 +730,6 @@ Cashouts **Request:** - .. ts:def:: TanChannel - - enum TanChannel { - SMS = "sms", - EMAIL = "email" - } - .. ts:def:: CashoutRequest interface CashoutRequest {