commit c68c0de5c07f0ccf978d0784d6b41ccdac107d11
parent 508df0b0ff8de6c58c1cadec55c0596473438972
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 22 Jul 2021 17:06:09 +0200
-document another case for a 409
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
@@ -252,6 +252,8 @@ Making the payment
The exchange rejected the payment because a coin was already spent.
The response will include the ``coin_pub`` for which the payment failed,
in addition to the response from the exchange to the ``/deposit`` request.
+ Also returned if the currency of the deposit permissions does not match
+ the currency used by the merchant.
:http:statuscode:`410 Gone`:
The offer has expired and is no longer available.
:http:statuscode:`412 Precondition failed`:
@@ -2877,7 +2879,7 @@ The contract terms must have the following structure:
// Map from IETF BCP 47 language tags to localized fulfillment
// messages.
- fulfillment_message_i18n: { [lang_tag: string]: string };
+ fulfillment_message_i18n?: { [lang_tag: string]: string };
// Maximum total deposit fee accepted by the merchant for this contract.
max_fee: Amount;