From 7b25787a4b8ac0a0b3cbc2174ba3cac9c564346a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 30 May 2022 16:31:24 +0200 Subject: -generate 404 on non-existing accounts for fakebank, use payto://-URIs with receiver-name in tests --- src/include/taler_util.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/include/taler_util.h') diff --git a/src/include/taler_util.h b/src/include/taler_util.h index ee17557a4..607d76724 100644 --- a/src/include/taler_util.h +++ b/src/include/taler_util.h @@ -385,6 +385,16 @@ char * TALER_xtalerbank_account_from_payto (const char *payto); +/** + * Obtain the receiver name from a payto URL. + * + * @param payto an x-taler-bank payto URL + * @return only the receiver name from the @a payto URL, NULL if not an x-taler-bank payto URL + */ +char * +TALER_payto_get_receiver_name (const char *payto); + + /** * Extract the subject value from the URI parameters. * -- cgit v1.2.3