commit a7dd26c4987f645a99c80d9c6771eac6dd807190
parent 991e5d2c1dcd6aa88e8944a254633b5f5fe5d15d
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 8 Apr 2023 09:58:54 +0200
address /pay documentation for #6952
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
@@ -252,9 +252,11 @@ Making the payment
The backend took too long to process the request. Likely the merchant's connection
to the exchange timed out. Try again.
:http:statuscode:`409 Conflict`:
- The exchange rejected the payment because a coin was already spent, or
+ The exchange rejected the payment because a coin was already spent (or
+ used in a different way for the same purchase previously), or
the merchant rejected the payment because the order was already fully paid
- (and then return signatures with refunds). If a coin was already spent,
+ (and then return signatures with refunds). If a coin was already spent
+ (this includes re-using the same coin after a refund),
the response will include the ``exchange_url`` for which the payment failed,
in addition to the response from the exchange to the ``/batch-deposit`` request.
:http:statuscode:`410 Gone`: