taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit 3aa55f2b2bcd6aa28b2a85da2a9fe75c02b6d20b
parent 5cebfc318511380fdb40aa63f112886045e4828a
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue,  5 Mar 2024 10:15:43 +0100

elaborate on account restrictions

Diffstat:
Mlibeufin/regional-custom-manual.rst | 21++++++++++++++++-----
1 file changed, 16 insertions(+), 5 deletions(-)

diff --git a/libeufin/regional-custom-manual.rst b/libeufin/regional-custom-manual.rst @@ -94,12 +94,24 @@ the possibility of currency conversion (cash in): enable-account \ payto://iban/$IBAN?receiver-name=$NAME \ conversion-url "$CONVERSION_URL" \ - # restrictions ... + debit-restriction \ + deny \ + credit-restriction \ + regex \ + 'payto://iban/.*/CH.*?receiver-name=.*' \ + 'Swiss only' \ + '{ "de" : "nur Schweiz", \ + "fr" : "Suisse uniquement" }' upload Here, the ``$CONVERSION_URL`` must be set to the base URL of the conversion -endpoint of the bank, which should be ``https://bank.$DOMAIN/conversion-info/`` -in our setup. +endpoint of the bank, which should be +``https://bank.$DOMAIN/conversion-info/`` in our setup. Note that you can +leave out the "credit-restriction" if you want to allow international inbound +wire transfers. The "debit-restriction" is largely mandatory as in this setup +the taler-exchange-transfer is only configured to deal with the regional +currency bank. Crediting fiat bank accounts must thus be done via the +cash-out functionality of the regional currency bank account. .. note:: @@ -149,4 +161,4 @@ Make sure to restart taler-exchange after changing these configuration options: # systemctl restart taler-exchange.target -.. include:: ../frags/regional-manual-use.rst -\ No newline at end of file +.. include:: ../frags/regional-manual-use.rst