commit 870ab01032c56222225e80ea7861e911b4fc0048
parent 196c6010bc21cb1e9002f220c4da2acca80b2b64
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 4 Dec 2025 22:28:03 +0100
for #10695: add 410 to indicate refund past wire deadline
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
@@ -172,7 +172,7 @@ such as the implemented version of the protocol and the currency used.
.. http:get:: /config
Return the protocol version and currency supported by this merchant backend.
- This specification corresponds to ``current`` protocol being version **v23**.
+ This specification corresponds to ``current`` protocol being version **v24**.
**Response:**
@@ -1260,6 +1260,9 @@ the contract. Refunds must be approved by the merchant's business logic.
The ``h_contract`` does not match the order.
:http:statuscode:`404 Not found`:
The merchant backend is unaware of the order.
+ :http:statuscode:`410 Gone`:
+ The wire deadline has past and it is too late to grant a refund.
+ Since protocol **v24**.
:http:statuscode:`451 Unavailable for Legal Reasons`:
The refund could not be awarded because of legal
reasons (an exchange refused). The wallet should