diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-02-01 13:09:06 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-02-01 13:09:13 +0100 |
commit | db448ff4ecf78e4568cd9f37d20ba8e691efe9b8 (patch) | |
tree | 4518bb3924b3b6c47fe367a8f9233b1d81efd768 /src/include/taler_merchantdb_plugin.h | |
parent | ad966ab422bba81956d89f1918624b23df7deb52 (diff) |
add next_url to GET tip response (#7655)
Diffstat (limited to 'src/include/taler_merchantdb_plugin.h')
-rw-r--r-- | src/include/taler_merchantdb_plugin.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/include/taler_merchantdb_plugin.h b/src/include/taler_merchantdb_plugin.h index fe974ba4..9b9d1505 100644 --- a/src/include/taler_merchantdb_plugin.h +++ b/src/include/taler_merchantdb_plugin.h @@ -420,7 +420,8 @@ typedef void typedef void (*TALER_MERCHANTDB_PendingWebhooksCallback)(void *cls, uint64_t webhook_pending_serial, - struct GNUNET_TIME_Absolute next_attempt, + struct GNUNET_TIME_Absolute + next_attempt, uint32_t retries, const char *url, const char *http_method, @@ -2437,6 +2438,7 @@ struct TALER_MERCHANTDB_Plugin * @param[out] total_picked_up how much of the tip was so far picked up (with fees) * @param[out] expiration set to when the tip expires * @param[out] exchange_url set to the exchange URL where the reserve is + * @param[out] next_url set to the URL where the wallet should navigate to after getting the tip * @param[out] reserve_priv set to private key of reserve to be debited * @return transaction status */ @@ -2448,6 +2450,7 @@ struct TALER_MERCHANTDB_Plugin struct TALER_Amount *total_picked_up, struct GNUNET_TIME_Timestamp *expiration, char **exchange_url, + char **next_url, struct TALER_ReservePrivateKeyP *reserve_priv); @@ -2826,7 +2829,7 @@ struct TALER_MERCHANTDB_Plugin (*update_pending_webhook)(void *cls, uint64_t webhook_pending_serial, struct GNUNET_TIME_Absolute next_attempt); - // maybe add: http status of failure? + // maybe add: http status of failure? /** |