summaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_db.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-05-05 22:57:55 +0200
committerChristian Grothoff <christian@grothoff.org>2016-05-05 22:57:55 +0200
commit0c959e75d109fc914ab8891518f7963ade74cff8 (patch)
tree2f0bc9375e019a57d9787dddb5eed8fd6aadfc67 /src/exchange/taler-exchange-httpd_db.h
parent07d9978fb94b50345dfe0d52f48b1fe962417cfd (diff)
downloadexchange-0c959e75d109fc914ab8891518f7963ade74cff8.tar.gz
exchange-0c959e75d109fc914ab8891518f7963ade74cff8.tar.bz2
exchange-0c959e75d109fc914ab8891518f7963ade74cff8.zip
working on #3641: more on /refund implementation
Diffstat (limited to 'src/exchange/taler-exchange-httpd_db.h')
-rw-r--r--src/exchange/taler-exchange-httpd_db.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd_db.h b/src/exchange/taler-exchange-httpd_db.h
index d6245a702..7cf498285 100644
--- a/src/exchange/taler-exchange-httpd_db.h
+++ b/src/exchange/taler-exchange-httpd_db.h
@@ -41,6 +41,20 @@ TMH_DB_execute_deposit (struct MHD_Connection *connection,
/**
+ * Execute a "/refund". Returns a confirmation that the refund
+ * was successful, or a failure if we are not aware of a matching
+ * /deposit or if it is too late to do the refund.
+ *
+ * @param connection the MHD connection to handle
+ * @param refund refund details
+ * @return MHD result code
+ */
+int
+TMH_DB_execute_refund (struct MHD_Connection *connection,
+ const struct TALER_EXCHANGEDB_Refund *refund);
+
+
+/**
* Execute a "/reserve/status". Given the public key of a reserve,
* return the associated transaction history.
*