[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-merchant] 02/02: minor edits.
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-merchant] 02/02: minor edits. |
Date: |
Tue, 13 Mar 2018 11:15:34 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository merchant.
commit 54a4b4317b03bc616039aa5b5244c5d63bc801ea
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Mar 13 11:15:19 2018 +0100
minor edits.
---
doc/merchant-api.content.texi | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/doc/merchant-api.content.texi b/doc/merchant-api.content.texi
index bc16bec..a5b6389 100644
--- a/doc/merchant-api.content.texi
+++ b/doc/merchant-api.content.texi
@@ -532,7 +532,8 @@ This code snipped illustrates giving a tip:
TIP_REQ='
{"amount: "KUDOS:0.5",
"instance": "default",
- "justification": "User filled out survey"}
+ "justification": "User filled out survey",
+ "next_url": "https://merchant.com/thanks.html"}
'
curl -i -X POST 'https://backend.demo.taler.net/tip-authorize' \
@@ -554,7 +555,8 @@ curl -i -X POST
'https://backend.demo.taler.net/tip-authorize' \
>>> import requests
>>> tip_req = dict(amount="KUDOS:0.5",
... instance="default",
-... justification="User filled out survey")
+... justification="User filled out survey",
+... next_url="https://merchant.com/thanks.html")
>>> requests.post("https://backend.demo.taler.net/refund", json=tip_req,
... headers={"Authorization": "ApiKey sandbox"})
<Response [200]>
--
To stop receiving notification emails like this one, please contact
address@hidden