gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-docs] branch master updated: Static QR code


From: gnunet
Subject: [taler-docs] branch master updated: Static QR code
Date: Thu, 10 Nov 2022 17:56:28 +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 4d37848  Static QR code
4d37848 is described below

commit 4d3784833d51f29d055c8c810a54f02a48858d01
Author: priscilla <priscilla.huang@efrei.net>
AuthorDate: Thu Nov 10 11:55:48 2022 -0500

    Static QR code
---
 core/api-merchant.rst | 47 ++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 46 insertions(+), 1 deletion(-)

diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index d197c07..f225e0c 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -2953,7 +2953,7 @@ Checking tip status
 
   .. ts:def:: Tip
 
-    interface Tip {
+     interface Tip {
 
       // ID of the tip in the backend database.
       row_id: number;
@@ -2966,6 +2966,51 @@ Checking tip status
     }
 
 
+------------------
+Static QR code
+------------------
+
+This section describe how the static QR code will be define.
+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
+------------------
+
+.. http:post:: [/instances/$INSTANCE]/public/staticQRcode
+   Create a static 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
+
+
+   **Request:**
+
+
+   **Response:**
+
+
+
+
+Scaning the static QR code
+------------------
+
+.. http:get:: [/instances/$INSTANCE]/public/QRcode/$QRcode_ID
+   Scan the QR code to be redirected to an internet page.
+   In this internet page, customers need to enter a price and send the money.
+
+   **Response:**
+ 
+   :http:statuscode:'200 OK':
+     The QR code directs us successfully to the payment website.
+
+   :http:statuscode:'404 Not found':
+     The QR code is unknown to the backend.
+
+
+
+
 
 ------------------
 The Contract Terms

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]