gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-cashless2ecash] branch master updated: spec: enhance api response


From: gnunet
Subject: [taler-cashless2ecash] branch master updated: spec: enhance api response codes
Date: Wed, 06 Mar 2024 11:21:35 +0100

This is an automated email from the git hooks/post-receive script.

joel-haeberli pushed a commit to branch master
in repository cashless2ecash.

The following commit(s) were added to refs/heads/master by this push:
     new 74acaf3  spec: enhance api response codes
74acaf3 is described below

commit 74acaf3aa307368793035dadcd5dd409a7ba2104
Author: Joel-Haeberli <haebu@rubigen.ch>
AuthorDate: Wed Mar 6 11:21:30 2024 +0100

    spec: enhance api response codes
---
 specs/api-nonce2ecash.rst | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/specs/api-nonce2ecash.rst b/specs/api-nonce2ecash.rst
index eaac6a5..b12aa8a 100644
--- a/specs/api-nonce2ecash.rst
+++ b/specs/api-nonce2ecash.rst
@@ -88,7 +88,11 @@ operation (the ``WITHDRAWAL_ID``) to interact with the 
withdrawal operation and
   **Response:**
 
   :http:statuscode:`204 No content`:
-    The withdrawal was successfully registered
+    The withdrawal was successfully registered.
+  :http:statuscode:`400 Bad request`:
+    The ``WithdrawRegistration`` request was malformed or contained invalid 
parameters.
+  :http:statuscode:`500 Internal Server error`:
+    The registration of the withdrawal failed due to server side issues.
 
 .. http:post:: /withdrawal-operation/$WITHDRAWAL_ID
 
@@ -116,5 +120,9 @@ operation (the ``WITHDRAWAL_ID``) to interact with the 
withdrawal operation and
   :http:statuscode:`204 No content`:
     nonce2ecash received the ``PaymentNotification`` successfully and will 
further process
     the withdrawal.
+  :http:statuscode:`400 Bad request`:
+    The ``PaymentNotification`` request was malformed or contained invalid 
parameters.
   :http:statuscode:`404 Not found`:
     nonce2ecash does not have a withdrawal registered with the specified 
``WITHDRAWAL_ID``.
+  :http:statuscode:`500 Internal Server error`:
+    The ``PaymentNotification`` could not be processed due to server side 
issues.

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]