summaryrefslogtreecommitdiff
path: root/core/api-merchant.rst
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-07-22 17:06:09 +0200
committerChristian Grothoff <christian@grothoff.org>2021-07-22 17:06:19 +0200
commitc68c0de5c07f0ccf978d0784d6b41ccdac107d11 (patch)
tree38c8ca8a60db1298655788d015ee1e4aa7a675bf /core/api-merchant.rst
parent508df0b0ff8de6c58c1cadec55c0596473438972 (diff)
downloaddocs-c68c0de5c07f0ccf978d0784d6b41ccdac107d11.tar.gz
docs-c68c0de5c07f0ccf978d0784d6b41ccdac107d11.tar.bz2
docs-c68c0de5c07f0ccf978d0784d6b41ccdac107d11.zip
-document another case for a 409
Diffstat (limited to 'core/api-merchant.rst')
-rw-r--r--core/api-merchant.rst4
1 files changed, 3 insertions, 1 deletions
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;