diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-08-22 19:22:04 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-08-22 19:22:04 +0200 |
commit | 0d05df558c80b88a75397bfeea0a4249103952f2 (patch) | |
tree | 19173db0fd4b106ae3c257406970d075f1a535cc /src/include/taler_merchant_service.h | |
parent | ca0fc7c0746cd355109bccf432b9ff78f34393e8 (diff) | |
download | merchant-0d05df558c80b88a75397bfeea0a4249103952f2.tar.gz merchant-0d05df558c80b88a75397bfeea0a4249103952f2.tar.bz2 merchant-0d05df558c80b88a75397bfeea0a4249103952f2.zip |
add h_contract to refund response
Diffstat (limited to 'src/include/taler_merchant_service.h')
-rw-r--r-- | src/include/taler_merchant_service.h | 7 |
1 files changed, 5 insertions, 2 deletions
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); /** |