aboutsummaryrefslogtreecommitdiff
path: root/src/mint/taler-mint-httpd_responses.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mint/taler-mint-httpd_responses.c')
-rw-r--r--src/mint/taler-mint-httpd_responses.c23
1 files changed, 20 insertions, 3 deletions
diff --git a/src/mint/taler-mint-httpd_responses.c b/src/mint/taler-mint-httpd_responses.c
index bad4991da..d581e2623 100644
--- a/src/mint/taler-mint-httpd_responses.c
+++ b/src/mint/taler-mint-httpd_responses.c
@@ -204,8 +204,25 @@ TALER_MINT_reply_invalid_json (struct MHD_Connection *connection)
204} 204}
205 205
206 206
207 207/**
208 208 * Send confirmation of deposit success to client.
209 209 *
210 * @param connection connection to the client
211 * @param deposit deposit request to confirm
212 * @return MHD result code
213 */
214int
215TALER_MINT_reply_deposit_success (struct MHD_Connection *connection,
216 const struct Deposit *deposit)
217{
218 // FIXME: return more information here,
219 // including in particular a signature over
220 // the deposit data from the mint!
221 return TALER_MINT_reply_json_pack (connection,
222 MHD_HTTP_OK,
223 "{s:s}",
224 "status",
225 "DEPOSIT_OK");
226}
210 227
211/* end of taler-mint-httpd_responses.c */ 228/* end of taler-mint-httpd_responses.c */