summaryrefslogtreecommitdiff
path: root/src/lib/merchant_api_post_transfers.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-06-01 23:39:22 +0200
committerChristian Grothoff <christian@grothoff.org>2020-06-01 23:39:22 +0200
commitf3a9cffa1a119eea9413b2fe236499cdc90403d1 (patch)
tree62740a3af7314bdb7d6521c5ea0272134e246e55 /src/lib/merchant_api_post_transfers.c
parent61582eb5a70d02d8bd33978b5152de15b9ffb816 (diff)
downloadmerchant-f3a9cffa1a119eea9413b2fe236499cdc90403d1.tar.gz
merchant-f3a9cffa1a119eea9413b2fe236499cdc90403d1.tar.bz2
merchant-f3a9cffa1a119eea9413b2fe236499cdc90403d1.zip
implement POST /private/reserves
Diffstat (limited to 'src/lib/merchant_api_post_transfers.c')
-rw-r--r--src/lib/merchant_api_post_transfers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/merchant_api_post_transfers.c b/src/lib/merchant_api_post_transfers.c
index 0dd67ce9..d304ed9f 100644
--- a/src/lib/merchant_api_post_transfers.c
+++ b/src/lib/merchant_api_post_transfers.c
@@ -262,7 +262,7 @@ TALER_MERCHANT_transfers_post (
pth->cb = cb;
pth->cb_cls = cb_cls;
pth->url = TALER_url_join (backend_url,
- "transfers",
+ "private/transfers",
NULL);
if (NULL == pth->url)
{
@@ -275,7 +275,7 @@ TALER_MERCHANT_transfers_post (
"credit_amount", TALER_JSON_from_amount (credit_amount),
"wtid", GNUNET_JSON_from_data_auto (wtid),
"payto_uri", payto_uri,
- "exchange_url", "exchange_url");
+ "exchange_url", exchange_url);
GNUNET_assert (NULL != req);
eh = curl_easy_init ();
GNUNET_assert (NULL != eh);