From fa8eb9fecd1158561a664f5d0dfd89402ab17615 Mon Sep 17 00:00:00 2001 From: priscilla Date: Fri, 11 Nov 2022 04:25:35 -0500 Subject: Static QR code --- core/api-merchant.rst | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/core/api-merchant.rst b/core/api-merchant.rst index 1a0caefd..6b654c05 100644 --- a/core/api-merchant.rst +++ b/core/api-merchant.rst @@ -2979,17 +2979,23 @@ 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:** + 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. **Response:** + :http:statuscode:`200 Ok`: + The QR code has been successfully created. + + :http:statuscode:`404 Not found`: + The merchant is unknown. + + :http:statuscode:`409 Conflict`: + A QR code already exists for this store. @@ -2997,8 +3003,9 @@ 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. + + 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:** @@ -3010,8 +3017,6 @@ Scaning the static QR code - - ------------------ The Contract Terms ------------------ -- cgit v1.2.3