07 — PIPs · PIP-0030
Proximity profile: QR
The QR channel of PATH PROXIMITY. The presenter shows the PATH link of a token on a screen, the payer's camera reads it. A shown token lives at most 120 seconds and is replaced every 60. A printed code carries no presence.
- Number
- PIP-0030
- Status
- draft
- Type
- Interface
- Author
- PATH
- Date
- 2026-11-26
- Source
- On the register
Why
A code on a till's screen or on the payee's phone is the most common start of an in-person payment. PIP-0029 defines the token, the binding, the screen the payer confirms and the receipt. This PIP is the profile of the QR channel: what the code carries, how long a token is shown, and how the reader passes it to the core.
The profile
| Item | QR |
|---|---|
| Channel | `qr` |
| Carriage | A QR code (ISO/IEC 18004) whose content is the PATH link of the token |
| Roles | The presenter shows the code on a screen. The reader scans it with its camera |
| Presence | `shown` |
| Lifetimes | A token expires at most 120 seconds after `issued_at`. The presenter shows a new token at most 60 seconds after it first shows one |
| Reading | Live camera, then the reading algorithm of PATH INTEROP |
| Confirmation | The floor and the in-person line of PIP-0029. Nothing more |
| Exclusions | Below |
| Conformance | `PATH-PROXIMITY.QR` |
The code
https://pay.example.com/path/px7m2k9q4v8z3n?n=example-network- The content is the PATH link of the token,
https://<host>/path/<reference>, as PATH INTEROP defines it, and nothing else. The query carries at mostn=<network>, a hint with no authority. - Byte mode, UTF-8. Error correction level M or higher, and a quiet zone of four modules.
- The code carries one link. A code that also carries a native payment payload is read under that format's rules, and is not a proximity code.
- The presenter may show text beside the code: the amount, the payee's name,
station. That text is not a term. The payer's wallet shows the terms of the signed objects (PIP-0029).
Lifetimes
- The token's
channelisqrand itspresence.modeisshown. expires_atis at most 120 seconds afterissued_at.- While a sale is open, the presenter shows a new token at most 60 seconds after it first showed the current one. Each token designates the same request.
- When a token is bound, the presenter stops showing a code and shows the bound state. The payee's member revokes the other open tokens of the request (PIP-0029).
- When a token expires or is revoked, the presenter stops showing it at once.
Printed codes
A printed code does not change, so it carries no presence. It is a PATH link to an address or to a request (PATH INTEROP), and never the link of a path.proximity.
- A payment from a printed code carries no
proximityblock. - A request with
presentment: "proximity"is never printed.
Reading
- The wallet reads the code from its live camera.
- It passes the whole content to the reading algorithm of PATH INTEROP: trim, then match the complete string. A content that is not a PATH link is not a token, and the wallet falls through to the formats it knows.
- The object read is a
path.proximitywithchannel: "qr"andpresence.mode: "shown". Any other channel or mode, and the wallet stops. - The steps of PIP-0029 follow.
A token read from a stored image, a screenshot, a clipboard or a shared link is not a proximity read. The wallet does not bind it.
Exclusions
- No amount, currency, capability, account or name in the code.
- No identifier of the payer, of its member or of its device. The reader sends nothing to the presenter.
- No other parameter in the link than
n=.
Rows that do not translate
| PIP-0029 | QR |
|---|---|
| `presence.mode: "exchanged"` | Not offered. The camera reads; the reader sends nothing |
| A nonce chosen by the reader | Not offered. Presence rests on the lifetime of the token and its single binding |
Codes presented by the payer
A code the payer shows and the payee scans is a path.claim (PATH INTEROP). It is outside this profile.
Conformance
| Profile | Requires |
|---|---|
| `PATH-PROXIMITY.QR` | Presenter: the link alone in the code, the lifetimes above, the code withdrawn at binding, expiry and revocation. Reader: live camera only, anchored reading, a token refused unless its channel is `qr` and its mode `shown` |
Declared with PATH-PROXIMITY.Core (PIP-0029).
Compatibility
Additive. A reader that does not know path.proximity reads the link and shows the upgrade prompt of PATH INTEROP. Printed codes, and codes of an address or a request, are unchanged.