exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

taler_exchange_service.h (4485B)


      1 /*
      2    This file is part of TALER
      3    Copyright (C) 2014-2025 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 Affero General Public License for more details.
     12 
     13    You should have received a copy of the GNU Affero General Public License along with
     14    TALER; see the file COPYING.  If not, see <http://www.gnu.org/licenses/>
     15  */
     16 /**
     17  * @file include/taler/taler_exchange_service.h
     18  * @brief C interface of libtalerexchange, a C library to use exchange's HTTP API
     19  *        This library is not thread-safe, all APIs must only be used from a single thread.
     20  *        This library calls abort() if it runs out of memory. Be aware of these limitations.
     21  * @author Sree Harsha Totakura <sreeharsha@totakura.in>
     22  * @author Christian Grothoff
     23  * @author Özgür Kesim
     24  */
     25 #ifndef _TALER_EXCHANGE_SERVICE_H
     26 #define _TALER_EXCHANGE_SERVICE_H
     27 
     28 /**
     29  * Version of the Taler Exchange API, in hex.
     30  * Thus 0.8.4-1 = 0x00080401.
     31  */
     32 #define TALER_EXCHANGE_API_VERSION 0x00105000
     33 
     34 #include <taler/exchange/common.h>  /* UNNECESSARY? */
     35 #include <taler/exchange/get-keys.h>
     36 #include <taler/exchange/post-batch-deposit.h>
     37 #include <taler/exchange/post-coins-COIN_PUB-refund.h>
     38 #include <taler/exchange/get-coins-COIN_PUB-history.h>
     39 #include <taler/exchange/get-reserves-RESERVE_PUB-history.h>
     40 #include <taler/exchange/post-blinding-prepare.h>
     41 #include <taler/exchange/post-withdraw.h>
     42 #include <taler/exchange/post-withdraw_blinded.h>
     43 #include <taler/exchange/post-reveal-withdraw.h>
     44 #include <taler/exchange/post-reveal-melt.h>
     45 #include <taler/exchange/post-melt.h>
     46 #include <taler/exchange/get-transfers-WTID.h>
     47 #include \
     48   <taler/exchange/get-deposits-H_WIRE-MERCHANT_PUB-H_CONTRACT_TERMS-COIN_PUB.h>
     49 #include <taler/exchange/post-recoup-withdraw.h>
     50 #include <taler/exchange/post-recoup-refresh.h>
     51 #include <taler/exchange/get-kyc-check-H_NORMALIZED_PAYTO.h>
     52 #include <taler/exchange/get-kyc-info-ACCESS_TOKEN.h>
     53 #include <taler/exchange/post-kyc-start-ID.h>
     54 #include <taler/exchange/post-kyc-upload-ID.h>
     55 #include <taler/exchange/get-kyc-proof-PROVIDER_NAME.h>
     56 #include <taler/exchange/post-kyc-wallet.h>
     57 #include <taler/exchange/get-management-keys.h>
     58 #include <taler/exchange/post-management-keys.h>
     59 #include <taler/exchange/post-management-drain.h>
     60 #include \
     61   <taler/exchange/post-management-denominations-H_DENOM_PUB-revoke.h>
     62 #include <taler/exchange/post-management-signkeys-EXCHANGE_PUB-revoke.h>
     63 #include <taler/exchange/post-management-aml-officers.h>
     64 #include <taler/exchange/get-aml-OFFICER_PUB-measures.h>
     65 #include <taler/exchange/get-aml-OFFICER_PUB-kyc-statistics-NAMES.h>
     66 #include <taler/exchange/post-aml-OFFICER_PUB-decision.h>
     67 #include <taler/exchange/post-management-partners.h>
     68 #include <taler/exchange/post-management-auditors.h>
     69 #include <taler/exchange/post-management-auditors-AUDITOR_PUB-disable.h>
     70 #include <taler/exchange/post-management-wire.h>
     71 #include <taler/exchange/post-management-wire-disable.h>
     72 #include <taler/exchange/post-management-wire-fee.h>
     73 #include <taler/exchange/post-management-global-fees.h>
     74 #include <taler/exchange/post-auditors-AUDITOR_PUB-H_DENOM_PUB.h>
     75 #include <taler/exchange/get-contracts-CONTRACT_PUB.h>
     76 #include <taler/exchange/get-purses-PURSE_PUB-merge.h>
     77 #include <taler/exchange/post-purses-PURSE_PUB-create.h>
     78 #include <taler/exchange/delete-purses-PURSE_PUB.h>
     79 #include <taler/exchange/post-purses-PURSE_PUB-merge.h>
     80 #include <taler/exchange/post-reserves-RESERVE_PUB-purse.h>
     81 #include <taler/exchange/post-purses-PURSE_PUB-deposit.h>
     82 #include <taler/exchange/post-reserves-RESERVE_PUB-open.h>
     83 #include <taler/exchange/get-reserves-attest-RESERVE_PUB.h>
     84 #include <taler/exchange/post-reserves-attest-RESERVE_PUB.h>
     85 #include <taler/exchange/post-reserves-RESERVE_PUB-close.h>
     86 #include <taler/exchange/get-reserves-RESERVE_PUB.h>
     87 #include <taler/exchange/get-aml-OFFICER_PUB-legitimizations.h>
     88 #include \
     89   <taler/exchange/get-aml-OFFICER_PUB-attributes-H_NORMALIZED_PAYTO.h>
     90 #include <taler/exchange/get-aml-OFFICER_PUB-transfers-credit.h>
     91 #include <taler/exchange/get-aml-OFFICER_PUB-decisions.h>
     92 
     93 #endif  /* _TALER_EXCHANGE_SERVICE_H */