Documentation menu

Documentation

Install the Settlens CLI, assess x402 endpoints and facilitators, gate CI, monitor production, sign evidence and connect AI agents.

In short

Settlens documentation covers the CLI, the x402 V2 check catalog, configuration, report formats, the GitHub Action, Monitor, signed evidence, the MCP server and the HTTP scan API. Start with the quickstart: a passive scan of a local demo endpoint, with no wallet or payment key.

On this page

Settlens checks that x402 paid resources and facilitators follow the protocol, bind each payment to the right resource, recipient and price, and keep doing so. It verifies payment authorizations offline and signs its evidence. It is passive by default, needs no wallet or payment key, never calls /settle and never holds funds.

The CLI (version 0.5.0) runs on Node.js 20.19 or newer. Its code is in a private repository that pilot participants receive; it is not published on npm.

Start here

Find a page by task

What do you want to do?
TaskRead
Check a PAYMENT-REQUIRED header in the browser, with nothing to installx402 checker
Understand x402 before you startLearn x402
Try Settlens on a local demo in ten minutesQuickstart
Scan one paid endpointCLI: scan
Check a facilitator's GET /supportedCLI: facilitator
Assess many endpoints with a policyConfiguration
Fail a pull request when a check failsGitHub Action
Understand a finding and fix itCheck catalog
Verify a captured payment authorization offlineCLI: verify-payment
Prove a report was not editedReports: verify
Get alerted when payment terms changeMonitor
Sign a report for a partner or auditorEvidence
Let an AI agent check a 402 before payingMCP server
Run scans from your own backendHTTP API
Know what a passing report provesMethodology
Review Settlens' safety guarantees or report a vulnerabilitySecurity model

How the pieces fit

A finding means the same thing in a local scan, a CI job, a monitor alert and an agent's decision.

Browse by component

Use Settlens

Reference

Assurance

Conventions in these docs

  • settlens stands for node /path/to/settlens/src/cli.js; the CLI reference shows a one-line alias.
  • Transcripts are real output. Scans run against the demo server bundled with the repository (npm run demo:server). Report ids, digests, keys and timings differ on every run.
  • merchant.example and facilitator.example stand for your own hosts.
  • Reference tables (configuration fields, report fields, checks, Action inputs, CLI options) are generated from the Settlens source when this site is built.

Get access

To run Settlens on your own endpoints, request a pilot: we scope one endpoint or facilitator first and share the repository. Building an agent? Start with the MCP server.

Last updated