diff options
author | Christian Grothoff <grothoff@gnunet.org> | 2023-10-13 19:46:39 +0200 |
---|---|---|
committer | Christian Grothoff <grothoff@gnunet.org> | 2023-10-13 19:46:47 +0200 |
commit | 524f9418370652bfcf5940e83ebed183f76e5ccb (patch) | |
tree | c6b2bea474e5e909cb7a1f559e2f7c88fd1b1ef8 /core | |
parent | e2afaa97ae49d40bf82a81d8651d415a9d56a7c9 (diff) | |
download | docs-524f9418370652bfcf5940e83ebed183f76e5ccb.tar.gz docs-524f9418370652bfcf5940e83ebed183f76e5ccb.tar.bz2 docs-524f9418370652bfcf5940e83ebed183f76e5ccb.zip |
allow template to just require an amount
Diffstat (limited to 'core')
-rw-r--r-- | core/api-merchant.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/api-merchant.rst b/core/api-merchant.rst index 44e5023c..142e83f8 100644 --- a/core/api-merchant.rst +++ b/core/api-merchant.rst @@ -3307,6 +3307,13 @@ Adding templates // Human-readable summary for the template. summary?: string; + // Required currency for payments to the template. + // The user may specify any amount, but it must be + // in this currency. + // This parameter is optional and should not be present + // if "amount" is given. + currency?: string; + // The price is imposed by the merchant and cannot be changed by the customer. // This parameter is optional. amount?: Amount; |