diff options
author | priscilla <priscilla.huang@efrei.net> | 2022-11-11 04:25:35 -0500 |
---|---|---|
committer | priscilla <priscilla.huang@efrei.net> | 2022-11-11 04:25:35 -0500 |
commit | fa8eb9fecd1158561a664f5d0dfd89402ab17615 (patch) | |
tree | 0418bd37cc539f0358e670a5b6f17385800fa6ba /core/api-merchant.rst | |
parent | c5d19436e03a6b415e572cb95f5cdd282c9c69c2 (diff) | |
download | docs-fa8eb9fecd1158561a664f5d0dfd89402ab17615.tar.gz docs-fa8eb9fecd1158561a664f5d0dfd89402ab17615.tar.bz2 docs-fa8eb9fecd1158561a664f5d0dfd89402ab17615.zip |
Static QR code
Diffstat (limited to 'core/api-merchant.rst')
-rw-r--r-- | core/api-merchant.rst | 25 |
1 files 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 ------------------ |