diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-03-05 10:15:43 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-03-05 10:15:43 +0100 |
commit | 3aa55f2b2bcd6aa28b2a85da2a9fe75c02b6d20b (patch) | |
tree | 4f246ddeeae34bbb040ce68cb1eb3c46560f9270 | |
parent | 5cebfc318511380fdb40aa63f112886045e4828a (diff) | |
download | docs-3aa55f2b2bcd6aa28b2a85da2a9fe75c02b6d20b.tar.gz docs-3aa55f2b2bcd6aa28b2a85da2a9fe75c02b6d20b.tar.bz2 docs-3aa55f2b2bcd6aa28b2a85da2a9fe75c02b6d20b.zip |
elaborate on account restrictions
-rw-r--r-- | libeufin/regional-custom-manual.rst | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/libeufin/regional-custom-manual.rst b/libeufin/regional-custom-manual.rst index a6060586..8477c18d 100644 --- 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 |