summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-07-22 19:29:27 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-07-22 19:29:27 +0530
commit93923c168d7472bf977c1dedc0a01c436769bf6e (patch)
treedccf694b79b08490f54c2a2e26f2369ce6b376af /src/include
parent70090ed9a86a5513f6b7396b232ebb1b19261469 (diff)
downloadexchange-93923c168d7472bf977c1dedc0a01c436769bf6e.tar.gz
exchange-93923c168d7472bf977c1dedc0a01c436769bf6e.tar.bz2
exchange-93923c168d7472bf977c1dedc0a01c436769bf6e.zip
remove refund_fee from refund confirmation message and signature
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_exchange_service.h2
-rw-r--r--src/include/taler_signatures.h13
2 files changed, 0 insertions, 15 deletions
diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h
index 441a93c7..6c5889ff 100644
--- a/src/include/taler_exchange_service.h
+++ b/src/include/taler_exchange_service.h
@@ -911,7 +911,6 @@ struct TALER_EXCHANGE_RefundHandle;
*
* @param cls closure
* @param hr HTTP response data
- * @param refund_fee the refund fee the exchange charged us
* @param sign_key exchange key used to sign @a obj, or NULL
* @param signature the actual signature, or NULL on error
*/
@@ -919,7 +918,6 @@ typedef void
(*TALER_EXCHANGE_RefundCallback) (
void *cls,
const struct TALER_EXCHANGE_HttpResponse *hr,
- const struct TALER_Amount *refund_fee,
const struct TALER_ExchangePublicKeyP *sign_key,
const struct TALER_ExchangeSignatureP *signature);
diff --git a/src/include/taler_signatures.h b/src/include/taler_signatures.h
index 07fdae3b..6584f185 100644
--- a/src/include/taler_signatures.h
+++ b/src/include/taler_signatures.h
@@ -509,7 +509,6 @@ struct TALER_RefundRequestPS
* exchange to the customer.
*/
struct TALER_AmountNBO refund_amount;
-
};
@@ -552,18 +551,6 @@ struct TALER_RefundConfirmationPS
* exchange to the customer.
*/
struct TALER_AmountNBO refund_amount;
-
- /**
- * Refund fee charged by the exchange. This must match the
- * Exchange's denomination key's refund fee. If the client puts in
- * an invalid refund fee (too high or too low) that does not match
- * the Exchange's denomination key, the refund operation is invalid
- * and will be rejected by the exchange. The @e amount_with_fee
- * minus the @e refund_fee is the amount that will be credited to
- * the original coin.
- */
- struct TALER_AmountNBO refund_fee; // FIXME: kill! => also do not return refund_fee (from exchange + merchant APIs)
-
};