[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] branch master updated: QR code
From: |
gnunet |
Subject: |
[taler-docs] branch master updated: QR code |
Date: |
Fri, 11 Nov 2022 13:18:53 +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 dc3d0f9 QR code
dc3d0f9 is described below
commit dc3d0f992037caae566a4a4cbfaa6602b17a0619
Author: priscilla <priscilla.huang@efrei.net>
AuthorDate: Fri Nov 11 07:18:19 2022 -0500
QR code
---
core/api-merchant.rst | 37 ++++++++++++++++++++++++++++++-------
1 file changed, 30 insertions(+), 7 deletions(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index 6b654c0..31106df 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -2967,7 +2967,7 @@ Checking tip status
------------------
-Static QR code
+QR code
------------------
This section describe how the static QR code will be define.
@@ -2975,12 +2975,12 @@ The QR code will be used for the merchant who does not
have electronics devices.
The customers will be able to scan the QR code and will redirect to the
payment page.
-Create the static QR code
+Create statics QR code
------------------
-.. http:post:: [/instances/$INSTANCE]/public/staticQRcode
+.. http:post:: [/instances/$INSTANCE]/public/staticsQRcode
- Create a static QR code.
+ Create statics QR code.
If the merchant repeat, it will create another static QR code.
This is generally without danger but merchant may want to eventually delete
the unused
static QR code to avoid clutter.
@@ -2992,14 +2992,37 @@ Create the static QR code
The QR code has been successfully created.
:http:statuscode:`404 Not found`:
- The merchant is unknown.
+ The merchant is unknown. So, we cannot create static QR code.
:http:statuscode:`409 Conflict`:
- A QR code already exists for this store.
+ A QR code already exists for this store. There will have a lot of QR code
for one store.
+
+
+Create dynamics QR code
+------------------
+
+.. http:post:: [/instances/$INSTANCE]/public/dynamicsQRcode
+
+ Create dynamics QR code.
+ If the merchant repeat, it will create a real conflict. Dynamic QR code is
unique
+ for every merchant.
+
+
+ **Response:**
+
+ :http:statuscode:`200 Ok`:
+ The QR code has been successfully created.
+
+ :http:statuscode:`404 Not found`:
+ The merchant is unknown. So, we cannot create dynamic QR code.
+
+ :http:statuscode:`409 Conflict`:
+ A QR code already exists for this store. So, the creation of the QR code
is impossible.
+ One store have just one dynamic QR code.
-Scaning the static QR code
+Scaning the QR code
------------------
.. http:get:: [/instances/$INSTANCE]/public/QRcode/$QRcode_ID
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-docs] branch master updated: QR code,
gnunet <=