# The Vault — x402 Debug & Payment Infrastructure Inspector

> The Vault — x402 Debug & Payment Infrastructure Inspector is a paid API for AI agents from 4ohfmz-ip-54-209-17-224.tunnelmole.net, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Provides a combined x402 payment infrastructure debugger: checks facilitator health, builds payment challenges, verifies receipts, and returns current payment acceptance details for the Vault service.

## Facts

- Endpoint: GET https://4ohfmz-ip-54-209-17-224.tunnelmole.net/v1/x402-debug
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/the-vault-x402-debug-payment-infrastructure-inspector-1a4c52b4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_N4TYfFd3HWRgq1apVeXNg

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability the-vault-x402-debug-payment-infrastructure-inspector-1a4c52b4
```

Example prompt: Can you debug the Vault x402 payment infrastructure and tell me if the facilitator is healthy, what assets and networks it accepts for payment, and whether the bazaar extension is active?

## When to prefer this

Use this endpoint when you need to introspect, debug, or validate The Vault's x402 payment infrastructure — specifically to check facilitator health, confirm accepted payment assets and addresses on Coinbase Base, verify x402 challenge/receipt correctness, or troubleshoot payment flow issues before or after a transaction. Prefer this over generic x402 tools when dealing specifically with The Vault / Scarce service and needing combined debugger + facilitator health + payment challenge info in a single call.

## Known failure modes

- Facilitator offline or unreachable — facilitator.ok returns false with elevated latency
- Tunnelmole tunnel expired or host unreachable — connection timeout or 502/503 error
- Payment challenge generation fails — payment_required.ok returns false
- Invalid or malformed query parameters — may return 400 with error details
- Bazaar extension not recognized — missing 'bazaar' in extensions array

## How this service works

Scarce x402 payment infra: debugger, facilitator health, challenge builder, receipt verifier. Vault money never pays first.

## Output

A JSON object confirming the service is operational, including: facilitator health (ok, bazaar flag, latency_ms), full payment_required block listing accepted assets (USDC contract on Base, atomic amount 10000, payTo address, scheme 'exact', network 'eip155:8453'), x402Version, active extensions (bazaar), and a generated_at timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "queryParams": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "service": "the-vault-x402-debug",
  "price_usdc": 0.01,
  "facilitator": {
   "ok": true,
   "bazaar": true,
   "latency_ms": 120,
   "has_base_exact": true
  },
  "generated_at": "2026-08-23T17:00:00.000Z",
  "payment_required": {
   "ok": true,
   "accepts": [
    {
     "ok": true,
     "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
     "index": 0,
     "payTo": "0x6e19C5A629cc9E0e31Bb22f2024Ba481688729c0",
     "issues": [],
     "scheme": "exact",
     "network": "eip155:8453",
     "warnings": [],
     "amount_usdc": 0.01,
     "amount_atomic": "10000"
    }
   ],
   "extensions": [
    "bazaar"
   ],
   "x402Version": 2,
   "accepts_count": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/the-vault-x402-debug-payment-infrastructure-inspector-1a4c52b4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 4ohfmz-ip-54-209-17-224.tunnelmole.net](https://www.zero.xyz/host/4ohfmz-ip-54-209-17-224.tunnelmole.net/llms.txt)
