← Back to Router Design Hub

Payment Router & Double-Entry Ledger Engine

Interactive Architecture, Deterministic Routing & Accounting Explorer

System State: Operational

System Architecture & Event-Driven Pipeline

This section illustrates the decoupled architecture between upstream instruction creation, the dynamic Payment Orchestration Router, the double-entry Ledger Engine, and execution providers. By decoupling routing policy from execution rails, the engine evaluates real-time telemetry (latency, gas fees, liquidity) to select the optimal path before committing financial state changes.

Stage 1 👤

Client / Upstream

Issues payment instruction with target constraints.

Create Instruction
Stage 2 🧠

Router Engine

Evaluates bindings, constraints, & scores candidate rails.

Resolve Route
Stage 3 ⚖️

Ledger Engine

Locks balances & executes double-entry journal templates.

Encumber & Post
Stage 4 🏛️

Circle API Provider

Executes on-chain or fiat mint/burn transactions.

Dispatch Transfer
Stage 5 ⛓️

External Blockchain

Finalizes transfer on Base / Polygon / Ethereum.

Terminal Finality

🔍 Component Inspector: Select a Stage Above

Overview Mode
PRIMARY RESPONSIBILITY

Click any component card above to view its detailed API contracts, event triggers, and state transitions during a transaction lifecycle.

INTERFACING & STATE HASHS

Exposes REST/gRPC interfaces, publishes async Kafka events, and manipulates specific balance buckets in the database.

OUTPUT TRIGGER EVENT

route_resolved | pending_provider | confirmed