aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMS <ms@taler.net>2020-07-23 16:29:00 +0200
committerMS <ms@taler.net>2020-07-23 16:29:00 +0200
commit2a35da270ea925f65d84bd65785d1ea27a6f7705 (patch)
treeeb5a87c223ccc67aedcdbbbcb74504c110bffcf0 /bin
parent7685053d1d6376eb04e446ab42f4dc85e9e3179b (diff)
downloaddeployment-2a35da270ea925f65d84bd65785d1ea27a6f7705.tar.gz
deployment-2a35da270ea925f65d84bd65785d1ea27a6f7705.tar.bz2
deployment-2a35da270ea925f65d84bd65785d1ea27a6f7705.zip
PoS instance
Diffstat (limited to 'bin')
-rwxr-xr-xbin/taler-config-instances19
1 files changed, 19 insertions, 0 deletions
diff --git a/bin/taler-config-instances b/bin/taler-config-instances
index cc86243..20530be 100755
--- 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]
+)