taler-docs

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

commit 9905d90cbe3385f40814dd64dc9ca2f3584c129f
parent f4fc19824d0bd9510badb855b7a2138542a084a5
Author: Sebastian <sebasjm@gmail.com>
Date:   Wed, 25 Jun 2025 19:24:34 -0300

fix ts render

Diffstat:
Mcore/api-corebank.rst | 64++++++++++++++++++++++++++++++++++------------------------------
1 file changed, 34 insertions(+), 30 deletions(-)

diff --git a/core/api-corebank.rst b/core/api-corebank.rst @@ -1492,43 +1492,45 @@ Conversion rate class **Details:** - interface ConversionRateClass { - // The name of this class - name: string; + .. ts:def:: ConversionRateClassResponse - // A description of the class - description?: string; + interface ConversionRateClass { + // The name of this class + name: string; - // Class unique ID - conversion_rate_class_id: Integer; + // A description of the class + description?: string; + + // Class unique ID + conversion_rate_class_id: Integer; - // Number of users affected to this class - num_users: Integer; + // Number of users affected to this class + num_users: Integer; - // Minimum fiat amount authorised for cashin before conversion - cashin_min_amount?: Amount; + // Minimum fiat amount authorised for cashin before conversion + cashin_min_amount?: Amount; - // Exchange rate to buy regional currency from fiat - cashin_ratio?: DecimalNumber; + // Exchange rate to buy regional currency from fiat + cashin_ratio?: DecimalNumber; - // Regional amount fee to subtract after applying the cashin ratio. - cashin_fee?: Amount; + // 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"; + // Rounding mode used during cashin conversion + cashin_rounding_mode?: "zero" | "up" | "nearest"; - // Minimum regional amount authorised for cashout before conversion - cashout_min_amount?: Amount; + // Minimum regional amount authorised for cashout before conversion + cashout_min_amount?: Amount; - // Exchange rate to sell regional currency for fiat - cashout_ratio?: DecimalNumber; + // Exchange rate to sell regional currency for fiat + cashout_ratio?: DecimalNumber; - // Fiat amount fee to subtract after applying the cashout ratio. - cashout_fee?: Amount; + // 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"; - } + // Rounding mode used during cashout conversion + cashout_rounding_mode?: "zero" | "up" | "nearest"; + } .. http:get:: /conversion-rate-classes @@ -1565,10 +1567,12 @@ Conversion rate class **Details:** - interface ConversionRateClasses { - default: ConversionRate; - classes: ConversionRateClass[]; - } + .. ts:def:: ConversionRateClassResponse + + interface ConversionRateClasses { + default: ConversionRate; + classes: ConversionRateClass[]; + } 2FA ---