πŸƒPayment Flow

Payment Flow for Customers

When a customer clicks your payment link, they experience a streamlined, privacy-focused payment process:

Step 1: Wallet Connection

  • Customer connects their Solana wallet

  • System checks for existing confidential account

Step 2: Account Setup (if needed)

  • If no confidential account exists, customer can create one

  • One-click setup enables confidential transfers

Step 3: Balance Analysis

  • Customer chooses to decrypt their balance to check available funds

  • System analyzes all available token sources:

    • Available confidential cSOL

    • Pending confidential cSOL

    • Public cSOL tokens

    • Native SOL balance

Step 4: Intelligent Payment Routing

The system automatically chooses the most efficient payment path:

Scenario A: Sufficient Available cSOL

  • Direct confidential transfer to recipient

  • Fastest and most cost-effective option

Scenario B: Sufficient Pending cSOL

  • Apply pending balance to make it available

  • Transfer confidential payment to recipient

Scenario C: Sufficient Public cSOL Tokens

  • Deposit public cSOL tokens to confidential balance

  • Apply balance and transfer to recipient

  • Avoids bridge fees when tokens already exist

Scenario D: Insufficient cSOL, Sufficient SOL

  • Bridge SOL to cSOL (includes 0.1% bridge fee)

  • Deposit to confidential balance

  • Apply balance and transfer to recipient

Step 5: Payment Completion

  • Confidential transfer executed with zero-knowledge proofs

  • Invoice automatically marked as paid

  • Both parties receive confirmation

Last updated