Standards/solana-pay
Solana Pay
Overview
Solana Pay is an open URL format for asking a Solana wallet to make a payment or sign a transaction. A shop shows the URL as a QR Code (or an NFC tag or a link), the customer scans it with a wallet app, checks what it asks for, and approves it; the money moves on the Solana blockchain directly from the customer's wallet to the shop's 111. Every Solana Pay URL starts with solana: and comes in one of two forms. A transfer request carries the recipient, amount, token and labels in the URL itself, and the wallet builds the transaction. A transaction request carries only an HTTPS link: the wallet asks that server for a ready-made transaction, which can do anything a Solana transaction can, such as mint an NFT or apply a discount 113.
Solana Labs launched Solana Pay on 1 February 2022 11. The specification and the reference JavaScript library, @solana/pay, now live in the Solana Foundation's solana-foundation/pay repository on GitHub 157. The spec says it "draws inspiration from" Bitcoin's BIP-21 and Ethereum's EIP-681 1.
History
| Date | Event |
|---|---|
| 19 Oct 2021 | The GitHub repository that now holds Solana Pay is created 5 |
| 19 Jan 2022 | The @solana/pay package is first registered on npm 10 |
| 26 Jan 2022 | First commit of SPEC.md in the repository 6 |
| 1 Feb 2022 | Solana Labs announces Solana Pay. Launch partners: Circle, Checkout.com, Citcon and FTX, with the Phantom wallet 11 |
| 4 Feb 2022 | @solana/pay 0.1.0 published 10 |
| 23 Mar 2022 | Solana Labs says more than 600 merchants have "engaged with" Solana Pay and previews the interactive transaction request 12 |
| 29 Apr 2022 | @solana/pay 0.2.0 published 10 |
| 4 May 2022 | Solana announces transaction requests 13 |
| 23 Aug 2023 | A Solana Pay plug-in for Shopify goes live, taking USDC first 1415 |
| Jan 2024 | Helio takes over the Shopify plug-in 16 |
| 7 Jun 2024 | Helio's current Solana Pay app is listed on the Shopify App Store 17 |
| 13 Jan 2025 | MoonPay announces it has acquired Helio 18 |
| 26 Mar 2026 | The spec and library move into typescript/packages/solana-pay/ when the repository takes in a payments CLI 6 |
| 28 Mar 2026 | Last Internet Archive capture of the old docs site, docs.solanapay.com/spec 4 |
| 5 May 2026 | @solana/pay 1.0.0 published, rebuilt on @solana/kit 107 |
Launch. Solana Labs announced Solana Pay in a blog post on 1 February 2022 by its head of payments, Sheraz Shere. It described Solana Pay as the "next generation of merchant payment and commerce rails" and as QR-code payments sent peer to peer from the customer's wallet to the merchant, with no bank or card network in between. The launch focused on Circle's USDC stablecoin, though SOL and any other Solana token could also be used 11. The spec text from that time records that "rough consensus" had been reached and that "implementations exist in Phantom, FTX, and Slope" 14.
Transaction requests. Solana's first release covered only simple one-way transfers of SOL, USDC and other tokens. On 4 May 2022 Solana announced transaction requests, which bring "any Solana transaction into the real world through an interactive request between a checkout app and a mobile wallet, enabling NFT minting, dynamic discounts, tokenized loyalty programs" 13. Solana Labs had previewed the feature in March 2022 12.
Shopify. On 23 August 2023 Solana Pay's plug-in for Shopify went live, with USDC as the first currency. Josh Fried of the Solana Foundation told TechCrunch that SOL and BONK might follow, and that wallets already supporting Solana Pay, "like Phantom, Solflare and Glow", could connect to it 1415. In January 2024 Helio, a crypto-payments company, took over the plug-in. A Solana Foundation case study from April 2024 says more than 200 Shopify stores adopted it within three months, and that Solana Mobile saved more than $1,000,000 in fees by taking payment for its Chapter 2 phone through it 16. MoonPay bought Helio in January 2025. Its announcement says the Solana Pay plug-in for Shopify had been "installed by thousands of stores" 18.
The docs site. The specification was long published at docs.solanapay.com/spec 4. On 7 November 2026 that host did not resolve. The Internet Archive's last capture of the page is from 28 March 2026 4. The same text survives in the GitHub repository 1.
Technical specification
Solana Pay defines URLs, not a barcode. The QR code around the URL is an ordinary QR Code, and the spec says the URLs "may be encoded in QR codes or NFC tags, or sent between users and applications" 1. The rules below are from the v1 specification 1, with the additions of the 1.1 draft marked.
Transfer request
A transfer request describes a SOL or SPL-token transfer. The wallet builds the transaction from the URL alone, which is why the spec calls it non-interactive 1:
solana:<recipient>?amount=<amount>&spl-token=<spl-token>&reference=<reference>&label=<label>&message=<message>&memo=<memo>
| Field | Where, how many | Rule |
|---|---|---|
recipient |
path, exactly one, required | Base58 public key of a native SOL account. Associated token accounts must not be used 1 |
amount |
query, at most one | Non-negative integer or decimal in "user" units: SOL, not lamports; for a token, its displayed amount. 0 is valid. Below 1 it needs a leading 0; scientific notation is prohibited. If it is missing, the wallet must ask the user. More decimals than SOL allows (9) or than the token's mint allows makes the URL malformed 1 |
spl-token |
query, at most one | Base58 address of an SPL-token mint. The wallet derives the recipient's associated token account from recipient and the mint, and makes a TokenProgram.Transfer or TransferChecked the last instruction. Without it, the request is for SOL and the last instruction is a SystemProgram.Transfer 1 |
reference |
query, repeatable | Base58-encoded 32-byte values, added in order as read-only, non-signer keys of the transfer instruction, so the payment can be found later with the getSignaturesForAddress RPC method 1 |
label |
query, at most one | URL-encoded UTF-8 text naming who asks (brand, store, person); the wallet should show it 1 |
message |
query, at most one | URL-encoded UTF-8 text describing the payment (item, order ID, thank-you note); the wallet should show it 1 |
memo |
query, at most one | URL-encoded UTF-8 text the wallet must put in an SPL Memo instruction, placed second to last, just before the transfer. It is recorded on chain, so it "should not include private or sensitive information" 1 |
redirect |
query, at most one (1.1 draft) | URL-encoded HTTPS or solana: URL the wallet follows only after the transaction succeeds, meaning the user approved it and it reached Confirmed or Finalized status 2 |
A transfer request has no field for the network (cluster). The fields above are all the spec defines 12. An illustrative request to Solana's incinerator address, where any lamports sent are burned at the end of the block 20, with the amount left for the payer to enter:
solana:1nc1nerator11111111111111111111111111111111?label=My%20Store&message=Payment
Transaction request
A transaction request is just a link 1:
solana:https://example.com/solana-pay
solana:https%3A%2F%2Fexample.com%2Fsolana-pay%3Forder%3D12345
The link must be an absolute HTTPS URL. It must be URL-encoded if it has its own query string, and should not be otherwise, which keeps the QR code less dense. If it is not HTTPS after decoding, the wallet must reject it as malformed 1. The exchange then runs as follows 1:
- GET (optional). The wallet requests the URL without identifying itself or the user and shows the domain. The server answers
{"label":"<label>","icon":"<icon>"}. The icon must be an SVG, PNG or WebP image, or the wallet rejects it. - POST
{"account":"<account>"}, the base58 key of the account that may sign. The server answers{"transaction":"<base64>"}, optionally with amessagethe wallet should show. - The wallet treats the transaction as untrusted. If it has no signatures, the wallet replaces the fee payer and recent blockhash with its own. If it is already partly signed, the wallet must leave them, verify every signature and reject the transaction as malformed if any is invalid. The wallet signs only with the requested account. If any other signature is still expected, it must reject the transaction as malicious.
The 1.1 draft adds a redirect field to the POST response. It also adds error handling: a client or server error fails the whole request, and the wallet must show at least the first 80 characters of an error message 2. A separate draft, the message-signing spec, reuses the solana:<link> form so that a wallet can sign a message to prove it owns an address. Both drafts say they are "currently alpha and subject to change" 23.
How the reference library reads and draws it
@solana/pay's parseURL rejects strings longer than 2,048 characters. It treats a URL as a transaction request when its path contains : or %, and otherwise as a transfer request. It accepts an amount only if it matches ^\d+(\.\d+)?$, and it rejects a recipient, spl-token or reference that is not a valid address 8. Its createQR draws an SVG QR code, 512 px by default, in byte mode at error-correction level Q, with the Solana logo in the middle at 15% of the width 9.
Use cases
- Paying at a till. A shop shows a transfer- or transaction-request QR code and the customer pays from a wallet app. In March 2022 Solana Labs pointed to cafés in San Francisco and Silicon Valley, and to mtnPay, an iOS point-of-sale app that connects Solana Pay to a merchant's Square store 12.
- Online checkout. Shopify merchants take USDC through the Solana Pay plug-in, now Helio's app. The app's listing offers payment by connecting a wallet or by scanning a QR code 141617. Solana Mobile took payment for its Chapter 2 phone this way 16. In March 2022 Autonomous.ai built an e-commerce checkout with escrow and on-chain dispute resolution on Solana Pay 12.
- Minting, discounts and loyalty. A transaction request lets the merchant's server return any transaction, so a scan can mint an NFT, apply a dynamic discount or run a token-based loyalty scheme 1314.
- Payment links in wallet SDKs. Phantom's developer docs show how to build a Solana Pay request with
@solana/pay'sencodeURLandcreateQRand then check that it was paid 19. - Proving ownership of an address. The alpha message-signing spec uses a scanned
solana:link to ask a wallet to sign a message for a remote server 3.
No fetched source gives current figures for how many merchants or payments use Solana Pay.
Implementations
@solana/pay(TypeScript), insolana-foundation/pay. This is the reference library. It encodes and parses URLs, draws QR codes, finds payments by reference and validates transfers 7. Version 1.0.0 (May 2026) moved it from@solana/web3.jsto@solana/kit107. npm'slatesttag was 1.0.26 (31 Jul 2026), with 34,901 downloads from 8 October to 6 November 2026 10. The repository, with 1,801 stars and last pushed 6 November 2026, is now described as a "CLI for Agentic payments (x402, MPP, AP2)". The Solana Pay package and its specs sit intypescript/packages/solana-pay/5.solana-payments(Rust), by JamiiDao. "A lightweight library for parsing and creating Solana Pay URLs"; 1.0.0 released 30 Aug 2024 21. Its GitHub repository has 2 stars and was last pushed in May 2025 22.solana_pay(Dart/Flutter). It generates transfer- and transaction-request URLs. It was published to pub.dev about four years ago, and its README marks QR display and other features as "coming soon" 23.- Wallets. The spec names Phantom, FTX and Slope as early implementations 1. In 2023 TechCrunch listed Phantom, Solflare and Glow among the wallets that support Solana Pay 14. No fetched source gives a current, tested list of wallets.
Comparison
- vs BIP-21. Solana Pay's transfer request has the same
scheme:address?parametersshape and reuses BIP-21'samount,labelandmessageparameter names. BIP-21's amount is decimal BTC 124. Solana Pay adds the token mint, thereferencekeys and the on-chainmemo, and it has a second, interactive form with no BIP-21 equivalent 1. - vs EIP-681. EIP-681 is a "URL Format for Transaction Requests" on Ethereum. It can name a chain ID and a contract function, and its numbers may use scientific notation 25. Solana Pay prohibits scientific notation, has no chain field, and does arbitrary transactions by fetching them from a server instead of describing them in the URL 1.
- vs LNURL pay requests. LNURL-pay (LUD-06) also puts a server behind a static QR code. The wallet gets the payment terms over HTTP, then calls back for a Lightning invoice (BOLT11) and pays it 26. A Solana Pay transaction request returns a complete Solana transaction for the wallet to check and sign 1.
Choose a transfer request when a fixed, printed code is enough, and a transaction request when the server must decide what the customer signs 1.
Fun facts
referencevalues don't have to be real accounts. They "may or may not be public keys, on or off the curve, and may or may not correspond with accounts on Solana". They are 32-byte tags attached to the transfer so it can be looked up later 1.- The standard writes a library bug into its rules. An app returning a presigned transaction "must serialize and deserialize the transaction before signing it", only to keep the order of account keys consistent 1.
- When a server leaves the fee payer or blockhash blank, the spec's "zero value" is a string of thirty-two 1s (
11111111111111111111111111111111). Its worked example ends with the server's reply "Thanks for all the fish" 1.
Status
Active, but split. The v1 specification is the stable text. It is still in the GitHub repository unchanged and still says "rough consensus" has been reached 1. The 1.1 additions (redirect, error messages) and the message-signing extension are marked alpha 23. The original docs site is gone: docs.solanapay.com did not resolve on 7 November 2026 4. Anyone citing the spec should link the GitHub copy 1.
The reference library is maintained. It was rebuilt for @solana/kit in 2026 and had releases through July 2026 107. Phantom's developer docs still build payment QR codes with it (page modified 13 Oct 2026) 19. The repository's own focus has moved to HTTP 402 payments (x402, MPP) 5. Helio's Solana Pay app is still on the Shopify App Store. It charges 1% per transaction, now advertises payments on several chains (Solana, Bitcoin, Ethereum, Base), and had a 2.0 rating from six reviews on 7 November 2026 17.
Sources
Deployments
No country reports mention this standard by name.
Regions / aggregations not mapped to a single country
- Universal