commit b842a4cbd9f60545171c479ccf95fdf591edb8f8
parent f07a0576f2ffeed8a13c59bf1056081aa5a965a2
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 2 Jan 2024 15:59:28 +0100
clarify this must be an object
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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