commit d56340472832041383572e81517470fa93e9127f
parent ece354edbceb6a8708642c4f1a55ac6af8b56231
Author: Christian Grothoff <christian@grothoff.org>
Date: Sun, 19 Jul 2020 00:45:45 +0200
document 409 case, add session_id optional argument to /paid specification
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
@@ -976,6 +976,8 @@ Payment processing
:status 404 Not found:
The merchant backend could not find the order or the instance
and thus cannot process the request.
+ :status 409 Conflict:
+ The provided contract hash does not match this order.
.. ts:def:: PaidRequest
@@ -988,6 +990,9 @@ Payment processing
// wallet/customer and to enable signature verification without
// database access).
h_contract: HashCode;
+
+ // Session id for which the payment is proven. Optional.
+ session_id?: string;
}
.. _order-abort: