[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] branch master updated: spec Gone response for order status
From: |
gnunet |
Subject: |
[taler-docs] branch master updated: spec Gone response for order status |
Date: |
Tue, 11 Aug 2020 14:43:03 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository docs.
The following commit(s) were added to refs/heads/master by this push:
new 6b8a9e9 spec Gone response for order status
6b8a9e9 is described below
commit 6b8a9e91d3c17ba57ba240d45df94b712658ddd8
Author: Florian Dold <florian.dold@gmail.com>
AuthorDate: Tue Aug 11 18:12:57 2020 +0530
spec Gone response for order status
---
core/api-merchant.rst | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index 381e17b..db1bf9c 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -1409,6 +1409,8 @@ Payment processing
The response is a `StatusUnpaidResponse`.
:status 403 Forbidden:
The ``h_contract`` (or the ``token`` for unclaimed orders) does not match
the order.
+ :status 410 Gone:
+ The response is a `StatusGoneResponse`.
:status 404 Not found:
The merchant backend is unaware of the order.
:status 406 Not Acceptable:
@@ -1436,7 +1438,7 @@ Payment processing
.. ts:def:: StatusUnpaidResponse
- interface StatusUnpaid {
+ interface StatusUnpaidResponse {
// URI that the wallet must process to complete the payment.
taler_pay_uri: string;
@@ -1446,6 +1448,15 @@ Payment processing
}
+ .. ts:def:: StatusGoneResponse
+
+ // The client tried to access the order via the claim
+ // token (and not a valid h_contract), but the order can't be claimed
+ // anymore, as it is already paid.
+ interface StatusGoneResponse {
+ // Fulfillment URL for the order.
+ fulfillment_url: string;
+ }
.. ts:def:: MerchantCoinRefundStatus
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-docs] branch master updated: spec Gone response for order status,
gnunet <=