# Send Shopify Checkout API to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- 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.
## Suggested prompts
### New install

```text
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.
```
### Upgrade existing

```text
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.
```
## Machine-readable fields
```json
{
  "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": {
    "downloadUrl": "/downloads/shopify-checkout",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=shopify-checkout",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "shopify-checkout",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-08T19:21:47.614Z",
      "expiresAt": "2026-05-15T19:21:47.614Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=shopify-checkout",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=shopify-checkout",
        "contentDisposition": "attachment; filename=\"shopify-checkout-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "shopify-checkout"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "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."
      ]
    }
  },
  "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"
  }
}
```
## Documentation

### Credpay Checkout Skill

API Base URL: https://checkout-agent.credpay.xyz

Trigger this skill whenever the user wants to purchase, order, or checkout a product from any online store.

### What you need from the user

Collect these before starting (ask if missing):

FieldExampleProduct 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

### Step 1 — Get a quote (no payment needed)

POST https://checkout-agent.credpay.xyz/v1/quote
Content-Type: application/json

{
  "items": [
    {
      "url": "<product URL>",
      "quantity": 1,
      "options": { "Size": "M", "Color": "Black" }
    }
  ],
  "email": "<email>",
  "shippingAddress": {
    "firstName": "Jane",
    "lastName": "Doe",
    "line1": "123 Main St",
    "city": "Austin",
    "state": "TX",
    "postalCode": "78701",
    "country": "United States",
    "countryCode": "US",
    "phone": "+15125551234"
  },
  "goodsTotal": "<item price in USD as string, e.g. \\"49.99\\">"
}

→ Save maxAmount from the response. This is the USDC amount you will pay via x402.

### Step 2 — Submit checkout (x402 payment required)

POST https://checkout-agent.credpay.xyz/v1/checkout
Content-Type: application/json
X-PAYMENT: <x402 payment payload for maxAmount on Base chainId 8453>

<same body as Step 1>

→ 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.

### Step 3 — Poll for completion

GET https://checkout-agent.credpay.xyz/v1/checkout/{requestId}

Poll every 5 seconds. Stop when status is completed or failed. Timeout after 10 minutes.

StatusActionprocessingKeep pollingauthorization_requiredSee Step 4completedDone — return result to userfailedReport errorCode + errorMessage to user

### Step 4 — Handle extra payment (if needed)

If status is authorization_required, the order total exceeded the quoted amount:

POST https://checkout-agent.credpay.xyz/v1/checkout/{requestId}/authorize
X-PAYMENT: <x402 payment for extraOwed amount>

Then resume polling from Step 3.

### Rules

Works with any online store — just pass the product page URL.
Never create a second checkout for the same intent while a requestId is active.
Retry transient network errors with exponential backoff. Never blind-retry failed status.
Default chainId is 8453 (Base).

### Success response

{
  "requestId": "req_abc123",
  "status": "completed",
  "success": true,
  "orderNumber": "1234"
}

### Failure response

{
  "requestId": "req_abc123",
  "status": "failed",
  "success": false,
  "errorCode": "payment_failed",
  "errorMessage": "Card declined"
}
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: jelilat
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-08T19:21:47.614Z
- Expires at: 2026-05-15T19:21:47.614Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/shopify-checkout)
- [Send to Agent page](https://openagent3.xyz/skills/shopify-checkout/agent)
- [JSON manifest](https://openagent3.xyz/skills/shopify-checkout/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/shopify-checkout/agent.md)
- [Download page](https://openagent3.xyz/downloads/shopify-checkout)