aboutsummaryrefslogtreecommitdiff
path: root/core/api-merchant.rst
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-01-06 22:50:36 +0100
committerChristian Grothoff <christian@grothoff.org>2023-01-06 22:50:36 +0100
commitaac32217084215621a374f737dec5796838e1133 (patch)
tree6de6a23ee7d345558663401fe2de12acb30037c9 /core/api-merchant.rst
parent23200d98ed768d59c8c8272994242ba144e0a2b2 (diff)
downloaddocs-aac32217084215621a374f737dec5796838e1133.tar.gz
docs-aac32217084215621a374f737dec5796838e1133.tar.bz2
docs-aac32217084215621a374f737dec5796838e1133.zip
fix some syntax issues
Diffstat (limited to 'core/api-merchant.rst')
-rw-r--r--core/api-merchant.rst37
1 files changed, 12 insertions, 25 deletions
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index db0563e6..f686b302 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -3097,34 +3097,27 @@ Inspecting template
:http:statuscode:`404 Not found`:
The backend has does not know about the instance.
-
.. ts:def:: TemplateSummaryResponse
interface TemplateSummaryResponse {
- // List of templates that are present in our backend.
- templates_list: TemplateEntry[];
- }
-
-
+ // List of templates that are present in our backend.
+ templates_list: TemplateEntry[];
+ }
The `TemplatesEntry` object describes a template. It has the following structure:
-
-
.. ts:def:: TemplateEntry
interface TemplateEntry {
- // Template identifier, as found in the template.
- template_id: string;
-
- // Human-readable description for the template.
- template_description: string;
-
- }
+ // Template identifier, as found in the template.
+ template_id: string;
+ // Human-readable description for the template.
+ template_description: string;
+ }
.. http:get:: [/instances/$INSTANCE]/private/templates/$TEMPLATE_ID
@@ -3206,21 +3199,15 @@ Using template
// The amount entered by the customer.
amount?: Amount;
- }
-
+ }
.. ts:def:: UsingTemplateResponse
interface UsingTemplateResponse {
- // After enter the request. The user will be pay with a taler URL.
- taler_url: string;
- }
-
-
-
-
-
+ // After enter the request. The user will be pay with a taler URL.
+ taler_url: string;
+ }
--------