taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit fc65da690439643e799d46f2cfe295be4b5fef4a
parent dd2d6f96d1296ec1eeca3ebf58f9cd4932f7e13c
Author: priscilla <priscilla.huang@efrei.net>
Date:   Tue, 15 Nov 2022 08:23:24 -0500

Update

Diffstat:
Mcore/api-merchant.rst | 15++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/core/api-merchant.rst b/core/api-merchant.rst @@ -3109,6 +3109,7 @@ Adding templates } + Editing templates ----------------- @@ -3243,17 +3244,18 @@ Removing template -Adding public template ----------------------- + +Dynamic template +--------------- .. http:post:: [/instances/$INSTANCES]/templates/$TEMPLATE_ID - This is used to adding public template. This public template can be modified by everyone. + This dynamic template can be modified by everyone and will be used to create order. **Request:** - The request must be a `PublicTemplateDetails`. + The request must be a `DynamicTemplateDetails`. **Response:** @@ -3264,16 +3266,15 @@ Adding public template The merchant instance is unknown or it is not in our data. - .. ts:def:: PublicTemplateDetails + .. ts:def:: DynamicTemplateDetails - interface PublicTemplateDetails { + interface DynamicTemplateDetails { // Subject of the template subject: string; // The amount entered by the customer amount: Amount; - }