diff options
Diffstat (limited to 'src/include/taler_merchant_testing_lib.h')
-rw-r--r-- | src/include/taler_merchant_testing_lib.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/include/taler_merchant_testing_lib.h b/src/include/taler_merchant_testing_lib.h index 98668b67..cb92d0f3 100644 --- a/src/include/taler_merchant_testing_lib.h +++ b/src/include/taler_merchant_testing_lib.h @@ -1437,6 +1437,7 @@ TALER_TESTING_cmd_tip_authorize_fake (const char *label); * @param amounts array of string-defined amounts that specifies * which denominations will be accepted for tipping. * @param ec expected Taler error code. + * @return the command */ struct TALER_TESTING_Command TALER_TESTING_cmd_tip_pickup_with_ec (const char *label, @@ -1457,6 +1458,7 @@ TALER_TESTING_cmd_tip_pickup_with_ec (const char *label, * that offers a tip id to pick up. * @param amounts array of string-defined amounts that specifies * which denominations will be accepted for tipping. + * @return the command */ struct TALER_TESTING_Command TALER_TESTING_cmd_tip_pickup (const char *label, @@ -1466,6 +1468,27 @@ TALER_TESTING_cmd_tip_pickup (const char *label, const char **amounts); +/** + * Run a command to fetch the KYC status of a merchant. + * + * @param label the command label + * @param merchant_url base URL of the merchant + * @param instance_id instance to use, NULL if instance is part of @a merchant_url + * @param h_wire_ref label of command with a merchant wire hash trait + * of the bank acount to check KYC for; NULL to check all accounts + * @param exchange_url base URL of the exchange to check KYC status for + * @param expected_http_status expected HTTP status + * @return the command + */ +struct TALER_TESTING_Command +TALER_TESTING_cmd_kyc_get (const char *label, + const char *merchant_url, + const char *instance_id, + const char *h_wire_ref, + const char *exchange_url, + unsigned int expected_http_status); + + /* ****** Specific traits supported by this component ******* */ @@ -1502,6 +1525,7 @@ TALER_TESTING_cmd_tip_pickup (const char *label, op (refund_entry, const struct TALER_MERCHANT_RefundDetail) \ op (order_terms, const json_t) \ op (h_contract_terms, const struct TALER_PrivateContractHash) \ + op (h_wire, const struct TALER_MerchantWireHash) \ op (proposal_reference, const char *) |