From 8f9558c8270f85d7b9f64542e71b8f26012a7996 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 26 Oct 2020 12:06:21 +0100 Subject: document status codes correctly --- core/api-merchant.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'core/api-merchant.rst') diff --git a/core/api-merchant.rst b/core/api-merchant.rst index a1c99038..809bcbf1 100644 --- a/core/api-merchant.rst +++ b/core/api-merchant.rst @@ -657,7 +657,7 @@ Payment processing :ts:type:`PostOrderResponse`. :status 404 Not found: The order given used products from the inventory, but those were not found - in the inventory. Or the merchant instance is unknown. Details in the + in the inventory. Or the merchant instance is unknown (including possibly the instance being not configured for new orders). Details in the error code. NOTE: no good way to find out which product is not in the inventory, we MAY want to specify that in the reply. :status 409 Conflict: @@ -932,8 +932,7 @@ Payment processing :status 403 Forbidden: One of the coin signatures was not valid. :status 404 Not found: - The merchant backend could not find the order or the instance - and thus cannot process the payment. + The merchant backend could not find the order or the instance and thus cannot process the payment. :status 406 Not Acceptable: The payment is insufficient (sum is below the required total amount). :status 408 Request Timeout: -- cgit v1.2.3