taler-merchant-httpd_post-private-accounts-H_WIRE-kycauth.h (1836B)
1 /* 2 This file is part of TALER 3 (C) 2026 Taler Systems SA 4 5 TALER is free software; you can redistribute it and/or modify it under the 6 terms of the GNU Affero General Public License as published by the Free Software 7 Foundation; either version 3, or (at your option) any later version. 8 9 TALER is distributed in the hope that it will be useful, but WITHOUT ANY 10 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 11 A PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 13 You should have received a copy of the GNU Affero General Public License 14 along with TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/> 15 */ 16 /** 17 * @file taler-merchant-httpd_post-private-accounts-H_WIRE-kycauth.h 18 * @brief Handle POST /private/accounts/$H_WIRE/kycauth requests 19 * @author Christian Grothoff 20 */ 21 #ifndef TALER_MERCHANT_HTTPD_POST_PRIVATE_ACCOUNTS_H_WIRE_KYCAUTH_H 22 #define TALER_MERCHANT_HTTPD_POST_PRIVATE_ACCOUNTS_H_WIRE_KYCAUTH_H 23 24 #include "taler-merchant-httpd.h" 25 26 27 /** 28 * Force all suspended kycauth handler connections to resume (during shutdown). 29 */ 30 void 31 TMH_force_kac_resume (void); 32 33 34 /** 35 * Handle a POST /private/accounts/$H_WIRE/kycauth request. 36 * 37 * Returns wire transfer instructions for performing a KYC authentication 38 * transfer to a specific exchange on behalf of the merchant account 39 * identified by @e H_WIRE. 40 * 41 * @param rh context of the handler 42 * @param connection the MHD connection to handle 43 * @param[in,out] hc context with further information about the request 44 * @return MHD result code 45 */ 46 MHD_RESULT 47 TMH_private_post_accounts_H_WIRE_kycauth ( 48 const struct TMH_RequestHandler *rh, 49 struct MHD_Connection *connection, 50 struct TMH_HandlerContext *hc); 51 52 53 /* end of taler-merchant-httpd_private-post-accounts-H_WIRE-kycauth.h */ 54 #endif