[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-api] branch master updated: spec /refund lookup out
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-api] branch master updated: spec /refund lookup out |
Date: |
Tue, 20 Jun 2017 21:10:39 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository api.
The following commit(s) were added to refs/heads/master by this push:
new ea1bbfc spec /refund lookup out
ea1bbfc is described below
commit ea1bbfcb722089fc54d8cc6209381b1cf666c8b1
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Jun 20 21:10:34 2017 +0200
spec /refund lookup out
---
api-merchant.rst | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/api-merchant.rst b/api-merchant.rst
index c5ec07b..5563ed2 100644
--- a/api-merchant.rst
+++ b/api-merchant.rst
@@ -268,6 +268,43 @@ The following API are made available by the merchant's
`backend` to the merchant
sig: EddsaSignature
}
+.. http:get:: /refund
+
+ Shows the refund situation about a transaction
+
+ **Request**
+
+ :query instance: the merchant instance issuing the request
+ :query order_id: the order id whose refund situation is being queried
+
+ **Response**
+
+ If case of success, an *array of* `RefundLookup`_ objects is returned.
+
+ .. _RefundLookup:
+ .. code-block:: tsref
+
+ interface RefundLookup {
+
+ // Coin from which the refund is going to be taken
+ coin_pub: EddsaPublicKey;
+
+ // Refund amount taken from coin_pub
+ refund_amount: Amount;
+
+ // Refund fee
+ refund_fee: Amount;
+
+ // Identificator of the refund
+ rtransaction_id: number;
+
+ // Merchant public key
+ merchant_pub: EddsaPublicKey
+
+ // Merchant signature of a TALER_RefundRequestPS object
+ merchant_sig: EddsaSignature;
+ }
+
.. http:get:: /track/transfer
Provides deposits associated with a given wire transfer.
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-api] branch master updated: spec /refund lookup out,
gnunet <=