Skip to content

Payments product

Candor Pay

Every incoming payment points to one exact invoice.

Candor Pay assigns each B2B invoice its own unique digital-dollar (USDC) address. When funds arrive, the system matches the payment to its exact invoice automatically and settles straight to the seller’s wallet.

paycandor.com
Candor Pay sample checkout screen showing payment options and direct settlement
Product screenshot from Candor Pay.
Matching
One address per invoice
Settlement
Seller’s external wallet
Order updates
Signed payment notifications

The problem

Matching several incoming transfers to one shared deposit address leaves room for mistakes whenever multiple invoices are open at the same time.

Reviewing B2B accounts manually also slows down onboarding and makes routing rules hard to enforce consistently.

How it works

  • Create an invoice
  • Assign a unique payment address
  • Confirm the matching transfer

What changed

A payment can go straight to the seller's wallet with its invoice already identified.

  • Separate payment addresses distinguish concurrent invoices.
  • Account screening and routing checks run before live payment links can be issued.

Apply this to your business

Give each order or invoice a unique identifier from the start so your team can reconcile payments without manual detective work.

Explore workflow examples
Engineering details and controls

Operational controls

  • Strictly non-custodial setup: zero owner withdrawal keys, zero admin pause switches, and zero pooled merchant funds.
  • Explicit Merchant-of-Record checkout disclosures and versioned terms acceptance logging.
  • Fail-closed rail segregation, admin-only confidentiality for screening rules, log redaction, and automated hygiene checks.

Architecture & stack

Unique Per-Invoice Payment Addresses

Authored CandorSplitForwarder and CandorForwarderFactory Solidity contracts on Base and Polygon so every invoice gets a deterministic, admin-keyless address that sweeps straight to the seller's own external wallet.

Dedicated Coordinator per Invoice

Paired Cloudflare D1 (18 migrations for tenants, SHA-256 hashed API keys, invoices, and payment links) with per-invoice SQLite Durable Objects handling expiry timers, transfer scans, and webhook retries.

Automated Account Screening & Routing

Built a dual-model screening pipeline using Cloudflare Workers AI (Llama 3.3 70B) and Gemini 2.5 Flash that enforces fail-closed risk-tier routing rules.

Unified API & Hosted Checkout

Served marketing pages, REST endpoints (/v1/* plus drop-in payment links), hosted checkout, and HMAC-SHA256 webhooks behind one Cloudflare Worker.

Cloudflare Workers & D1Durable ObjectsSolidity (CREATE2)Base & Polygon USDCWorkers AI & GeminiHMAC-SHA256 Webhooks

Want this pattern working in your business?

Bring one example from your current process. In 15 minutes, I’ll map what a practical first version would take and cost.