gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-api] branch master updated: update to new API


From: gnunet
Subject: [GNUnet-SVN] [taler-api] branch master updated: update to new API
Date: Tue, 30 Jan 2018 03:54:17 +0100

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository api.

The following commit(s) were added to refs/heads/master by this push:
     new 92d5b8a  update to new API
92d5b8a is described below

commit 92d5b8a707f1071c67ad992eb3f82422a43bf9b9
Author: Florian Dold <address@hidden>
AuthorDate: Tue Jan 30 03:54:10 2018 +0100

    update to new API
---
 api-merchant.rst | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/api-merchant.rst b/api-merchant.rst
index e7bd03b..6da8a52 100644
--- a/api-merchant.rst
+++ b/api-merchant.rst
@@ -144,7 +144,8 @@ Giving refunds
 
 .. http:post:: /refund
 
-  Increase the refund amount associated with a given order.
+  Increase the refund amount associated with a given order.  The user should be
+  redirected to the `refund_redirect_url` to trigger refund processing in the 
wallet.
 
   **Request**
 
@@ -186,8 +187,12 @@ Giving refunds
       // is being refunded.
       h_contract_terms: string;
 
-      //The signed refund permissions, to be sent to the exchange.
+      // The signed refund permissions, to be sent to the exchange.
       refund_permissions: MerchantRefundPermission[];
+
+      // URL (handled by the backend) that will
+      // trigger refund processing in the browser/wallet
+      refund_redirect_url: string;
     }
 
   .. _MerchantRefundPermission:
@@ -218,7 +223,10 @@ Giving tips to customers
 
 .. http:post:: /tip-authorize
 
-  Authorize a tip that can be picked up by the customer's wallet by POSTing to 
`/tip-pickup`.  Note that this is simply the authorization step the back office 
has to trigger first.  The frontend must return the tip's identifier (and 
exchange URL) via a "402 Payment Required" response to the wallet.
+  Authorize a tip that can be picked up by the customer's wallet by POSTing to
+  `/tip-pickup`.  Note that this is simply the authorization step the back
+  office has to trigger first.  The user should be navigated to the 
`tip_redirect_url`
+  to trigger tip processing in the wallet.
 
   **Request**
 
@@ -272,6 +280,10 @@ Giving tips to customers
 
       // URL of the exchange from where the tip can be withdrawn
       exchange_uri: String;
+
+      // URL that will directly trigger procesing
+      // the tip when the browser is redirected to it
+      tip_redirect_url: string;
     }
 
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]