commit b89886730f313fb9558a31bd958b00ba7754ed37
parent d4ba1e8bfdb4523b2dc1cfeea5a34fe0774efb9b
Author: Florian Dold <florian@dold.me>
Date: Sat, 30 May 2026 13:50:24 +0200
configure QR IBAN
Diffstat:
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/inventories/host_vars/rusty/vars.yml b/inventories/host_vars/rusty/vars.yml
@@ -42,6 +42,8 @@ EXCHANGE_PP_ETAG: "exchange-pp-v0"
EXCHANGE_BANK_ACCOUNT_BIC: "MAEBCHZZ"
# Full Payto URI of exchange account (for credit and debit)
EXCHANGE_BANK_ACCOUNT_IBAN: "CH6808573105529100001"
+# QR IBAN for prepared transfers
+exchange_qr_iban: "CH1130000001166556117"
# Full Payto URI of exchange account (for credit and debit)
EXCHANGE_BANK_ACCOUNT_PAYTO: "payto://iban/{{ EXCHANGE_BANK_ACCOUNT_IBAN }}?receiver-name=Taler+Operations+AG"
# Port to be used by libeufin-nexus for the taler-exchange-wire-gateway
diff --git a/roles/libeufin-nexus/templates/etc/libeufin/libeufin-nexus.conf.j2 b/roles/libeufin-nexus/templates/etc/libeufin/libeufin-nexus.conf.j2
@@ -33,7 +33,7 @@ BANK_DIALECT = {{ LIBEUFIN_NEXUS_BANK_DIALECT }}
# first place.
FREQUENCY = 300s
-{%if DEPLOYMENT_KIND == 'tops' %}
+{% if DEPLOYMENT_KIND == 'tops' %}
RESTRICTION_PAYTO_REGEX = payto://iban/CH.*
{%endif %}
@@ -53,5 +53,9 @@ ENABLED = YES
AUTH_METHOD = bearer
TOKEN = {{ ansible_local['libeufin-nexus-access-token'] }}
-# FIXME: is this supported by libeufin?
+{% if exchange_qr_iban is defined and exchange_qr_iban %}
+[nexus-ebics]
+QR_IBAN = {{ exchange_qr_iban }}
+{% endif %}
+
@inline-secret@ nexus-ebics libeufin-nexus-ebics.conf