summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/api-merchant.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index e1de4a66..516163de 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -1375,6 +1375,8 @@ Payment processing
// Details about why a refund failed.
interface RefundFailure {
+ // Used as tag for the sum type RefundStatus sum type.
+ success: false;
// HTTP status of the exchange request, must NOT be 200.
exchange_status: Integer;
@@ -1403,6 +1405,8 @@ Payment processing
// (``h_contract_terms`` and ``merchant_pub``) are already known
// to the wallet and thus not included.
interface RefundConfirmation {
+ // Used as tag for the sum type RefundStatus sum type.
+ success: true;
// HTTP status of the exchange request, 200 (integer) required for refund confirmations.
exchange_status: 200;