[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] branch master updated: Update
From: |
gnunet |
Subject: |
[taler-docs] branch master updated: Update |
Date: |
Tue, 15 Nov 2022 15:43:50 +0100 |
This is an automated email from the git hooks/post-receive script.
priscilla-huang pushed a commit to branch master
in repository docs.
The following commit(s) were added to refs/heads/master by this push:
new 7587fa2 Update
7587fa2 is described below
commit 7587fa2502d05c12230d4b1ae2dc659236817dc3
Author: priscilla <priscilla.huang@efrei.net>
AuthorDate: Tue Nov 15 09:43:33 2022 -0500
Update
---
core/api-merchant.rst | 33 ++++++++++++++++++++++++++++-----
1 file changed, 28 insertions(+), 5 deletions(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index ca7e035..2d3a365 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -3173,7 +3173,6 @@ Removing template
-
Dynamic template
----------------
@@ -3189,8 +3188,11 @@ Dynamic template
**Response:**
- :http:statuscode:`204 No content`:
- The creation of the public template is successful.
+ :http:statuscode:`200 OK`:
+ The creation of the dynamic template is successful. Returns a
`DynamicTemplateResponse`.
+ :http:statuscode:`202 Accepted`:
+ If the user use a browser, he should be redirected to the provided
locations to finish his order. The reponse will be an `RedirectTemplate`. After
being redirected, it will returns `DynamicTemplateResponse`.
+ If the user use the application Taler, he will not redirected to another
location.
:http:statuscode:`404 Not found`:
The merchant instance is unknown or it is not in our data.
@@ -3200,10 +3202,31 @@ Dynamic template
interface DynamicTemplateDetails {
// Subject of the template
- subject: string;
+ subject?: string;
// The amount entered by the customer
- amount: Amount;
+ amount?: Amount;
+ }
+
+
+ .. ts:def:: DynamicTemplateResponse
+
+ interface DynamicTemplateResponse {
+
+ // After enter the request. The user will be pay with QR code.
+ public_qrcode: string;
+
+ }
+
+
+ .. ts:def:: RedirectTemplate
+
+ interface RedirectTemplate {
+
+ // The user should go to the URL.
+ // He will be redirected to finish his order and pay on it.
+ public_url: string;
+
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-docs] branch master updated: Update, (continued)
- [taler-docs] branch master updated: Update, gnunet, 2022/11/15
- [taler-docs] branch master updated: Update, gnunet, 2022/11/15
- [taler-docs] branch master updated: Update, gnunet, 2022/11/15
- [taler-docs] branch master updated: Update, gnunet, 2022/11/15
- [taler-docs] branch master updated: Update, gnunet, 2022/11/15
- [taler-docs] branch master updated: Update, gnunet, 2022/11/15
- [taler-docs] branch master updated: Update, gnunet, 2022/11/15
- [taler-docs] branch master updated: Update, gnunet, 2022/11/15
- [taler-docs] branch master updated: Update, gnunet, 2022/11/15
- [taler-docs] branch master updated: Update, gnunet, 2022/11/15
- [taler-docs] branch master updated: Update,
gnunet <=
- [taler-docs] branch master updated: Update, gnunet, 2022/11/15
- [taler-docs] branch master updated: Update, gnunet, 2022/11/15
- [taler-docs] branch master updated: update, gnunet, 2022/11/25
- [taler-docs] branch master updated: update, gnunet, 2022/11/25
- [taler-docs] branch master updated: update, gnunet, 2022/11/25
- [taler-docs] branch master updated: update, gnunet, 2022/11/25
- [taler-docs] branch master updated: update, gnunet, 2022/11/25