Edit this page on GitHub (opens in a new tab)
zcash: and carries the details of a payment: the address, the amount, and an optional memo.A payment request URI is a zcash: link defined by ZIP 321. Compatible wallets read the address, amount, and optional memo from the link or QR and prefill a transaction. No extra accounts, no processor in the middle.
The widget demo is a live ZIP-321 modal: QR, copy address/URI, short link, and Open in Wallet. The tools page is the generator if you want to set your own address and amount first.
zcash:<address>?amount=<zec>&memo=<base64url>&label=<text>
| Field | Required | Notes |
|---|---|---|
| address | yes | Prefer a Unified Address (u1 / utest1) |
| amount | no | Decimal ZEC with . as the separator and at most 8 decimal places (0.5, not 0,5) |
| memo | no | Shielded addresses only. The memo's UTF-8 bytes (at most 512), base64url-encoded without = padding: Thanks! becomes VGhhbmtzIQ, not the plain text |
Full rules: ZIP 321.
zcash: link in chatPoint this script at your own shielded address. Hosted copy lives on ZecHub:
<div id="zcash-pay"></div>
<script
src="https://zechub.wiki/zcash-payment-request-widget.embed.v2.js"
data-target="#zcash-pay"
data-address="u1..."
data-amount="0.01"
data-label="Pay with Zcash"
data-memo="order-42"
data-theme="dark"
data-api-base="https://zechub.wiki/api"
></script>
Required: data-address, data-amount, data-target.
Try the hosted button first: .
How to make Payment Requests with Zcash:
Video guide·How to make Payment Requests with Zcash
Adding a Zcash Donation Widget to your Website:
Video guide·Adding a Zcash Donation Widget to your Website
Think of a bank transfer form with fields for the account number, the amount, and a note saying what the payment is for. Filling it in by hand is slow, and one wrong digit sends the money to the wrong place.
A payment request URI is that form, filled in by the shop. The QR code is a photo of the form. Your phone camera reads the photo, the wallet copies every field into place, and you check the numbers and sign.
A link on a web page does the same job. Clicking it hands the filled form to your wallet.
Here is an example from ZIP 321, written for testnet:
zcash:ztestsapling10yy2ex5dcqkclhc7z7yrnjq2z6feyjad56ptwlfgmy77dmaqqrl9gyhprdx59qgmsnyfska2kez?amount=1&memo=VGhpcyBpcyBhIHNpbXBsZSBtZW1vLg&message=Thank%20you%20for%20your%20purchase
It asks for 1 ZEC to one shielded Sapling address. The memo decodes to "This is a simple memo." The message "Thank you for your purchase" is the text the wallet shows on screen.
The amount format is strict. amount=0.5 and amount=50 are valid. amount=50,000.00, amount=.5, and amount=0.123456789 are invalid: a period is the only decimal separator, and there can be at most 8 digits after it. No amount can exceed 21,000,000 ZEC.
In the raw URI, the memo is encoded in base64url, and it can hold up to 512 bytes once decoded. A memo attached to a transparent address makes the whole request invalid, because transparent addresses cannot carry memos. Sprout addresses are not allowed at all, and a request that does not follow the ZIP 321 grammar must be rejected.
Two more fields exist beyond the table above. message is a description of the payment for the wallet to display. req-asset is reserved for Custom Assets, as defined in ZIP 227.
Each extra payment gets an index number added to its parameter names, for example address.1, amount.1 and memo.1. The wallet builds one transaction that pays everyone on the list. This is useful for a checkout that splits a payment, or for a group of donations sent together.
Bitcoin has two older standards for payment requests: BIP 21, a simple link for one recipient, and BIP 70, a heavier protocol for complex payments. ZIP 321 takes a middle path, a link format with room for several recipients. The discussion began in 2018 in the Zcash ZIPs repository, where the number 321 was picked to echo BIP 21, and the ZIP itself was created in August 2020.
req-asset refers to.Last updated: October 2026
| label |
| no |
Human-readable name shown by some wallets. Percent-encode spaces and reserved characters (Coffee%20shop); a + is a literal plus, not a space |