# This file is in the public domain. # These are default/sample settings for a merchant backend. # General settings for the backend. [merchant] # Default currency we use. CURRENCY = KUDOS # Use TCP or UNIX domain sockets? SERVE = tcp # Which HTTP port does the backend listen on? Only used if "SERVE" is 'tcp'. PORT = 9966 # Which IP address should we bind to? i.e. 127.0.0.1 or ::1 for loopback. # Can also be given as a hostname. We will bind to the wildcard (dual-stack) # if left empty. Only used if "SERVE" is 'tcp'. # BIND_TO = # Base URL of the merchant backend. Optional. If not given, the backend will determine # the Base URL based on X-Forwarded-* headers (hopefully) set by the reverse proxy. # BASE_URL = https://example.com/ # How long do we keep contract / payment information around after the # purchase (for tax records and other legal reasons). LEGAL_PRESERVATION = 11 years # Which unix domain path should we bind to? Only used if "SERVE" is 'unix'. UNIXPATH = ${TALER_RUNTIME_DIR}/merchant-httpd/merchant-http.sock # What should be the file access permissions (see chmod) for "UNIXPATH"? UNIXPATH_MODE = 660 # Ensure that merchant reports EVERY deposit confirmation to auditor. # Bad for performance, bad for the auditor, should only be enabled # for testing! FORCE_AUDIT = NO # Maximum wire fee to permit by default. You most certainly want to # adjust at least the currency. # DEFAULT_MAX_WIRE_FEE = "KUDOS:0.10" # Which fraction of an exessivly high wire fee is the customer expected # to cover? Must be a positive integer representing the expected # average number of transactions aggregated by exchanges. 1 is # always safe (financially speaking). DEFAULT_WIRE_FEE_AMORTIZATION = 1 # Which database backend do we use? DB = postgres # How long do we want the exchange to sit on wire transfers # for aggregation? WIRE_TRANSFER_DELAY = 3 week # How fast do we want customers to pay, i.e. how long will our # proposal be valid? DEFAULT_PAY_DEADLINE = 1 day