[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] branch master updated: spec merchant forget contract terms
From: |
gnunet |
Subject: |
[taler-docs] branch master updated: spec merchant forget contract terms |
Date: |
Fri, 17 Jul 2020 08:54:19 +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 8a4460b spec merchant forget contract terms
8a4460b is described below
commit 8a4460bfaaa22b0df490d621c35504690109874f
Author: Jonathan Buchanan <jonathan.russ.buchanan@gmail.com>
AuthorDate: Fri Jul 17 02:54:13 2020 -0400
spec merchant forget contract terms
---
core/api-merchant.rst | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index c56cff0..9be0b2d 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -1046,6 +1046,39 @@ Payment processing
}
+.. http:patch:: /private/orders/$ORDER_ID/forget
+
+ Forget fields in an order's contract terms that the merchant no
+ longer needs.
+
+ **Request:**
+
+ The request must be a `forget request <ForgetRequest>`. The fields specified
+ must have been marked as forgettable when the contract was created.
+
+ **Response:**
+
+ :status 200 OK:
+ The merchant deleted the specified fields from the contract of
+ order $ORDER_ID.
+ :status 400 Bad request:
+ The request is malformed or one of the paths is invalid.
+ :status 404 Not found:
+ The merchant backend could not find the order or the instance
+ and thus cannot process the abort request.
+ :status 409 Conflict:
+ The request includes a field that was not marked as forgettable, so
+ the merchant cannot delete that field.
+
+ .. ts:def:: ForgetRequest
+
+ interface ForgetRequest {
+
+ // Array of valid JSON paths to forgettable fields in the order's
+ // contract terms.
+ fields: string[];
+ }
+
.. http:get:: /private/orders/$ORDER_ID
--
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 merchant forget contract terms,
gnunet <=