{"id":1229,"date":"2018-09-17T18:27:18","date_gmt":"2018-09-17T10:27:18","guid":{"rendered":"https:\/\/tongwing.woon.sg\/blog\/?p=1229"},"modified":"2022-06-06T08:35:23","modified_gmt":"2022-06-06T00:35:23","slug":"on-sgqr-code","status":"publish","type":"post","link":"https:\/\/tongwing.woon.sg\/blog\/on-sgqr-code\/","title":{"rendered":"On SGQR, Singapore&#8217;s unified QR code payment system"},"content":{"rendered":"<h2>What is it?<\/h2>\n<p>The so-called unified QR code is <a href=\"https:\/\/www.channelnewsasia.com\/news\/singapore\/sgqr-qr-code-cashless-payment-singapore-rolls-out-unified-10727568\">finally out<\/a>.<\/p>\n<p>SGQR code is purportedly Singapore&#8217;s effort in &#8220;unifying&#8221; the fragmented e-payment market &#8211; what with DBS PayLah!, Singtel Dash, Grab Pay, LiquidPay, AliPay etc coming into the fray.<\/p>\n<p><a href=\"http:\/\/www.mas.gov.sg\/sgqr\/index.html\">MAS says<\/a>:<\/p>\n<blockquote><p>For consumers<\/p>\n<p>Your current payment app probably works with SGQR already. All you need to do at the merchant checkout is:<\/p>\n<p>\u2022 PICK and launch your preferred payment app<br \/>\n\u2022 SCAN the SGQR and check the merchant name<br \/>\n\u2022 PAY the correct amount<\/p><\/blockquote>\n<p>In other words, ideally a consumer can use his\/her preferred payment app to make payment to a merchant through SGQR.<\/p>\n<h2>How well has it achieved its goals?<\/h2>\n<p>There are some upsides and some downsides. On the upside, consumer will only see one QR code per merchant. So it is less confusing compared to now where the payer have to carefully match the array of QR codes being shown to the right app.<\/p>\n<p>On the downside, while the SGQR specification <em>can<\/em> enable multiple e-payment providers, merchants are <em>unlikely<\/em> to sign up with ALL of them (up to 27 payment schemes). So you can end up in a situation where you see a SGQR code but are unable to use your preferred payment app (say Grab Pay) to make payment. The payer have to look at the row of icons below the QR code to know which e-payment solution is accepted.<\/p>\n<h2>Technical Details<\/h2>\n<p>Very little technical information is publicly available about this SGQR code. After some research, I found on <a href=\"http:\/\/www.mas.gov.sg\/sgqr\/index.html\">MAS website<\/a> that it&#8217;s based on EMVCo QR code. <a href=\"https:\/\/www.emvco.com\">EMVCo<\/a> is made up of members from American Express, Discover, JCB, Mastercard, UnionPay, and Visa, and is the body that creates standards for secure payment.<\/p>\n<p><a href=\"https:\/\/www.channelnewsasia.com\/news\/singapore\/sgqr-qr-code-cashless-payment-singapore-rolls-out-unified-10727568\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/tongwing.woon.sg\/blog\/wp-content\/uploads\/2018\/09\/the-sgqr-code-displayed-at-a-toastbox-outlet-at-the-100am-mall-1.jpg\" alt=\"\" class=\"aligncenter size-full wp-image-1227\" width=\"991\" height=\"557\" srcset=\"https:\/\/tongwing.woon.sg\/blog\/wp-content\/uploads\/2018\/09\/the-sgqr-code-displayed-at-a-toastbox-outlet-at-the-100am-mall-1.jpg 991w, https:\/\/tongwing.woon.sg\/blog\/wp-content\/uploads\/2018\/09\/the-sgqr-code-displayed-at-a-toastbox-outlet-at-the-100am-mall-1-300x169.jpg 300w, https:\/\/tongwing.woon.sg\/blog\/wp-content\/uploads\/2018\/09\/the-sgqr-code-displayed-at-a-toastbox-outlet-at-the-100am-mall-1-768x432.jpg 768w, https:\/\/tongwing.woon.sg\/blog\/wp-content\/uploads\/2018\/09\/the-sgqr-code-displayed-at-a-toastbox-outlet-at-the-100am-mall-1-624x351.jpg 624w\" sizes=\"(max-width: 991px) 100vw, 991px\" \/><\/a><\/p>\n<p>Let&#8217;s try and see what the QR code contains. Fortunately the QR code in the article is clear enough to be decoded:<br \/>\n<img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/tongwing.woon.sg\/blog\/wp-content\/uploads\/2018\/09\/1a.png\" alt=\"\" class=\"aligncenter size-full wp-image-1221\" width=\"706\" height=\"150\" srcset=\"https:\/\/tongwing.woon.sg\/blog\/wp-content\/uploads\/2018\/09\/1a.png 706w, https:\/\/tongwing.woon.sg\/blog\/wp-content\/uploads\/2018\/09\/1a-300x64.png 300w, https:\/\/tongwing.woon.sg\/blog\/wp-content\/uploads\/2018\/09\/1a-624x133.png 624w\" sizes=\"(max-width: 706px) 100vw, 706px\" \/><\/p>\n<p>To parse the content of the QR code, one can refer to the <a href=\"https:\/\/www.emvco.com\/wp-content\/plugins\/pmpro-customizations\/oy-getfile.php?u=\/wp-content\/uploads\/documents\/EMVCo-Merchant-Presented-QR-Specification-v1-1.pdf\">EMVCo QR code specifications<\/a> which is available on the EMVCo website.<\/p>\n<p>After a bit of parsing,<br \/>\n<img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/tongwing.woon.sg\/blog\/wp-content\/uploads\/2018\/09\/2a.png\" alt=\"\" class=\"aligncenter size-full wp-image-1222\" width=\"653\" height=\"706\" srcset=\"https:\/\/tongwing.woon.sg\/blog\/wp-content\/uploads\/2018\/09\/2a.png 653w, https:\/\/tongwing.woon.sg\/blog\/wp-content\/uploads\/2018\/09\/2a-277x300.png 277w, https:\/\/tongwing.woon.sg\/blog\/wp-content\/uploads\/2018\/09\/2a-624x675.png 624w\" sizes=\"(max-width: 653px) 100vw, 653px\" \/><\/p>\n<p>It&#8217;s clear that this QR code contains meta-data for only some payment providers.<\/p>\n<h2>Conclusion<\/h2>\n<p>We are still in the early days of SGQR. It remains to be seen how widely adopted businesses and consumers will take to this form of payment.<\/p>\n<p>For now, the only thing it probably saves is real-estate for display QR codes.<\/p>\n<p><strong>Update (2018-09-21)<\/strong>: Yeah! This article made it onto the front page of Hacker News! See the <a href=\"https:\/\/news.ycombinator.com\/item?id=18022040\">comments on HN here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is it? The so-called unified QR code is finally out. SGQR code is purportedly Singapore&#8217;s effort in &#8220;unifying&#8221; the fragmented e-payment market &#8211; what with DBS PayLah!, Singtel Dash, Grab Pay, LiquidPay, AliPay etc coming into the fray. MAS says: For consumers Your current payment app probably works with SGQR already. All you need [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28],"tags":[],"_links":{"self":[{"href":"https:\/\/tongwing.woon.sg\/blog\/wp-json\/wp\/v2\/posts\/1229"}],"collection":[{"href":"https:\/\/tongwing.woon.sg\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tongwing.woon.sg\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tongwing.woon.sg\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tongwing.woon.sg\/blog\/wp-json\/wp\/v2\/comments?post=1229"}],"version-history":[{"count":10,"href":"https:\/\/tongwing.woon.sg\/blog\/wp-json\/wp\/v2\/posts\/1229\/revisions"}],"predecessor-version":[{"id":1828,"href":"https:\/\/tongwing.woon.sg\/blog\/wp-json\/wp\/v2\/posts\/1229\/revisions\/1828"}],"wp:attachment":[{"href":"https:\/\/tongwing.woon.sg\/blog\/wp-json\/wp\/v2\/media?parent=1229"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tongwing.woon.sg\/blog\/wp-json\/wp\/v2\/categories?post=1229"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tongwing.woon.sg\/blog\/wp-json\/wp\/v2\/tags?post=1229"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}