summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2024-03-22 11:03:16 +0100
committerÖzgür Kesim <oec-taler@kesim.org>2024-03-22 11:03:16 +0100
commit7bc5d970178114af353088b6c822d5d8fbcece6e (patch)
treea694ad065f59252361a45059191841f37edf6ed8
parent9e5545141f86be2f3577eef1684722e3dfb36c51 (diff)
downloaddocs-7bc5d970178114af353088b6c822d5d8fbcece6e.tar.gz
docs-7bc5d970178114af353088b6c822d5d8fbcece6e.tar.bz2
docs-7bc5d970178114af353088b6c822d5d8fbcece6e.zip
api-merchant: add minimum_age to contract
-rw-r--r--core/api-merchant.rst8
1 files changed, 8 insertions, 0 deletions
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