summaryrefslogtreecommitdiff
path: root/api-merchant.rst
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-12-09 12:38:46 +0100
committerFlorian Dold <florian.dold@gmail.com>2017-12-09 12:40:05 +0100
commit4e79fd492ec1360c34eaeb1d4ba996f7bb65bb6d (patch)
treede17cd47c3900e1260693ef3d30a3bdbbf3b32bb /api-merchant.rst
parent12447106f6c29ffdb2e5d4ee7fd3abe09a1d117d (diff)
downloaddocs-4e79fd492ec1360c34eaeb1d4ba996f7bb65bb6d.tar.gz
docs-4e79fd492ec1360c34eaeb1d4ba996f7bb65bb6d.tar.bz2
docs-4e79fd492ec1360c34eaeb1d4ba996f7bb65bb6d.zip
Revert accidental bad merge
This reverts commit 12447106f6c29ffdb2e5d4ee7fd3abe09a1d117d, reversing changes made to fd0e5260107f6c418659808b2620484332afd774.
Diffstat (limited to 'api-merchant.rst')
-rw-r--r--api-merchant.rst20
1 files changed, 1 insertions, 19 deletions
diff --git a/api-merchant.rst b/api-merchant.rst
index 6330f3c8..996bbb32 100644
--- a/api-merchant.rst
+++ b/api-merchant.rst
@@ -239,11 +239,6 @@ The following API are made available by the merchant's `backend` to the merchant
// can do order processing without a second lookup on
// a successful payment
proposal: Proposal;
-
- // Refund permissions for the order. This array will only
- // be non-empty when this payment is a replay and a refund happened
- // between the first successful payment request and a refund.
- refund_permissions: RefundPermission[];
}
.. http:post:: /refund
@@ -298,25 +293,12 @@ The following API are made available by the merchant's `backend` to the merchant
**Response**
- :status 200 OK:
- Refund loopup was successful. The backend responds with a `RefundLookupResponse`_ object.
- If there were no refunds for a contract, the array of refund permissions is empty.
- :status 404 Not Found:
- The transaction was not found. Note that this is *not* the same as
- there being no refunds for the transaction.
+ If case of success, an *array of* `RefundLookup`_ objects is returned.
.. _RefundLookup:
.. code-block:: tsref
-<<<<<<< HEAD
- interface RefundLookupResponse {
- refund_permissions: RefundPermission[];
- }
-
- interface RefundPermission {
-=======
interface RefundLookup {
->>>>>>> fd0e5260107f6c418659808b2620484332afd774
// Coin from which the refund is going to be taken
coin_pub: EddsaPublicKey;