diff options
Diffstat (limited to 'src/lib/merchant_api_get_transfers.c')
-rw-r--r-- | src/lib/merchant_api_get_transfers.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/merchant_api_get_transfers.c b/src/lib/merchant_api_get_transfers.c index 552311c4..5d08dba1 100644 --- a/src/lib/merchant_api_get_transfers.c +++ b/src/lib/merchant_api_get_transfers.c @@ -130,6 +130,8 @@ handle_transfers_get_finished (void *cls, struct TALER_MERCHANT_TransferData); ok = true; json_array_foreach (transfers, i, transfer) { + /* FIXME: handle 'execution_time', 'verified', and/or 'confirmed' + not present in the response. */ struct TALER_MERCHANT_TransferData *td = &tds[i]; struct GNUNET_JSON_Specification ispec[] = { TALER_JSON_spec_amount ("credit_amount", @@ -140,7 +142,7 @@ handle_transfers_get_finished (void *cls, &td->payto_uri), GNUNET_JSON_spec_string ("exchange_url", &td->exchange_url), - GNUNET_JSON_spec_uint64 ("credit_serial", + GNUNET_JSON_spec_uint64 ("transfer_serial_id", &td->credit_serial), GNUNET_JSON_spec_absolute_time ("execution_time", &td->execution_time), @@ -278,7 +280,7 @@ TALER_MERCHANT_transfers_get ( before_s = GNUNET_strdup (GNUNET_STRINGS_absolute_time_to_string (before)); after_s = GNUNET_strdup (GNUNET_STRINGS_absolute_time_to_string (after)); gth->url = TALER_url_join (backend_url, - "transfers", + "private/transfers", "payto_uri", payto_uri, "verified", |