commit 2a35da270ea925f65d84bd65785d1ea27a6f7705
parent 7685053d1d6376eb04e446ab42f4dc85e9e3179b
Author: MS <ms@taler.net>
Date: Thu, 23 Jul 2020 16:29:00 +0200
PoS instance
Diffstat:
1 file changed, 19 insertions(+), 0 deletions(-)
diff --git a/bin/taler-config-instances b/bin/taler-config-instances
@@ -62,6 +62,20 @@ survey_config = dict(
default_pay_delay=dict(d_ms="forever")
)
+print("configuring PoS")
+pos_config = dict(
+ payto_uris=["payto://x-taler-bank/"],
+ id="pos",
+ name="PoS",
+ address=dict(),
+ jurisdiction=dict(),
+ default_max_wire_fee="EUR:1",
+ default_wire_fee_amortization=3,
+ default_max_deposit_fee="EUR:1",
+ default_wire_transfer_delay=dict(d_ms="forever"),
+ default_pay_delay=dict(d_ms="forever")
+)
+
expectResponse(
post(INSTANCE_CONFIG_URL, json=blog_config, headers={"Authorization": "ApiKey sandbox"}),
[204, 409]
@@ -76,3 +90,8 @@ expectResponse(
post(INSTANCE_CONFIG_URL, json=survey_config, headers={"Authorization": "ApiKey sandbox"}),
[204, 409]
)
+
+expectResponse(
+ post(INSTANCE_CONFIG_URL, json=pos_config, headers={"Authorization": "ApiKey sandbox"}),
+ [204, 409]
+)