taler-docs

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

commit c68e3198c38d4e106fa78c3d707cac5c77623db0
parent b8cbb2c8fa7bdbeb7ed129d150e21c2f678892f5
Author: Antoine A <>
Date:   Thu, 14 Nov 2024 19:30:50 +0100

wg+revenue: add credit_fee

Diffstat:
Mcore/api-bank-revenue.rst | 7++++++-
Mcore/api-bank-wire.rst | 23+++++++++++++++++++----
2 files changed, 25 insertions(+), 5 deletions(-)

diff --git a/core/api-bank-revenue.rst b/core/api-bank-revenue.rst @@ -126,9 +126,14 @@ Querying the transaction history // Date of the transaction. date: Timestamp; - // Amount transferred. + // Amount received before credit_fee. amount: Amount; + // Fee payed by the creditor. + // If not null, creditor actually received amount - credit_fee + // @since **v1** + credit_fee?: Amount; + // Payto URI to identify the sender of funds. debit_account: string; diff --git a/core/api-bank-wire.rst b/core/api-bank-wire.rst @@ -24,7 +24,7 @@ used by the exchange to trigger transactions and query incoming transactions, as well as by the auditor to query incoming and outgoing transactions. This API is currently implemented by the Taler Demo Bank, as well as by -LibEuFin (work in progress). +LibEuFin. .. http:get:: /config @@ -358,9 +358,14 @@ accounts are merged into a single history. // Date of the transaction. date: Timestamp; - // Amount transferred. + // Amount received before credit_fee. amount: Amount; + // Fee payed by the creditor. + // If not null, creditor actually received amount - credit_fee + // @since **v3** + credit_fee?: Amount; + // Full payto URI to identify the sender of funds. debit_account: string; @@ -379,9 +384,14 @@ accounts are merged into a single history. // Date of the transaction. date: Timestamp; - // Amount transferred. + // Amount received before credit_fee. amount: Amount; + // Fee payed by the creditor. + // If not null, creditor actually received amount - + // @since **v3** + credit_fee?: Amount; + // Full payto URI to identify the sender of funds. debit_account: string; @@ -400,9 +410,14 @@ accounts are merged into a single history. // Date of the transaction. date: Timestamp; - // Amount transferred. + // Amount received before credit_fee. amount: Amount; + // Fee payed by the creditor. + // If not null, creditor actually received amount - credit_fee + // @since **v3** + credit_fee?: Amount; + // Full payto URI to identify the sender of funds. debit_account: string;