Architecture

The design bet behind PAID: if every financial event is deterministic, idempotent, and cryptographically chained, then audit, reconciliation, and dispute defense stop being projects and become queries.

The payment flow

payment intent
  → five-stage router          (context → jurisdiction → filter → ruleset → cost)
  → execution plan             (one rail, one provider)
  → authorize → capture        (idempotent; refund / cancel symmetric)
  → ledger event               (Ed25519-signed, hash-chained to the previous event)
  → reconciliation             (reads the chain; discrepancies surface, never smoothed)
  → settlement                 (per connected rail — incl. card → USDC instant settlement)

The ledger is the system of record

Every financial event — success or failure — is chained to the previous event and signed with PAID's key. Anyone holding the published public key can verify the entire history offline; tampering is mathematically detectable. Reconciliation reads this chain rather than diffing exports, which is why it takes seconds instead of days. Full detail: the hash-chained ledger.

Design guarantees

What sits where

Related