taler-rust

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

magnet-bank.conf (2484B)


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