Payment Flow
Standard Payment Flow
Payment creation
POST/api/crypto-payment/createUser sends cryptocurrency Funds are sent directly to the assigned address
Verification
GET/api/crypto-payment/verify/[paymentId]Balance check Reloadly balance verification
Gift card creation Swype Mastercard issued and emailed
Status updates Real-time frontend polling and UI updates
ZK-Proof Privacy Payment Flow
User Wallet
↓ (Split into 2-4 parts)
├─→ Part 1 → Exchanger → Privacy Withdrawal Wallet
├─→ Part 2 → Exchanger → Privacy Withdrawal Wallet
├─→ Part 3 → Exchanger → Privacy Withdrawal Wallet
└─→ Part 4 → Exchanger → Privacy Withdrawal Wallet
↓
Privacy Withdrawal Wallet
├─→ Part 1 → Intermediate Wallet 1 → ZK Proof Pool
├─→ Part 2 → Intermediate Wallet 2 → ZK Proof Pool
├─→ Part 3 → Intermediate Wallet 3 → ZK Proof Pool
└─→ Part 4 → Intermediate Wallet 4 → ZK Proof Pool
↓
ZK Proof Pool (all parts combined)
↓
User uploads proof (for total amount)
↓
Relayer → Withdraws total → Sends to RecipientLast updated