{
  "schemaVersion": "1.0",
  "item": {
    "slug": "shopify-checkout",
    "name": "Shopify Checkout API",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/jelilat/shopify-checkout",
    "canonicalUrl": "https://clawhub.ai/jelilat/shopify-checkout",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/shopify-checkout",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=shopify-checkout",
    "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-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-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/shopify-checkout"
    },
    "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/shopify-checkout",
    "agentPageUrl": "https://openagent3.xyz/skills/shopify-checkout/agent",
    "manifestUrl": "https://openagent3.xyz/skills/shopify-checkout/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/shopify-checkout/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": "Credpay Checkout Skill",
        "body": "API Base URL: https://checkout-agent.credpay.xyz\n\nTrigger this skill whenever the user wants to purchase, order, or checkout a product from any online store."
      },
      {
        "title": "What you need from the user",
        "body": "Collect these before starting (ask if missing):\n\nFieldExampleProduct URLhttps://example.com/products/teeQuantity1Size / Color (if applicable)\"Size\": \"M\", \"Color\": \"Black\"Emailcustomer@example.comGoods total (USD)\"49.99\" — item price as a USD string, no currency symbolShipping addressfirstName, lastName, line1, city, state, postalCode, country, phone"
      },
      {
        "title": "Step 1 — Get a quote (no payment needed)",
        "body": "POST https://checkout-agent.credpay.xyz/v1/quote\nContent-Type: application/json\n\n{\n  \"items\": [\n    {\n      \"url\": \"<product URL>\",\n      \"quantity\": 1,\n      \"options\": { \"Size\": \"M\", \"Color\": \"Black\" }\n    }\n  ],\n  \"email\": \"<email>\",\n  \"shippingAddress\": {\n    \"firstName\": \"Jane\",\n    \"lastName\": \"Doe\",\n    \"line1\": \"123 Main St\",\n    \"city\": \"Austin\",\n    \"state\": \"TX\",\n    \"postalCode\": \"78701\",\n    \"country\": \"United States\",\n    \"countryCode\": \"US\",\n    \"phone\": \"+15125551234\"\n  },\n  \"goodsTotal\": \"<item price in USD as string, e.g. \\\"49.99\\\">\"\n}\n\n→ Save maxAmount from the response. This is the USDC amount you will pay via x402."
      },
      {
        "title": "Step 2 — Submit checkout (x402 payment required)",
        "body": "POST https://checkout-agent.credpay.xyz/v1/checkout\nContent-Type: application/json\nX-PAYMENT: <x402 payment payload for maxAmount on Base chainId 8453>\n\n<same body as Step 1>\n\n→ On 202: save requestId and go to Step 3.\n→ On 402: re-read the payment requirements from the response and retry with a correct X-PAYMENT header."
      },
      {
        "title": "Step 3 — Poll for completion",
        "body": "GET https://checkout-agent.credpay.xyz/v1/checkout/{requestId}\n\nPoll every 5 seconds. Stop when status is completed or failed. Timeout after 10 minutes.\n\nStatusActionprocessingKeep pollingauthorization_requiredSee Step 4completedDone — return result to userfailedReport errorCode + errorMessage to user"
      },
      {
        "title": "Step 4 — Handle extra payment (if needed)",
        "body": "If status is authorization_required, the order total exceeded the quoted amount:\n\nPOST https://checkout-agent.credpay.xyz/v1/checkout/{requestId}/authorize\nX-PAYMENT: <x402 payment for extraOwed amount>\n\nThen resume polling from Step 3."
      },
      {
        "title": "Rules",
        "body": "Works with any online store — just pass the product page URL.\nNever create a second checkout for the same intent while a requestId is active.\nRetry transient network errors with exponential backoff. Never blind-retry failed status.\nDefault chainId is 8453 (Base)."
      },
      {
        "title": "Success response",
        "body": "{\n  \"requestId\": \"req_abc123\",\n  \"status\": \"completed\",\n  \"success\": true,\n  \"orderNumber\": \"1234\"\n}"
      },
      {
        "title": "Failure response",
        "body": "{\n  \"requestId\": \"req_abc123\",\n  \"status\": \"failed\",\n  \"success\": false,\n  \"errorCode\": \"payment_failed\",\n  \"errorMessage\": \"Card declined\"\n}"
      }
    ],
    "body": "Credpay Checkout Skill\n\nAPI Base URL: https://checkout-agent.credpay.xyz\n\nTrigger this skill whenever the user wants to purchase, order, or checkout a product from any online store.\n\nWhat you need from the user\n\nCollect these before starting (ask if missing):\n\nField\tExample\nProduct URL\thttps://example.com/products/tee\nQuantity\t1\nSize / Color (if applicable)\t\"Size\": \"M\", \"Color\": \"Black\"\nEmail\tcustomer@example.com\nGoods total (USD)\t\"49.99\" — item price as a USD string, no currency symbol\nShipping address\tfirstName, lastName, line1, city, state, postalCode, country, phone\nStep 1 — Get a quote (no payment needed)\nPOST https://checkout-agent.credpay.xyz/v1/quote\nContent-Type: application/json\n\n{\n  \"items\": [\n    {\n      \"url\": \"<product URL>\",\n      \"quantity\": 1,\n      \"options\": { \"Size\": \"M\", \"Color\": \"Black\" }\n    }\n  ],\n  \"email\": \"<email>\",\n  \"shippingAddress\": {\n    \"firstName\": \"Jane\",\n    \"lastName\": \"Doe\",\n    \"line1\": \"123 Main St\",\n    \"city\": \"Austin\",\n    \"state\": \"TX\",\n    \"postalCode\": \"78701\",\n    \"country\": \"United States\",\n    \"countryCode\": \"US\",\n    \"phone\": \"+15125551234\"\n  },\n  \"goodsTotal\": \"<item price in USD as string, e.g. \\\"49.99\\\">\"\n}\n\n\n→ Save maxAmount from the response. This is the USDC amount you will pay via x402.\n\nStep 2 — Submit checkout (x402 payment required)\nPOST https://checkout-agent.credpay.xyz/v1/checkout\nContent-Type: application/json\nX-PAYMENT: <x402 payment payload for maxAmount on Base chainId 8453>\n\n<same body as Step 1>\n\n\n→ On 202: save requestId and go to Step 3. → On 402: re-read the payment requirements from the response and retry with a correct X-PAYMENT header.\n\nStep 3 — Poll for completion\nGET https://checkout-agent.credpay.xyz/v1/checkout/{requestId}\n\n\nPoll every 5 seconds. Stop when status is completed or failed. Timeout after 10 minutes.\n\nStatus\tAction\nprocessing\tKeep polling\nauthorization_required\tSee Step 4\ncompleted\tDone — return result to user\nfailed\tReport errorCode + errorMessage to user\nStep 4 — Handle extra payment (if needed)\n\nIf status is authorization_required, the order total exceeded the quoted amount:\n\nPOST https://checkout-agent.credpay.xyz/v1/checkout/{requestId}/authorize\nX-PAYMENT: <x402 payment for extraOwed amount>\n\n\nThen resume polling from Step 3.\n\nRules\nWorks with any online store — just pass the product page URL.\nNever create a second checkout for the same intent while a requestId is active.\nRetry transient network errors with exponential backoff. Never blind-retry failed status.\nDefault chainId is 8453 (Base).\nSuccess response\n{\n  \"requestId\": \"req_abc123\",\n  \"status\": \"completed\",\n  \"success\": true,\n  \"orderNumber\": \"1234\"\n}\n\nFailure response\n{\n  \"requestId\": \"req_abc123\",\n  \"status\": \"failed\",\n  \"success\": false,\n  \"errorCode\": \"payment_failed\",\n  \"errorMessage\": \"Card declined\"\n}"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/jelilat/shopify-checkout",
    "publisherUrl": "https://clawhub.ai/jelilat/shopify-checkout",
    "owner": "jelilat",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/shopify-checkout",
    "downloadUrl": "https://openagent3.xyz/downloads/shopify-checkout",
    "agentUrl": "https://openagent3.xyz/skills/shopify-checkout/agent",
    "manifestUrl": "https://openagent3.xyz/skills/shopify-checkout/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/shopify-checkout/agent.md"
  }
}