commit 7bc5d970178114af353088b6c822d5d8fbcece6e parent 9e5545141f86be2f3577eef1684722e3dfb36c51 Author: Özgür Kesim <oec-taler@kesim.org> Date: Fri, 22 Mar 2024 11:03:16 +0100 api-merchant: add minimum_age to contract Diffstat:
| M | core/api-merchant.rst | | | 8 | ++++++++ |
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git 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