three.ws Agent Payments
Governed x402 payment sessions: pay any endpoint with budget, allowlist & per-tx caps, no key.
What this server provides
Governed x402 payment sessions: pay any endpoint with budget, allowlist & per-tx caps, no key.
Packages
npxTransport stdio- THREE_WS_SESSIONOptional
Your three.ws session token (value of the `__Host-sid` cookie from a signed-in browser). Required for account management operations: create_payment_session, list_payment_sessions, check_payment_session, cancel_payment_session.
Format: string - PAYMENT_SESSION_TOKENOptional
A payment session bearer token (starts with 'pss_') from create_payment_session. Used by the agent for pay_with_session calls when no inline token is passed. Treat like a spending card — it authorizes payments up to the session's budget.
Format: string - THREE_WS_BASEOptional
Base URL of the three.ws API. Override only when self-hosting or targeting a preview deployment.
Format: string · Default: https://three.ws - THREE_WS_TIMEOUT_MSOptional
Per-request HTTP timeout in milliseconds. x402 payments involve on-chain settlement so this should be generous (default: 30000).
Format: number · Default: 30000