Introduction
identiPay enables merchants to accept privacy-preserving payments on the Sui blockchain using zero-knowledge proofs and stealth addresses. This guide covers the prerequisites and registration process for merchants.How identiPay Works
identiPay provides a complete privacy-preserving payment protocol:- Stealth Addresses: Each payment uses a unique, one-time address that cannot be linked to the buyer’s identity
- Zero-Knowledge Proofs: Age verification and compliance checks without revealing personal information
- Atomic Settlement: Payment and receipt delivery happen in a single blockchain transaction
- Encrypted Receipts: Purchase details are encrypted and delivered only to the buyer
Register with Trust Registry
Submit your merchant information to be registered on-chain in the identiPay trust registry.
Receive API Credentials
Get your unique API key and DID (Decentralized Identifier) for authentication.
Prerequisites
Before integrating identiPay, you need:1. Sui Wallet Address
A Sui blockchain address where you’ll receive payments. You can create one using:- Sui Wallet (Browser extension)
- Suiet (Multi-chain wallet)
- Sui CLI:
sui client new-address ed25519
Your Sui address should follow the format:
0x followed by 64 hexadecimal characters.2. Public Key
A 64-character hex-encoded public key for encryption and signature verification. This is used for:- Encrypting receipts sent to buyers
- Verifying proposal authenticity
- Securing WebSocket connections
3. Verified Hostname
A domain you control where the identiPay API will be accessible. For example:shop.example.compayments.yourstore.io
Registration Process
Register your merchant account with the identiPay trust registry:API Endpoint
Request Body
Your business name as it will appear to customers (1-255 characters)
Your Sui blockchain address where payments will be receivedFormat:
0x followed by 64 hexadecimal charactersYour verified domain name without protocol (e.g.,
shop.example.com)64-character hex-encoded public key for encryption
Example Registration
Response
Unique merchant identifier (UUID)
Your decentralized identifier in the format:
did:identipay:<hostname>:<merchant-id>Your API key for authenticated requests. Store this securely - it cannot be recovered.
On-Chain Registration
When you register, the following happens on the Sui blockchain:- Trust Registry Entry: Your merchant information is written to the on-chain trust registry
- DID Association: Your DID is linked to your Sui address and public key
- Verification Status: Your merchant account is activated and ready to accept payments
Authentication
All merchant API requests require authentication using your API key:The API key should be sent in the
Authorization header as a Bearer token.Rate Limits
API rate limits are applied per merchant:- Proposal Creation: 100 requests per minute
- Status Checks: 300 requests per minute
- WebSocket Connections: 50 concurrent connections
429 Too Many Requests response.
Next Steps
Checkout Integration
Add identiPay checkout to your website
Payment Flow
Understand the complete payment lifecycle
WebSocket API
Receive real-time payment notifications
