summaryrefslogtreecommitdiff
path: root/core/api-merchant.rst
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-01-02 15:59:28 +0100
committerChristian Grothoff <christian@grothoff.org>2024-01-02 15:59:33 +0100
commitb842a4cbd9f60545171c479ccf95fdf591edb8f8 (patch)
tree53883d4741bc1589a8bb6df2f1b042beaa258c82 /core/api-merchant.rst
parentf07a0576f2ffeed8a13c59bf1056081aa5a965a2 (diff)
downloaddocs-b842a4cbd9f60545171c479ccf95fdf591edb8f8.tar.gz
docs-b842a4cbd9f60545171c479ccf95fdf591edb8f8.tar.bz2
docs-b842a4cbd9f60545171c479ccf95fdf591edb8f8.zip
clarify this must be an object
Diffstat (limited to 'core/api-merchant.rst')
-rw-r--r--core/api-merchant.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index b5931a65..4b1b14fd 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -3843,7 +3843,8 @@ The contract terms must have the following structure:
// Extra data that is only interpreted by the merchant frontend.
// Useful when the merchant needs to store extra information on a
// contract without storing it separately in their database.
- extra?: any;
+ // Must really be an Object (not a string, integer, float or array).
+ extra?: Object;
}
The wallet must select an exchange that either the merchant accepts directly by