From 39ed0035291f0fe238eb1f600313f987849018f2 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 1 Sep 2023 15:21:58 +0200 Subject: adapt to latest API changes --- src/cli/test_anastasis_reducer_enter_secret.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/cli/test_anastasis_reducer_enter_secret.sh') diff --git a/src/cli/test_anastasis_reducer_enter_secret.sh b/src/cli/test_anastasis_reducer_enter_secret.sh index 6a52668..cbd337a 100755 --- a/src/cli/test_anastasis_reducer_enter_secret.sh +++ b/src/cli/test_anastasis_reducer_enter_secret.sh @@ -145,9 +145,11 @@ echo "OK" echo -n "Configuring merchant instance ..." # Setup merchant +curl -H "Content-Type: application/json" -X POST -d '{"auth":{"method":"external"},"id":"default","name":"default","user_type":"business","address":{},"jurisdiction":{},"use_stefan":true,"default_wire_transfer_delay":{"d_us" : 3600000000},"default_pay_delay":{"d_us": 3600000000}}' http://localhost:9966/management/instances -curl -H "Content-Type: application/json" -X POST -d '{"auth":{"method":"external"},"accounts":[{"payto_uri":"'"$MERCHANT_PAYTO"'"}],"id":"default","name":"default","user_type":"business","address":{},"jurisdiction":{},"use_stefan":true,"default_wire_transfer_delay":{"d_us" : 3600000000},"default_pay_delay":{"d_us": 3600000000}}' http://localhost:9966/management/instances +curl -H "Content-Type: application/json" -X POST -d '{"payto_uri":"'"$MERCHANT_PAYTO"'"}' http://localhost:9966/private/accounts + echo " DONE" -- cgit v1.2.3