summaryrefslogtreecommitdiff
path: root/src/include/taler_merchant_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-05-27 12:14:05 +0200
committerChristian Grothoff <christian@grothoff.org>2021-05-27 12:14:05 +0200
commit5dea2c74a16191d269c8fc7beead55c2683c887a (patch)
treed262c3ea641a342439b9532606c1424c6f17339e /src/include/taler_merchant_service.h
parent72e50cb45e9b3df912fa542c6e6bcccf51a59838 (diff)
downloadmerchant-5dea2c74a16191d269c8fc7beead55c2683c887a.tar.gz
merchant-5dea2c74a16191d269c8fc7beead55c2683c887a.tar.bz2
merchant-5dea2c74a16191d269c8fc7beead55c2683c887a.zip
implement specification update #6891: return exchange_url and payto_uri as part of GET reserve/ID response
Diffstat (limited to 'src/include/taler_merchant_service.h')
-rw-r--r--src/include/taler_merchant_service.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/taler_merchant_service.h b/src/include/taler_merchant_service.h
index 9e7cf8f8..cc44e660 100644
--- a/src/include/taler_merchant_service.h
+++ b/src/include/taler_merchant_service.h
@@ -3161,6 +3161,8 @@ struct TALER_MERCHANT_TipDetails
* @param hr HTTP response details
* @param rs reserve summary for the reserve, NULL on error
* @param active is this reserve active (false if it was deleted but not purged)
+ * @param exchange_url URL of the exchange hosting the reserve, NULL if not @a active
+ * @param payto_uri URI to fill the reserve, NULL if not @a active or already filled
* @param tips_length length of the @a reserves array
* @param tips array with details about the tips granted, NULL on error
*/
@@ -3170,6 +3172,8 @@ typedef void
const struct TALER_MERCHANT_HttpResponse *hr,
const struct TALER_MERCHANT_ReserveSummary *rs,
bool active,
+ const char *exchange_url,
+ const char *payto_uri,
unsigned int tips_length,
const struct TALER_MERCHANT_TipDetails tips[]);