[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] branch master updated: spec protocol v13 for #8638
From: |
gnunet |
Subject: |
[taler-docs] branch master updated: spec protocol v13 for #8638 |
Date: |
Mon, 18 Mar 2024 23:24:04 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository docs.
The following commit(s) were added to refs/heads/master by this push:
new 6f68e4f3 spec protocol v13 for #8638
6f68e4f3 is described below
commit 6f68e4f3f922370763d8bafbbabdc13027c6a04f
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Mar 18 23:24:00 2024 +0100
spec protocol v13 for #8638
---
core/api-merchant.rst | 24 +++++++++++++++++++++---
1 file changed, 21 insertions(+), 3 deletions(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index efc2d5b9..ef745dc2 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -123,7 +123,7 @@ such as the implemented version of the protocol and the
currency used.
.. http:get:: /config
Return the protocol version and currency supported by this merchant backend.
- This specification corresponds to ``current`` protocol being version **12**.
+ This specification corresponds to ``current`` protocol being version **13**.
**Response:**
@@ -2895,9 +2895,27 @@ Adding templates
// This parameter is optional.
otp_id?: string;
- // Additional information in a separate template.
+ // Fixed contract information for orders created from
+ // this template.
template_contract: TemplateContractDetails;
- }
+
+ // Key-value pairs matching a subset of the
+ // fields from `template_contract` that are
+ // user-editable defaults for this template.
+ // Since protocol **v13**.
+ editable_defaults: Object;
+
+ // Required currency for payments. Useful if no
+ // amount is specified in the `template_contract`
+ // but the user should be required to pay in a
+ // particular currency anyway. Merchant backends
+ // may reject requests if the `template_contract`
+ // or `editable_defaults` do
+ // specify an amount in a different currency.
+ // This parameter is optional.
+ // Since protocol **v13**.
+ required_currency?: string;
+ }
.. ts:def:: TemplateContractDetails
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-docs] branch master updated: spec protocol v13 for #8638,
gnunet <=