From f98c463be27ecc2196936c0f52b3b0817c4e2405 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 14 Aug 2021 13:54:01 +0200 Subject: export TALER_iban_validate() API --- src/include/taler_util.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/include/taler_util.h') diff --git a/src/include/taler_util.h b/src/include/taler_util.h index 79e24779..0b761ae9 100644 --- a/src/include/taler_util.h +++ b/src/include/taler_util.h @@ -352,6 +352,20 @@ char * TALER_payto_validate (const char *payto_uri); +/** + * Check that an IBAN number is well-formed. + * + * Validates given IBAN according to the European Banking Standards. See: + * http://www.europeanpaymentscouncil.eu/documents/ECBS%20IBAN%20standard%20EBS204_V3.2.pdf + * + * @param iban the IBAN to check + * @return NULL on success, otherwise an error + * message to be freed by the caller! + */ +char * +TALER_iban_validate (const char *iban); + + /** * Possible values for a binary filter. */ -- cgit v1.2.3