From c68c0de5c07f0ccf978d0784d6b41ccdac107d11 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 22 Jul 2021 17:06:09 +0200 Subject: -document another case for a 409 --- core/api-merchant.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'core/api-merchant.rst') diff --git a/core/api-merchant.rst b/core/api-merchant.rst index 1d359fe5..3bbd07d9 100644 --- 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; -- cgit v1.2.3