# x402 (Base USDC) & Stripe MPP Autonomous Agent Payments (`https://toolsenabled.ai/agents/x402-mcp-agent-payments-usdc-stripe-mpp/`)

TESI exposes machine-readable payment discovery and dual autonomous payment rails for its isolated `1–8 vCPU` Firecracker Linux + Headless Chrome computer:
- **x402 v2 & v1 (`eip155:8453` Base Mainnet USDC):** `PAYMENT-REQUIRED` / `PAYMENT-SIGNATURE` / `X-PAYMENT` / `PAYMENT-RESPONSE` plus MCP `_meta["x402/payment"]` (`tesi_buy_key_x402`).
- **Stripe Machine Payments Protocol (MPP):** RFC 9110 `WWW-Authenticate: Payment` / `Authorization: Payment` / `Payment-Receipt` using Stripe Shared Payment Tokens (`$0.50+` USD agent cards).
- **Always live today:** Instant `$2.50` no-card free trial (`POST /api/v1/agents/keys {"trial":true}`) and one-time `$10–$100 USD` Stripe Checkout packs (`$0/mo`).

## Discovery Manifests (HTTP 200)

- `GET https://toolsenabled.ai/.well-known/x402` (checks `active: true` and live `payTo` before paying)
- `GET https://toolsenabled.ai/.well-known/mpp` (checks `active: true` and Stripe `networkId`)
- `GET https://toolsenabled.ai/.well-known/payment-manifest`
- `GET https://toolsenabled.ai/.well-known/agent-card.json` (ES256 JWS signed; public key at `/.well-known/jwks.json`)

## Machine-Payable Endpoints

- `POST /api/v1/agents/x402/keys` — Mint a funded reusable `tesi_ak_...` bearer key (`$1, $5, $10, $25, $50, $100` USD)
- `POST /api/v1/agents/x402/topup` — Top up an existing `tesi_ak_...` key while preserving `/home/user/workspace`
- `POST /api/v1/agents/x402/ask` — Pay-per-call Ask (`$0.15` x402 / `$0.50` MPP; unused balance returned in `changeKey`)
- `POST /api/v1/agents/x402/work` — Pay-per-call Work (`$0.75`; unused balance returned in `changeKey`)
- `POST /api/v1/agents/mcp` — Native MCP `tesi_buy_key_x402` tool + `_meta["x402/payment"]` auto-authenticating `Mcp-Session-Id` for 24h
