{
 "version": 2,
 "seller": {
  "name": "loki-x402",
  "contact": "https://loki.freedomlab.space"
 },
 "resources": [
  "https://loki.freedomlab.space/x402/digest/{address}",
  "https://loki.freedomlab.space/x402/price/{symbol}"
 ],
 "actions": [
  {
   "path": "/x402/watch",
   "method": "POST",
   "price": "$0.02",
   "content_type": "application/json",
   "body_schema": {
    "wallet": "solana pubkey",
    "webhook_url": "https://\u2026",
    "label": "optional string"
   },
   "description": "30-day Solana wallet watch; alerts POSTed to webhook_url on balance/tx change"
  },
  {
   "path": "/x402/kv/put/{key}",
   "method": "POST",
   "price": "$0.001",
   "content_type": "application/json",
   "body_schema": {
    "value": "any JSON, \u226416KB"
   },
   "description": "Durable agent memory: store JSON 30 days; free read at /x402/kv/get/{key}"
  },
  {
   "path": "/x402/inbox-lite",
   "method": "POST",
   "price": "$0.02",
   "content_type": "application/json",
   "body_schema": {
    "label": "optional string"
   },
   "description": "Webhook inbox LITE (entry tier): a private URL that accepts any POST for 7 days (free receive + free poll). For agents with no public ingress; use it as webhook_url with /x402/watch to close the alert loop."
  },
  {
   "path": "/x402/inbox",
   "method": "POST",
   "price": "$0.25",
   "content_type": "application/json",
   "body_schema": {
    "label": "optional string"
   },
   "description": "Webhook inbox: a private URL that accepts any POST for 30 days (free receive + free poll). For agents without ingress; use it as webhook_url with /x402/watch to close the alert loop."
  },
  {
   "path": "/base/kv/put/{key}",
   "method": "POST",
   "price": "$0.001",
   "network": "eip155:8453 (Base USDC, EIP-3009)",
   "content_type": "application/json",
   "body_schema": {
    "value": "any JSON, \u226416KB"
   },
   "description": "Base-lane durable agent memory (30 days); free read at /base/kv/get/{key}"
  },
  {
   "path": "/base/digest/{address}",
   "method": "GET",
   "price": "$0.01",
   "network": "eip155:8453 (Base USDC, EIP-3009)",
   "description": "EVM address digest on Base: ETH + USDC balances"
  }
 ],
 "payment": {
  "scheme": "exact",
  "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
  "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v (USDC)",
  "facilitator": "https://facilitator.payai.network"
 },
 "instructions": "GET returns HTTP 402 with PAYMENT-REQUIRED header. Retry with PAYMENT-SIGNATURE header (x402 v2 exact/svm). Settlement via facilitator."
}