diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-04-20 03:05:16 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-04-20 03:05:16 +0200 |
commit | 77e9e3a7f65db0940a0797d9b12ba883bbdae48e (patch) | |
tree | 1d93cdf68ae8d320a0c5ab8f8568366e70cb6f7e /src/include | |
parent | edd31c74151d6bfe3d840bcc62b619aacf7542eb (diff) |
sketching out refund API implementation
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_exchange_service.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h index 2f9a1932c..04f94e570 100644 --- a/src/include/taler_exchange_service.h +++ b/src/include/taler_exchange_service.h @@ -506,6 +506,7 @@ typedef void * @param amount the amount to be refunded; must be larger than the refund fee * (as that fee is still being subtracted), and smaller than the amount * (with deposit fee) of the original deposit contribution of this coin + * @param refund_fee fee applicable to this coin for the refund * @param h_contract hash of the contact of the merchant with the customer that is being refunded * @param transaction_id transaction id for the transaction being refunded, must match @a h_contract * @param coin_pub coin’s public key of the coin from the original deposit operation @@ -522,6 +523,7 @@ typedef void struct TALER_EXCHANGE_RefundHandle * TALER_EXCHANGE_refund (struct TALER_EXCHANGE_Handle *exchange, const struct TALER_Amount *amount, + const struct TALER_Amount *refund_fee, const struct GNUNET_HashCode *h_contract, const struct TALER_CoinSpendPublicKeyP *coin_pub, uint64_t rtransaction_id, |