From 54a4b4317b03bc616039aa5b5244c5d63bc801ea Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Tue, 13 Mar 2018 11:15:19 +0100 Subject: minor edits. --- doc/merchant-api.content.texi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/merchant-api.content.texi b/doc/merchant-api.content.texi index bc16bec3..a5b63896 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"}) -- cgit v1.2.3