From 7bc5d970178114af353088b6c822d5d8fbcece6e Mon Sep 17 00:00:00 2001 From: Özgür Kesim Date: Fri, 22 Mar 2024 11:03:16 +0100 Subject: api-merchant: add minimum_age to contract --- core/api-merchant.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/core/api-merchant.rst b/core/api-merchant.rst index d9c6611f..6da09f05 100644 --- a/core/api-merchant.rst +++ b/core/api-merchant.rst @@ -3700,6 +3700,14 @@ The contract terms must have the following structure: // contract without storing it separately in their database. // Must really be an Object (not a string, integer, float or array). extra?: Object; + + // Minimum age the buyer must have (in years). Default is 0. + // This value is at least as large as the maximum over all + // mimimum age requirements of the products in this contract. + // It might also be set independent of any product, due to + // legal requirements. + minimum_age?: Integer; + } The wallet must select an exchange that either the merchant accepts directly by -- cgit v1.2.3