A ZK-powered payment protocol for Numpay with privacy, gasless transactions, phone-linked wallets and x402 support.Shadow Protocol adds privacy to Numpay payments with zero-knowledge proofs. Amounts are encrypted with ElGamal, the sender is hidden behind a Groth16 proof, and network fees are absorbed by Numpay. The same proofs can pay for API access through x402, the HTTP
402 Payment Required flow.
Private
ElGamal-encrypted amounts and ZK proofs hide who paid and how much.
Phone-linked
Pay a phone number without revealing either party’s wallet address.
Zero-fee
Numpay absorbs network costs.
Gasless
Relayers submit and pay for settlement transactions.
x402-native
Pay-per-request APIs using HTTP 402 Payment Required.
Decentralized
No central authority, data store or tracking.
In this section
Architecture
The six-step payment flow.
Privacy model
What is hidden, partially hidden and public.
Integration
Client and server integration outline.
API reference
Planned
/verify, /settle and phone endpoints.Security
Guarantees and integration best practices.

