{
  "schema_version": "v1",
  "name": "PrivacyNumber",
  "description": "Anonymous virtual phone numbers (mobile & landline) in 47 countries, no-KYC, crypto-only. Autonomous AI agents order and pay end-to-end over HTTP with x402 — no account, no signup, no email required. One order = one number subscription.",
  "url": "https://privacynumber.io",
  "logo": "https://privacynumber.io/og-image.svg",
  "agent_api": "https://privacynumber.io/agent-api.php",
  "openapi_url": "https://privacynumber.io/openapi.json",
  "llms_txt_url": "https://privacynumber.io/llms.txt",
  "x402_supported": true,
  "x402_mode": "exact",
  "x402_network": "base",
  "x402_assets": ["USDC"],
  "x402_note": "Real x402 (scheme 'exact', USDC on Base), pay-PER-ORDER (no balance, no account). POST /agent-api.php?action=pay {order_id} with header 'X-Payment-Mode: x402' to receive an HTTP 402 'accepts' block; sign the EIP-3009 USDC authorization and re-POST with the 'X-PAYMENT' header. Settlement is gasless for the agent and on-chain-instant; the order is marked paid + provisioned immediately.",
  "authentication": {
    "type": "none",
    "note": "No account or API key. The order_id returned by ?action=order plus the x402 payment are the entire identity. Pay-per-order."
  },
  "products": [
    {
      "id": "virtual_number",
      "name": "Virtual phone number subscription",
      "description": "A mobile or landline number in a chosen country, billed monthly / quarterly / yearly. Optional AI add-ons (auto-pickup, screening, voicemail summary, live translator). One-time $10 setup fee.",
      "order_endpoint": "POST https://privacynumber.io/agent-api.php?action=order",
      "from_usd_month": 6.37
    }
  ],
  "endpoints": [
    {"method": "GET",  "path": "/agent-api.php?action=catalog", "auth": "none", "desc": "Pricing model + all 47 countries (iso, name, dial, tier, from-price) + periods + AI add-ons."},
    {"method": "GET",  "path": "/agent-api.php?action=numbers&iso=<iso>", "auth": "none", "desc": "Available numbers for a country (mobile/landline, normal/premium)."},
    {"method": "GET",  "path": "/agent-api.php?action=quote", "auth": "none", "query": "iso,type,period,number_class,addons", "desc": "Exact price breakdown for a selection."},
    {"method": "POST", "path": "/agent-api.php?action=order", "auth": "none", "body": "{iso,type,period,number?,number_class?,addons?,email?}", "desc": "Create an order. number auto-picked if omitted. Returns order_id + total_usd."},
    {"method": "POST", "path": "/agent-api.php?action=pay",   "auth": "none", "body": "{order_id}", "headers": ["X-Payment-Mode: x402", "X-PAYMENT (on the signed retry)"], "desc": "First call -> HTTP 402 + x402 accepts; signed retry settles on Base and provisions."},
    {"method": "GET",  "path": "/agent-api.php?action=status&order_id=<id>", "auth": "none", "desc": "Order + delivery status."}
  ],
  "flow": [
    "GET ?action=catalog",
    "POST ?action=order {iso:'fr',type:'mobile',period:'monthly'} -> order_id",
    "POST ?action=pay {order_id} with X-Payment-Mode: x402 -> 402 accepts",
    "sign EIP-3009 USDC authorization, re-POST ?action=pay {order_id} with X-PAYMENT",
    "GET ?action=status&order_id=... -> paid + provisioned"
  ],
  "payment": {
    "model": "pay-per-order",
    "currency": "USD",
    "x402_currency": "USDC (Base)",
    "also_accepts_human_checkout": ["BTC","XMR","ETH","USDT","USDTTRC","USDCETH","LTC","SOL","TRX","TON","XRP","POL","BCH","DOGE","DASH"],
    "kyc_required": false,
    "email_required": false
  },
  "countries_count": 47,
  "policy": { "kyc": false, "no_signup": true }
}
