Wallets & Alternative Rails / Learning brief
Six markets, one QR frame
In simple terms / 01
What this means in plain language
Thailand, Malaysia, Indonesia, Vietnam, the Philippines and Cambodia all built national QR payments on the same international payload. One reader parses every one of them and still cannot say who gets paid, because the part that carries the account is the part the specification deliberately left blank.
Complete lesson / 02
Understand the full idea, step by step
A payer can scan a merchant-presented code in several markets, but the similar gesture does not establish the same payload profile, supported app, authority or settlement result.
A common identifier/length/value approach helps a parser recognise fields. National schemes and provider versions still determine field values, hierarchy, encoding, acceptance and payment processing. Malaysia’s actually read version 1.5format uses 02, which directly disproves a universal opening value 01.
This lesson separates a readable string from a national-profile-valid code and from a completed authorised payment.
PLAIN WORDS · 4 in this section
- payload
- the real content a message carries, not its wrapper
- parser
- a program that reads text and splits it into fields
- encoding
- writing a meaning down as set characters or codes
- readable
- able to be read and understood, by people or software
Evidence & review / 03
Evidence & review
The date on this lesson is when it went up on Payments Signal, not when its material was written — most of these were brought across from an earlier catalogue in a single run, which is why so many of them share a date. What the lesson says about the world is dated by the review above and by the sources below it.
The merchant-presented QR layer of six South-East Asian markets, read from open implementations of each national standard. The interbank legs that settle behind these codes are governed by member-only scheme documents and are not covered here.
What this brief simplifies: The six-market comparison is this site's own, assembled from the record it holds for each market; no source read here states that these markets chose different templates from one another. Every payload shown is constructed rather than captured, because a working merchant-presented code on a teaching page is a live payment instruction. Both byte-level findings are this site's own calculation over published payloads. Named parties are the fixed teaching cast.
Sources for this brief — 9 sources
- Official requirement
EMV QR Code Specification for Payment Systems: Merchant-Presented Mode (QRCPS-MPM) ↗ — EMVCo · EMV QR Code Specification for Payment Systems: Merchant-Presented Mode — the identifier-length-value payload, the fixed root identifiers and the merchant account information template range reserved for payment systems. Not opened
Not opened: emvco.com could not be reached. Verification relied on web-search result content and on an open-source implementation of the specification whose element schema is cited separately. No length published on this site is quoted from EMVCo's pages.
- Market practice
pix-qrcode-utils — an EMV Merchant-Presented Mode parser, generator and validator, with a Pix layer ↗ — Nascent Secure Technologies (open source) · the root identifier map, the mandatory set, and the rule that the checksum covers everything up to and including its own 6304
An implementation, not a specification. Files read at raw.githubusercontent.com on the access date: packages/emv-merchant-qrcode/src/element-schema.ts, qrcode-validator.ts and emv-qrcode-tags.ts, and packages/pix-qrcode/src/pix-qrcode.ts and pix-qrcode-validator.ts. It carries one internal inconsistency worth knowing about: emv-qrcode-tags.ts defines TAG_POI_METHOD as 2 in a constant its own comment marks as unfinished, while the element schema correctly places the Point of Initiation Method at 1. This site follows the schema and not the constant.
- Market practice
promptpay-qr — a generator for Thailand's PromptPay QR payload ↗ — Thai Pangsakulyanont (open source) · Thailand's template number, its application identifier and its padded mobile-number target
An implementation, not a specification. Files read at raw.githubusercontent.com on the access date: index.js and README.md. Its own README states the payload is based on EMVCo's merchant-presented mode and points at a Bank of Thailand announcement; the Bank's own standard document was not opened.
Two things about it are worth recording. It writes the country before the currency, which is not the identifier order EMVCo's own tables are printed in — harmless because every field carries its own length, and a fact this site shows rather than tidies away. And it selects the target sub-field by the length of the digits it is given rather than by being told which kind of identifier they are, which is a shortcut of the library and not a rule of the scheme.
- Market practice
duitnowqr — a parser and generator for Malaysia's DuitNow QR strings ↗ — DH Certainty (open source) · Malaysia's template number and application identifier
An implementation, not a specification, and the boundary matters more here than usual. It reads the sub-fields inside the merchant template positionally and does not say what each one holds, so this site shows their shape and declines to name them. Its README carries a worked example taken from a real Malaysian merchant's bank-issued code; that string is not reproduced anywhere on this site and no identifier from it is used. Files read at raw.githubusercontent.com on the access date: README.md.
- Market practice
qris-decoder and go-qris — two open readings of the QRIS merchant and switching blocks ↗ — Terry Djony and Alvriyanto Azis (open source) · that an Indonesian payload carries an acquirer block and a national switching block, and that the scheme identifier in the second is constant
Implementations, not specifications, and they disagree on exactly one field: the JavaScript decoder names 26/02 a merchant identifier and the Go decoder names it a terminal identifier. Their own worked examples do not settle it — the value is fifteen characters in one and ten in the other, and in neither does it carry the
IDprefix the national merchant identifier at 51/02 does. This site therefore records that the field is an acquirer-local identifier and that the two readings differ, rather than choosing one.Both examples are real Indonesian merchants' live payloads carrying real merchant PANs and national merchant identifiers. No value from either is reproduced on this site. Files read at raw.githubusercontent.com on the access date: README.md from each.
- Market practice
vietqr-ts and vietqr-parser — two independent readings of Vietnam's VietQR payload ↗ — Binh Nguyen Duc and Thanh Tinh Pham (open source) · Vietnam's template number, its two-level beneficiary block, and the published example whose enclosing length places a field in the wrong block while its checksum verifies
Implementations, not specifications, and this entry exists partly to record how they were reconciled. Their worked payloads disagree about where the service code sits: one carries an enclosing length that pulls it inside the beneficiary block, the other leaves it beside that block. The second reading is followed, because its string is self-consistent, its own parsed output names the three values separately, and the first library's README elsewhere states an account number shorter than its own example carries.
Each carries one further flaw: the Go library's example emits
00as the payload format indicator where the specification fixes01, and the TypeScript library's example is the source of the length problem. Files read at raw.githubusercontent.com on the access date: README.md from each, and src/index.ts from vietqr-ts. Both examples carry real Vietnamese bank identification numbers; neither is reproduced on this site. - Market practice
emvqr-parser — a JavaScript parser for EMV merchant-presented payloads ↗ — Abraham Osmond E (open source) · the Philippine template number and the scheme identifiers its blocks open with
A parser, not a specification, and its limits set this record's limits. It names the sub-fields inside a merchant template only as context-specific data, so three Philippine sub-fields are documented as present and one is described by shape rather than named.
The published payload was not taken on trust: it was re-walked here as identifier-length-value, every length lands exactly on the end, and its checksum was recomputed with CRC-16/CCITT-FALSE and matches. That test is why it could be used at all — the Vietnamese record on this site rests on a published example that failed it. The payload belongs to a real Philippine merchant and no value from it is reproduced here. File read at raw.githubusercontent.com on the access date: README.md.
- Market practice
ts-khqr and bakong-khqr — two open implementations of Cambodia's KHQR payload ↗ — Ishin Vin and Bunseng Thoeun (open source) · Cambodia's individual and merchant templates, the account handle inside them, and the payload whose checksum verifies over bytes while its lengths are counted in characters
Implementations, not specifications. The National Bank of Cambodia publishes a KHQR implementation guideline as a public document; it was not opened and nothing here is quoted from it.
One of them supplies the worked payload this site's character-versus-byte finding rests on. That payload's checksum did not verify when computed over character code points and did verify when computed over UTF-8 bytes, while its language template declares two Chinese characters as length 02 against six bytes. So lengths are counted in characters and the checksum over bytes, in one string. That is this site's own calculation over their published value, and it reproduces. The payload carries its author's own account handle and is not reproduced here.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal
Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.