gnunet-svn
[Top][All Lists]
Advanced

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

[taler-docs] branch master updated: mechant API: add undeposited respons


From: gnunet
Subject: [taler-docs] branch master updated: mechant API: add undeposited response for abort refunds
Date: Tue, 07 Jan 2025 19:33:55 +0100

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 309632dc mechant API: add undeposited response for abort refunds
309632dc is described below

commit 309632dc2cd797aa01a8c2a0e11242d160e3beec
Author: Florian Dold <florian@dold.me>
AuthorDate: Tue Jan 7 19:33:53 2025 +0100

    mechant API: add undeposited response for abort refunds
---
 core/api-merchant.rst | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index 9417bc34..5d2c7b83 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -834,6 +834,7 @@ are for incomplete payments for an order and never for 
established contracts.
 
     type MerchantAbortPayRefundStatus =
       | MerchantAbortPayRefundSuccessStatus
+      | MerchantAbortPayRefundUndepositedStatus
       | MerchantAbortPayRefundFailureStatus;
 
   .. ts:def:: MerchantAbortPayRefundFailureStatus
@@ -877,6 +878,15 @@ are for incomplete payments for an order and never for 
established contracts.
       exchange_pub: EddsaPublicKey;
     }
 
+  .. ts:def:: MerchantAbortPayRefundUndepositedStatus
+
+    // The merchant didn't deposit the coin in the first place,
+    // no refund possible.
+    interface MerchantAbortPayRefundSuccessStatus {
+      // Used as tag for the sum type MerchantCoinRefundStatus sum type.
+      type: "undeposited";
+    }
+
 
 Obtaining refunds
 -----------------

-- 
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]