diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-01-27 23:06:23 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-01-27 23:06:23 +0100 |
commit | ea3fac606311d1c14362d387960a4913182b629e (patch) | |
tree | c6e85271898e14ebed421b83439ee116f00ef39e /src/mint/taler-mint-httpd_deposit.h | |
parent | 5647ed2be5cc69d25e393fc3a511bb0959566367 (diff) | |
download | exchange-ea3fac606311d1c14362d387960a4913182b629e.tar.gz exchange-ea3fac606311d1c14362d387960a4913182b629e.tar.bz2 exchange-ea3fac606311d1c14362d387960a4913182b629e.zip |
starting to clean up /deposit logic
Diffstat (limited to 'src/mint/taler-mint-httpd_deposit.h')
-rw-r--r-- | src/mint/taler-mint-httpd_deposit.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mint/taler-mint-httpd_deposit.h b/src/mint/taler-mint-httpd_deposit.h index dd7b8c133..c6d628050 100644 --- a/src/mint/taler-mint-httpd_deposit.h +++ b/src/mint/taler-mint-httpd_deposit.h @@ -29,7 +29,13 @@ /** - * Handle a "/deposit" request + * Handle a "/deposit" request. Parses the JSON in the post to find + * the "type" (either DIRECT_DEPOSIT or INCREMENTAL_DEPOSIT), and, if + * successful, passes the JSON data to + * #parse_and_handle_deposit_request() to further check the details + * of the operation specified in the "wire" field of the JSON data. + * If everything checks out, this will ultimately lead to the + * "/deposit" being executed, or rejected. * * @param rh context of the handler * @param connection the MHD connection to handle |