zk.money and Aztec payments with invoice reconciliation. Your tag, your keys, your custody — we only watch.
Your customers pay your zk.money tag or a BOLD invoice address with a three-word order code. Our watcher decrypts the incoming payment, matches it to the order, and your webhook fires. Everything else — pay pages, order tracking, matching — is on us.
The three rails your customers can use:
| Customer has | They pay via | Status |
|---|---|---|
| zk.money app | Your tag + 3-word note | Live |
| Any Aztec wallet (ours, Azguard, Obsidion) | Invoice contract call | Live |
| Any other wallet | Fresh address per order | Live |
Register your zk.money tag. One-time, 15 DAI. The CLI is open source at github.com/aztec-labs-eng/zkmoney-cli — releases ship a SHA256SUMS-verified installer and the source builds against zkmoney-public (the public zk.money wallet source) at a pinned commit, so it's auditable end to end. Install (macOS/Linux, Node 22+, GitHub CLI signed in via gh auth login):
gh release download -R aztec-labs-eng/zkmoney-cli -p install.sh -O - | sh zkmoney account init --key file # set ZKMONEY_PASSPHRASE first to seal the key file zkmoney register <yourtag> # prints a funding address — send 15 DAI/USDC/USDT once zkmoney register status # wait for "registered"
Your account lives at ~/.zkmoney/mainnet/account.json — back it up with your passphrase. The tag is needed for the DAI rail and for customers to find you by name.
Register as a merchant (get your API key):
curl -X POST https://ziggybank.xyz/api/merchants \
-H 'Content-Type: application/json' \
-d '{"tag": "<yourtag>", "webhookUrl": "https://your-app/hooks/ziggybank"}'
Export your view key locally — your spend key never leaves your machine. Download and run our tiny export tool on your own computer (read the source first — it's short, uses only Node built-ins plus the crypto inside your CLI install):
curl -sL https://ziggybank.xyz/download/export-view-key.mjs -o export-view-key.mjs ZKMONEY_PASSPHRASE='<your passphrase>' node export-view-key.mjs
It decrypts your account file locally and prints only: your viewKey (decrypts incoming payments — read-only), your public signing key, your L2 address, and your tag. Your private spend key is never printed and never sent anywhere.
Never send your sealed account blob or passphrase to anyone — us included. The sealed blob contains your spend key; any integration asking for it is a red flag. Our API rejects sealed/passphrase on sight.
Then register the view-only material in one call (paste the tool's output in):
curl -X POST https://ziggybank.xyz/api/merchants/register-account \
-H 'Content-Type: application/json' -H 'X-Api-Key: <apiKey>' \
-d '{
"viewKey": "<viewKey from the tool>",
"signingPubkey": { "x": "<x>", "y": "<y>" },
"l2Address": "<l2Address from the tool>",
"consent": "I consent to Ziggybank watching incoming payments to @<yourtag> with this viewing key. It can see incoming payments and notes. It can never spend funds."
}'
View-only custody model: the viewKey lets our watcher decrypt your incoming payment notes so we can detect and match them — that is the whole service. Per-order BOLD addresses are cryptographically bound to your public key; the matching private scalar can only be re-derived from your passkey, on your machine. The consent string must be exact — if rejected, the API replies with the precise string to send.
Take an order. DAI is the default; add "asset":"bold" for a BOLD order:
curl -X POST https://ziggybank.xyz/api/orders \
-H 'Content-Type: application/json' -H 'X-Api-Key: <apiKey>' \
-d '{"amountDai": "2.50"}'
→ {"orderId": "legal wood chimney",
"payPageUrl": "https://ziggybank.xyz/api/pay/legal-wood-chimney",
"payTo": "@yourtag",
"instructions": "…"}
# BOLD order — per-order fresh address + invoice field:
curl -X POST https://ziggybank.xyz/api/orders \
-H 'Content-Type: application/json' -H 'X-Api-Key: <apiKey>' \
-d '{"amountDai": "2.50", "asset": "bold"}'
→ {"orderId": "happy bacon cancel",
"payTo": "0x27c1…", ← fresh address, bound to YOUR public key
"invoiceField": "19331…", ← for one-tap contract payments
"payPageUrl": "…"}
Send your customer to payPageUrl — it shows every way to pay (one-tap invoice call, tag + 3-word note, or the plain address) and flips to "paid" on its own.
Fulfill. We POST to your webhook on match:
{"event":"order.paid","orderId":"legal wood chimney","amountDai":"2.50","paidTxHash":"0x…"}
Or poll GET https://ziggybank.xyz/api/orders/legal-wood-chimney.
The default flow has Ziggybank watching your incoming payments with your view key. If you'd rather share nothing, run the watcher on your own machine — your keys never leave it:
curl -sL https://ziggybank.xyz/download/merchant-kit/selfhost-watch.sh -o selfhost-watch.sh chmod +x selfhost-watch.sh export ZKMONEY_PASSPHRASE='<your passphrase>' export ZIGGYBANK_API_KEY='<your apiKey>' ./selfhost-watch.sh
It detects payments locally and posts only the match (3 words + amount + tx hash), authenticated with your apiKey and scoped to your orders only. Orders, pay pages, and webhooks work identically — and if you self-host, skip the view-key registration entirely. The script doubles as the reference implementation for going fully independent. Kit readme.
· The customer types the three words into their wallet's note field (or the pay page builds the contract call for them).
· Matching is word-sequence only — capitalization, extra spaces, punctuation ignored. Amount within 2%.
· Orders expire after 24 hours open.
· Your funds never touch our accounts. We watch; you custody.
Machine/agent-oriented version of this guide: ziggybank.xyz/download/merchant-onboarding.txt