taler-rust

GNU Taler code in Rust. Largely core banking integrations.
Log | Files | Refs | Submodules | README | LICENSE

magnet-bank.conf (2530B)


      1 [magnet-bank]
      2 # IBAN of the Magnet Bank account to sync
      3 IBAN =
      4 
      5 # Legal entity that is associated with the Magnet Bank account
      6 NAME = 
      7 
      8 [magnet-bank-worker]
      9 # How often should worker run
     10 FREQUENCY = 1m
     11 
     12 # URL of the Magnet Bank API server
     13 API_URL = "https://mobil.magnetbank.hu"
     14 
     15 # Your Magnet Bank API unique identifier
     16 # CONSUMER_KEY = "Consumer"
     17 
     18 # Your Magnet Bank API confidential key
     19 # CONSUMER_SECRET = "qikgjxc5y06tiil7qgrmh09l7rfi5a8e"
     20 
     21 # File that holds the crypto keys and access token.
     22 # KEYS_FILE = ${MAGNET_BANK_HOME}/keys.json
     23 
     24 # Specify the account type and therefore the indexing behavior.
     25 # This can either can be normal or exchange.
     26 # Exchange accounts bounce invalid incoming Taler transactions.
     27 ACCOUNT_TYPE = exchange
     28 
     29 # Ignore all transactions prior to a certain date, useful when you want to use an existing account with old transactions that should not be bounced.
     30 # IGNORE_TRANSACTIONS_BEFORE = YYYY-MM-DD
     31 
     32 # Ignore all malformed transactions prior to a certain date, useful when you want to import old transactions without bouncing the malformed ones a second time
     33 # IGNORE_BOUNCES_BEFORE = YYYY-MM-DD
     34   
     35 [magnet-bank-httpd]
     36 # How "taler-magnet-bank serve" serves its API, this can either be tcp or unix
     37 SERVE = tcp
     38 
     39 # Port on which the HTTP server listens, e.g. 9967. Only used if SERVE is tcp.
     40 PORT = 8080
     41 
     42 # Which IP address should we bind to?  E.g. ``127.0.0.1`` or ``::1``for loopback. Only used if SERVE is tcp.
     43 BIND_TO = 0.0.0.0
     44 
     45 # Which unix domain path should we bind to? Only used if SERVE is unix.
     46 # UNIXPATH = libeufin-bank.sock
     47 
     48 # What should be the file access permissions for UNIXPATH? Only used if SERVE is unix.
     49 # UNIXPATH_MODE = 660
     50 
     51 [magnet-bank-httpd-wire-gateway-api]
     52 # Whether to serve the Wire Gateway API
     53 ENABLED = NO
     54 
     55 # Authentication scheme, this can either can be basic, bearer or none.
     56 AUTH_METHOD = bearer
     57 
     58 # User name for basic authentication scheme
     59 # USERNAME =
     60 
     61 # Password for basic authentication scheme
     62 # PASSWORD =
     63 
     64 # Token for bearer authentication scheme
     65 TOKEN =
     66 
     67 
     68 [magnet-bank-httpd-revenue-api]
     69 # Whether to serve the Revenue API
     70 ENABLED = NO
     71 
     72 # Authentication scheme, this can either can be basic, bearer or none.
     73 AUTH_METHOD = bearer
     74 
     75 # User name for basic authentication scheme
     76 # USERNAME =
     77 
     78 # Password for basic authentication scheme
     79 # PASSWORD =
     80 
     81 # Token for bearer authentication scheme
     82 TOKEN =
     83 
     84 
     85 [magnet-bankdb-postgres]
     86 # DB connection string
     87 CONFIG = postgres:///taler-magnet-bank
     88 
     89 # Where are the SQL files to setup our tables?
     90 SQL_DIR = ${DATADIR}/sql/