merchant.conf (2257B)
1 # This file is in the public domain. 2 3 # These are default/sample settings for a merchant backend. 4 5 6 # General settings for the backend. 7 [merchant] 8 9 # Default currency we use. 10 CURRENCY = KUDOS 11 12 # Use TCP or UNIX domain sockets? 13 SERVE = tcp 14 15 # Which HTTP port does the backend listen on? Only used if "SERVE" is 'tcp'. 16 PORT = 9966 17 18 # Which IP address should we bind to? i.e. 127.0.0.1 or ::1 for loopback. 19 # Can also be given as a hostname. We will bind to the wildcard (dual-stack) 20 # if left empty. Only used if "SERVE" is 'tcp'. 21 # BIND_TO = 22 23 # Base URL of the merchant backend. Optional. If not given, the backend will determine 24 # the Base URL based on X-Forwarded-* headers (hopefully) set by the reverse proxy. 25 # BASE_URL = https://example.com/ 26 27 # How long do we keep contract / payment information around after the 28 # purchase (for tax records and other legal reasons). 29 LEGAL_PRESERVATION = 11 years 30 31 32 # Which unix domain path should we bind to? Only used if "SERVE" is 'unix'. 33 UNIXPATH = ${TALER_RUNTIME_DIR}/httpd/merchant-http.sock 34 # What should be the file access permissions (see chmod) for "UNIXPATH"? 35 UNIXPATH_MODE = 660 36 37 # Ensure that merchant reports EVERY deposit confirmation to auditor. 38 # Bad for performance, bad for the auditor, should only be enabled 39 # for testing! 40 FORCE_AUDIT = NO 41 42 # Maximum wire fee to permit by default. You most certainly want to 43 # adjust at least the currency. 44 # DEFAULT_MAX_WIRE_FEE = "KUDOS:0.10" 45 46 # Which fraction of an exessivly high wire fee is the customer expected 47 # to cover? Must be a positive integer representing the expected 48 # average number of transactions aggregated by exchanges. 1 is 49 # always safe (financially speaking). 50 DEFAULT_WIRE_FEE_AMORTIZATION = 1 51 52 # Which database backend do we use? 53 DB = postgres 54 55 # How long do we want the exchange to sit on wire transfers 56 # for aggregation? 57 WIRE_TRANSFER_DELAY = 3 week 58 59 # How fast do we want customers to pay, i.e. how long will our 60 # proposal be valid? 61 DEFAULT_PAY_DEADLINE = 1 day 62 63 [merchant-kyccheck] 64 65 # How long do we wait between AML status requests to the 66 # exchange if we expect a status change? 67 AML_FREQ = 6h 68 69 # How long do we wait between AML status requests to the 70 # exchange if we do not expect any AML status changes? 71 AML_LOW_FREQ = 7d