gnunet-svn
[Top][All Lists]
Advanced

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

[taler-docs] branch master updated: change wallet refund spec


From: gnunet
Subject: [taler-docs] branch master updated: change wallet refund spec
Date: Sun, 16 Aug 2020 00:22:39 +0200

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

jonathan-buchanan pushed a commit to branch master
in repository docs.

The following commit(s) were added to refs/heads/master by this push:
     new 002eea9  change wallet refund spec
002eea9 is described below

commit 002eea95b8fd5b6acdcccc9d5b93cdafde3d7075
Author: Jonathan Buchanan <jonathan.russ.buchanan@gmail.com>
AuthorDate: Sat Aug 15 18:22:28 2020 -0400

    change wallet refund spec
---
 core/api-merchant.rst | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index cff71d0..f576e10 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -1428,9 +1428,6 @@ Payment processing
       // Amount that was refunded in total.
       refund_amount: Amount;
 
-      // Public key of the merchant.
-      merchant_pub: EddsaPublicKey;
-
     }
 
   .. ts:def:: StatusUnpaidResponse
@@ -1527,23 +1524,31 @@ Giving Refunds
 
   **Request:**
 
-  :query h_contract=HASH: hash of the order's contract terms (this is used to 
authenticate the wallet/customer in case $ORDER_ID is guessable). Required.
+  The request body is a `WalletRefundRequest` object.
 
   **Response:**
 
   :status 200 OK:
     The response is a `WalletRefundResponse`.
+  :status 204 No content:
+    There are no refunds for the order.
   :status 403 Forbidden:
     The ``h_contract`` does not match the order.
   :status 404 Not found:
     The merchant backend is unaware of the order.
 
+  .. ts:def:: WalletRefundRequest
+
+    interface WalletRefundRequest {
+      // hash of the order's contract terms (this is used to authenticate the
+      // wallet/customer).
+      h_contract: HashCode;
+
+    }
+
   .. ts:def:: WalletRefundResponse
 
     interface WalletRefundResponse {
-      // Was the payment refunded (even partially, via refund or abort)?
-      refunded: boolean;
-
       // Amount that was refunded in total.
       refund_amount: Amount;
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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