{
  "schemaVersion": "1.0",
  "item": {
    "slug": "pay-for-service",
    "name": "Pay For Service",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/0xRAG/pay-for-service",
    "canonicalUrl": "https://clawhub.ai/0xRAG/pay-for-service",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/pay-for-service",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=pay-for-service",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/pay-for-service"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/pay-for-service",
    "agentPageUrl": "https://openagent3.xyz/skills/pay-for-service/agent",
    "manifestUrl": "https://openagent3.xyz/skills/pay-for-service/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/pay-for-service/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Making Paid x402 Requests",
        "body": "Use the npx awal@latest x402 pay command to call paid API endpoints with automatic USDC payment on Base."
      },
      {
        "title": "Confirm wallet is initialized and authed",
        "body": "npx awal@latest status\n\nIf the wallet is not authenticated, refer to the authenticate-wallet skill."
      },
      {
        "title": "Command Syntax",
        "body": "npx awal@latest x402 pay <url> [-X <method>] [-d <json>] [-q <params>] [-h <json>] [--max-amount <n>] [--json]"
      },
      {
        "title": "Options",
        "body": "OptionDescription-X, --method <method>HTTP method (default: GET)-d, --data <json>Request body as JSON string-q, --query <params>Query parameters as JSON string-h, --headers <json>Custom HTTP headers as JSON string--max-amount <amount>Max payment in USDC atomic units (1000000 = $1.00)--correlation-id <id>Group related operations--jsonOutput as JSON"
      },
      {
        "title": "USDC Amounts",
        "body": "X402 uses USDC atomic units (6 decimals):\n\nAtomic UnitsUSD1000000$1.00100000$0.1050000$0.0510000$0.01\n\nIMPORTANT: Always single-quote amounts that use $ to prevent bash variable expansion (e.g. '$1.00' not $1.00)."
      },
      {
        "title": "Examples",
        "body": "# Make a GET request (auto-pays)\nnpx awal@latest x402 pay https://example.com/api/weather\n\n# Make a POST request with body\nnpx awal@latest x402 pay https://example.com/api/sentiment -X POST -d '{\"text\": \"I love this product\"}'\n\n# Limit max payment to $0.10\nnpx awal@latest x402 pay https://example.com/api/data --max-amount 100000"
      },
      {
        "title": "Prerequisites",
        "body": "Must be authenticated (npx awal@latest status to check, see authenticate-wallet skill)\nWallet must have sufficient USDC balance (npx awal@latest balance to check)\nIf you don't know the endpoint URL, use the search-for-service skill to find services first"
      },
      {
        "title": "Error Handling",
        "body": "\"Not authenticated\" - Run awal auth login <email> first, or see authenticate-wallet skill\n\"No X402 payment requirements found\" - URL may not be an x402 endpoint; use search-for-service to find valid endpoints\n\"Insufficient balance\" - Fund wallet with USDC; see fund skill"
      }
    ],
    "body": "Making Paid x402 Requests\n\nUse the npx awal@latest x402 pay command to call paid API endpoints with automatic USDC payment on Base.\n\nConfirm wallet is initialized and authed\nnpx awal@latest status\n\n\nIf the wallet is not authenticated, refer to the authenticate-wallet skill.\n\nCommand Syntax\nnpx awal@latest x402 pay <url> [-X <method>] [-d <json>] [-q <params>] [-h <json>] [--max-amount <n>] [--json]\n\nOptions\nOption\tDescription\n-X, --method <method>\tHTTP method (default: GET)\n-d, --data <json>\tRequest body as JSON string\n-q, --query <params>\tQuery parameters as JSON string\n-h, --headers <json>\tCustom HTTP headers as JSON string\n--max-amount <amount>\tMax payment in USDC atomic units (1000000 = $1.00)\n--correlation-id <id>\tGroup related operations\n--json\tOutput as JSON\nUSDC Amounts\n\nX402 uses USDC atomic units (6 decimals):\n\nAtomic Units\tUSD\n1000000\t$1.00\n100000\t$0.10\n50000\t$0.05\n10000\t$0.01\n\nIMPORTANT: Always single-quote amounts that use $ to prevent bash variable expansion (e.g. '$1.00' not $1.00).\n\nExamples\n# Make a GET request (auto-pays)\nnpx awal@latest x402 pay https://example.com/api/weather\n\n# Make a POST request with body\nnpx awal@latest x402 pay https://example.com/api/sentiment -X POST -d '{\"text\": \"I love this product\"}'\n\n# Limit max payment to $0.10\nnpx awal@latest x402 pay https://example.com/api/data --max-amount 100000\n\nPrerequisites\nMust be authenticated (npx awal@latest status to check, see authenticate-wallet skill)\nWallet must have sufficient USDC balance (npx awal@latest balance to check)\nIf you don't know the endpoint URL, use the search-for-service skill to find services first\nError Handling\n\"Not authenticated\" - Run awal auth login <email> first, or see authenticate-wallet skill\n\"No X402 payment requirements found\" - URL may not be an x402 endpoint; use search-for-service to find valid endpoints\n\"Insufficient balance\" - Fund wallet with USDC; see fund skill"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/0xRAG/pay-for-service",
    "publisherUrl": "https://clawhub.ai/0xRAG/pay-for-service",
    "owner": "0xRAG",
    "version": "0.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/pay-for-service",
    "downloadUrl": "https://openagent3.xyz/downloads/pay-for-service",
    "agentUrl": "https://openagent3.xyz/skills/pay-for-service/agent",
    "manifestUrl": "https://openagent3.xyz/skills/pay-for-service/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/pay-for-service/agent.md"
  }
}