merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

taler_merchant_service.h (5176B)


      1 /*
      2   This file is part of TALER
      3   Copyright (C) 2014-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 Lesser General Public License as published by the Free Software
      7   Foundation; either version 2.1, 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 Lesser General Public License for more details.
     12 
     13   You should have received a copy of the GNU Lesser General Public License along with
     14   TALER; see the file COPYING.LGPL.  If not, see
     15   <http://www.gnu.org/licenses/>
     16 */
     17 /**
     18  * @file src/include/taler/taler_merchant_service.h
     19  * @brief C interface of libtalermerchant, a C library to use merchant's HTTP API
     20  *        This library is not thread-safe, all APIs must only be used from a single thread.
     21  *        This library calls abort() if it runs out of memory. Be aware of these limitations.
     22  * @author Christian Grothoff
     23  * @author Priscilla Huang
     24  * @author Marcello Stanisci
     25  */
     26 #ifndef _TALER_MERCHANT_SERVICE_H
     27 #define _TALER_MERCHANT_SERVICE_H
     28 
     29 /**
     30  * Version of the Taler Merchant API, in hex.
     31  * Thus 1.6.0-0 = 0x01060000.
     32  */
     33 #define TALER_MERCHANT_API_VERSION 0x01060000
     34 
     35 #include <taler/merchant/common.h>
     36 #include <taler/merchant/get-config.h>
     37 #include <taler/merchant/get-management-instances.h>
     38 #include <taler/merchant/get-management-instances-INSTANCE.h>
     39 #include <taler/merchant/get-private-kyc.h>
     40 #include <taler/merchant/get-private-statistics-amount-SLUG.h>
     41 #include <taler/merchant/get-private-statistics-counter-SLUG.h>
     42 #include <taler/merchant/delete-management-instances-INSTANCE.h>
     43 #include <taler/merchant/patch-management-instances-INSTANCE.h>
     44 #include <taler/merchant/post-management-instances.h>
     45 #include <taler/merchant/post-management-instances-INSTANCE-auth.h>
     46 #include <taler/merchant/post-private-token.h>
     47 #include <taler/merchant/delete-private-token.h>
     48 #include <taler/merchant/delete-private-tokens-SERIAL.h>
     49 #include <taler/merchant/get-private-orders.h>
     50 #include <taler/merchant/post-private-orders.h>
     51 #include <taler/merchant/get-private-orders-ORDER_ID.h>
     52 #include <taler/merchant/get-orders-ORDER_ID.h>
     53 #include <taler/merchant/delete-private-orders-ORDER_ID.h>
     54 #include <taler/merchant/post-orders-ORDER_ID-abort.h>
     55 #include <taler/merchant/post-orders-ORDER_ID-claim.h>
     56 #include <taler/merchant/post-orders-ORDER_ID-paid.h>
     57 #include <taler/merchant/post-orders-ORDER_ID-pay.h>
     58 #include <taler/merchant/post-private-orders-ORDER_ID-refund.h>
     59 #include <taler/merchant/post-orders-ORDER_ID-refund.h>
     60 #include <taler/merchant/patch-private-orders-ORDER_ID-forget.h>
     61 #include <taler/merchant/get-private-products.h>
     62 #include <taler/merchant/get-private-products-PRODUCT_ID.h>
     63 #include <taler/merchant/post-private-products.h>
     64 #include <taler/merchant/patch-private-products-PRODUCT_ID.h>
     65 #include <taler/merchant/delete-private-products-PRODUCT_ID.h>
     66 #include <taler/merchant/post-private-products-PRODUCT_ID-lock.h>
     67 #include <taler/merchant/get-products-IMAGE_HASH-image.h>
     68 #include <taler/merchant/get-private-transfers.h>
     69 #include <taler/merchant/post-private-transfers.h>
     70 #include <taler/merchant/delete-private-transfers-TID.h>
     71 #include <taler/merchant/get-private-accounts.h>
     72 #include <taler/merchant/get-private-accounts-H_WIRE.h>
     73 #include <taler/merchant/post-private-accounts.h>
     74 #include <taler/merchant/patch-private-accounts-H_WIRE.h>
     75 #include <taler/merchant/delete-private-accounts-H_WIRE.h>
     76 #include <taler/merchant/get-private-otp-devices.h>
     77 #include <taler/merchant/get-private-otp-devices-DEVICE_ID.h>
     78 #include <taler/merchant/post-private-otp-devices.h>
     79 #include <taler/merchant/patch-private-otp-devices-DEVICE_ID.h>
     80 #include <taler/merchant/delete-private-otp-devices-DEVICE_ID.h>
     81 #include <taler/merchant/get-private-templates.h>
     82 #include <taler/merchant/get-private-templates-TEMPLATE_ID.h>
     83 #include <taler/merchant/post-private-templates.h>
     84 #include <taler/merchant/patch-private-templates-TEMPLATE_ID.h>
     85 #include <taler/merchant/delete-private-templates-TEMPLATE_ID.h>
     86 #include <taler/merchant/post-templates-TEMPLATE_ID.h>
     87 #include <taler/merchant/get-templates-TEMPLATE_ID.h>
     88 #include \
     89   <taler/merchant/get-private-tokenfamilies-TOKEN_FAMILY_SLUG.h>
     90 #include <taler/merchant/post-private-tokenfamilies.h>
     91 #include <taler/merchant/get-private-webhooks.h>
     92 #include <taler/merchant/get-private-webhooks-WEBHOOK_ID.h>
     93 #include <taler/merchant/post-private-webhooks.h>
     94 #include <taler/merchant/patch-private-webhooks-WEBHOOK_ID.h>
     95 #include <taler/merchant/delete-private-webhooks-WEBHOOK_ID.h>
     96 #include <taler/merchant/get-private-units.h>
     97 #include <taler/merchant/get-private-units-UNIT.h>
     98 #include <taler/merchant/post-private-units.h>
     99 #include <taler/merchant/patch-private-units-UNIT.h>
    100 #include <taler/merchant/delete-private-units-UNIT.h>
    101 #include <taler/merchant/post-private-categories.h>
    102 #include <taler/merchant/get-private-donau.h>
    103 #include <taler/merchant/post-private-donau.h>
    104 #include <taler/merchant/delete-private-donau-DONAU_SERIAL.h>
    105 
    106 #endif