taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

commit fa8eb9fecd1158561a664f5d0dfd89402ab17615
parent c5d19436e03a6b415e572cb95f5cdd282c9c69c2
Author: priscilla <priscilla.huang@efrei.net>
Date:   Fri, 11 Nov 2022 04:25:35 -0500

Static QR code

Diffstat:
Mcore/api-merchant.rst | 25+++++++++++++++----------
1 file changed, 15 insertions(+), 10 deletions(-)

diff --git 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 ------------------