taler-docs

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

commit e91456845576626ab059e592e72775031442a7c9
parent 8505885198dd3863e4a774935cb670e5aab51dcb
Author: Sebastian <sebasjm@gmail.com>
Date:   Sun, 29 Jun 2025 22:57:46 -0300

accountData returns conversion_rate with all the merged data

Diffstat:
Mcore/api-corebank.rst | 36+++---------------------------------
1 file changed, 3 insertions(+), 33 deletions(-)

diff --git a/core/api-corebank.rst b/core/api-corebank.rst @@ -775,42 +775,12 @@ Account Management // @since **v4**, will become mandatory in the next version. status?: "active" | "locked" | "deleted"; - // Conversion rate class to which the user belongs + // Conversion rate available to the user + // Only present if conversion is activated on the server // @since **v9** - conversion_rate_class?: AccountConversionRateClass; + conversion_rate?: ConversionRate; } - .. ts:def:: AccountConversionRateClass - - interface AccountConversionRateClass { - // Class unique ID - conversion_rate_class_id: Integer; - - // Minimum fiat amount authorised for cashin before conversion - cashin_min_amount?: Amount; - - // Exchange rate to buy regional currency from fiat - cashin_ratio?: DecimalNumber; - - // Regional amount fee to subtract after applying the cashin ratio. - cashin_fee?: Amount; - - // Rounding mode used during cashin conversion - cashin_rounding_mode?: "zero" | "up" | "nearest"; - - // Minimum regional amount authorised for cashout before conversion - cashout_min_amount?: Amount; - - // Exchange rate to sell regional currency for fiat - cashout_ratio?: DecimalNumber; - - // Fiat amount fee to subtract after applying the cashout ratio. - cashout_fee?: Amount; - - // Rounding mode used during cashout conversion - cashout_rounding_mode?: "zero" | "up" | "nearest"; - } - Transactions ------------