From 0d05df558c80b88a75397bfeea0a4249103952f2 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 22 Aug 2020 19:22:04 +0200 Subject: add h_contract to refund response --- src/include/taler_merchant_service.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/include') diff --git a/src/include/taler_merchant_service.h b/src/include/taler_merchant_service.h index 16a01b99..f59cfec0 100644 --- a/src/include/taler_merchant_service.h +++ b/src/include/taler_merchant_service.h @@ -229,7 +229,7 @@ struct TALER_MERCHANT_RefundUriData * * @param refund_uri the URI to parse. * @param[out] parse_data data extracted from the URI. Must be free'd. - * @return GNUNET_SYSERR if @e refund_uri is malformed, GNUNET_OK otherwise. + * @return #GNUNET_SYSERR if @e refund_uri is malformed, #GNUNET_OK otherwise. */ int TALER_MERCHANT_parse_refund_uri ( @@ -2353,12 +2353,15 @@ struct TALER_MERCHANT_OrderRefundHandle; * @param http_status HTTP status code for this request * @param ec taler-specific error code * @param taler_refund_uri the refund uri offered to the wallet + * @param h_contract hash of the contract a Browser may need to authorize + * obtaining the HTTP response. */ typedef void (*TALER_MERCHANT_RefundCallback) ( void *cls, const struct TALER_MERCHANT_HttpResponse *hr, - const char *taler_refund_uri); + const char *taler_refund_uri, + const struct GNUNET_HashCode *h_contract); /** -- cgit v1.2.3