Wallets & Alternative Rails / Learning brief

Six markets, one QR frame

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.

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

REVIEWED 2026-08-06

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
  1. 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

    The international standard the Brazilian BR Code instantiates: an identifier-length-value payload a merchant presents and a customer scans, with a reserved range of Merchant Account Information templates so one code can carry several payment arrangements. Distinct from the EMV chip-card and 3-D Secure specifications, which have their own registry entries. · Checked 2026-08-04

    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.

  2. 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

    The single most complete open restatement of the EMV Merchant-Presented Mode payload read for this site. It has a root element schema giving every identifier a name, an optional flag, a length or a maximum and in several cases a pattern. It also has a rule validator that enforces the mandatory set, the position of the CRC and the span it covers. Its Pix layer adds the br.gov.bcb.pix identifier searched across templates 26 to 51, the mutual exclusivity of the Pix key and the payload URL, and the rejection of a URL that carries its own scheme. · Checked 2026-08-04

    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.

  3. 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

    The most complete open restatement of the PromptPay payload read for this site, and unusually direct: eighty lines of MIT-licensed JavaScript that name every identifier they write. Used here for the identifier set, the Bank of Thailand merchant template at 29 with its application identifier and its three alternative target sub-fields, and the point-of-initiation values. Used too for the Thai currency and country constants, the rule that turns a national mobile number into the thirteen-digit form the template carries, and the checksum algorithm and the span it covers. · Checked 2026-08-06

    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.

  4. 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 open parser and modifier for bank-issued DuitNow QR strings. Used here for the identifier set a Malaysian payload carries, the merchant account information template at 26 with its application identifier, the Malaysian currency and country constants. And the behaviour that setting an amount switches the point-of-initiation value from reusable to single-use and removing it switches back. · Checked 2026-08-06

    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.

  5. 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

    Two independent message readers, one JavaScript and one Go, each publishing a worked Indonesian payload with every field named in its parsed output. Used here for what the generator libraries cited beside them do not carry. That a QRIS payload holds two merchant account information blocks rather than one. Also that template 26 is the acquiring provider's and template 51 is the national switching block identified by ID.CO.QRIS.WWW. And that the merchant PAN sits at 26/01 and the national merchant identifier at 51/02, and that both blocks carry a merchant category code at sub-field 03.

    Also the source of the postal code at 61, the tip indicator at 55, and the reference and terminal labels inside the additional data template. · Checked 2026-08-06

    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 ID prefix 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.

  6. 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

    Two open implementations of the VietQR payload, one in TypeScript and one in Go, read together because separately they disagree. Used here for the NAPAS template at 38, the application identifier inside it, and the beneficiary block with a six-digit bank identification number and an account number. Used too for the service codes for a transfer to an account and to a card, the currency and country constraints, and the purpose-of-transaction field inside the additional data template.

    The TypeScript library states it implements NAPAS IBFT v1.5.2 and links the specification; the Go library names the same standard. Neither document was opened. · Checked 2026-08-06

    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 00 as the payload format indicator where the specification fixes 01, 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.

  7. 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 generic EMV merchant-presented parser whose documentation publishes a worked Philippine payload — the only well-formed QR Ph string this site could obtain. Used for the Philippine merchant template at 28 with the identifier ph.ppmi.p2m, the eleven-character institution value and two further sub-fields inside it, and the additional data template opening with ph.ppmi.qrph at sub-field 00 alongside a store, reference and terminal label. · Checked 2026-08-06

    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.

  8. 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

    Two independent implementations of the KHQR payload, in TypeScript and Python, one of which describes itself as a re-implementation of the official package. Used for the individual and merchant templates at 29 and 30, the Bakong account identifier with account information and acquiring bank name beside it, and the riel and dollar currency values. Used too for the timestamp template at 99 carrying creation and expiration in milliseconds, and the sub-fields written into the additional data and language templates. · Checked 2026-08-06

    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.

  9. Simplified educational illustration

    Payments Signal editorial teaching models — Payments Signal

    This site's own simplified teaching models. · Checked 2026-07-12

    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.

Learn this properly

START HERENational QR profiles: shared structure, different payment rulesA readable code and matching checksum do not prove merchant identity, acceptance or settlement. Apply the actual national profile.Opens at L0 Explain simply · about 14 min

Also covered in PromptPay: proxy lookup, Thai QR and settlement evidence, DuitNow: national QR rules and a changed settlement model, Indonesia: payment infrastructure, QR acceptance and participant roles, Philippines: one framework, two rails, two clocks, Indonesia's payment blueprints: why the rails keep changing.

Related briefs

PayShap: one cellphone number, one bank

Riya can pay Arjun with a cellphone number and never learn where he banks. What makes that safe is a registration rule that stops two banks from ever claiming the same number.

READ BRIEF

Whose money is in the wallet

A mobile money balance looks like a bank balance. It is not: it is a receipt for money held in trust somewhere else, and almost everything else about mobile money follows from that.

READ BRIEF