diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-11-07 17:57:23 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-11-07 17:57:23 +0100 |
commit | f374a5cd381370830e3c5ec685f42c5d00d3a9e5 (patch) | |
tree | 0d661339568c06829a1374ca5126722976d01f64 /src/include | |
parent | 4cde9e39778684d9124d325c60014e8670aa31e2 (diff) | |
download | exchange-f374a5cd381370830e3c5ec685f42c5d00d3a9e5.tar.xz |
add wallet for KYC status check
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_testing_lib.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h index 9eccae009..70643ab14 100644 --- a/src/include/taler_testing_lib.h +++ b/src/include/taler_testing_lib.h @@ -2211,6 +2211,20 @@ TALER_TESTING_cmd_wallet_kyc_get (const char *label, unsigned int expected_response_code); +/** + * Create a request for an account's KYC status. + * + * @param label command label. + * @param payment_target_reference command with a payment target to query + * @param expected_response_code expected HTTP status + * @return the command + */ +struct TALER_TESTING_Command +TALER_TESTING_cmd_check_kyc_get (const char *label, + const char *payment_target_reference, + unsigned int expected_response_code); + + /* *** Generic trait logic for implementing traits ********* */ @@ -2381,6 +2395,7 @@ TALER_TESTING_get_trait (const struct TALER_TESTING_Trait *traits, op (exchange_bank_account_url, const char *) \ op (taler_uri, const char *) \ op (payto_uri, const char *) \ + op (kyc_url, const char *) \ op (row, const uint64_t) \ op (payment_target_uuid, const uint64_t) \ op (array_length, const unsigned int) \ |