aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-11-07 17:42:36 +0100
committerChristian Grothoff <christian@grothoff.org>2021-11-07 17:42:36 +0100
commit4cde9e39778684d9124d325c60014e8670aa31e2 (patch)
treec511346e49f77df1052beb8a112fd3c900fd7e70 /src/include
parent659cd4439d03f7a2a5617f91dc90554b3c5ee2b6 (diff)
downloadexchange-4cde9e39778684d9124d325c60014e8670aa31e2.tar.xz
add kyc-wallet test command
Diffstat (limited to 'src/include')
-rw-r--r--src/include/taler_testing_lib.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h
index 65f4e40a7..9eccae009 100644
--- a/src/include/taler_testing_lib.h
+++ b/src/include/taler_testing_lib.h
@@ -2197,6 +2197,20 @@ TALER_TESTING_cmd_auditor_add_denom_sig (const char *label,
bool bad_sig);
+/**
+ * Create a request for a wallet's KYC UUID.
+ *
+ * @param label command label.
+ * @param reserve_reference command with reserve private key to use (or NULL to create a fresh reserve key).
+ * @param expected_response_code expected HTTP status
+ * @return the command
+ */
+struct TALER_TESTING_Command
+TALER_TESTING_cmd_wallet_kyc_get (const char *label,
+ const char *reserve_reference,
+ unsigned int expected_response_code);
+
+
/* *** Generic trait logic for implementing traits ********* */