Credpay Checkout Skill for Openclaw

An advanced AI skill enabling automated product purchases and secure x402 crypto payments on any online storefront.

jelilat
v1.0.0
Feb 27, 2026
0
1.2k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install shopify-checkout

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install shopify-checkout using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Credpay Checkout Skill?

The Credpay Checkout skill is a sophisticated integration for Openclaw Skills that empowers AI agents to perform end-to-end e-commerce transactions. By leveraging the Credpay Checkout API, agents can navigate the complexities of online shopping—from item selection and address entry to final payment—using x402 payment protocols on the Base blockchain. This skill acts as a bridge between conversational AI and traditional retail platforms, allowing for a seamless, automated buying experience without requiring direct manual intervention for every checkout step.

Designed for flexibility, this skill works across virtually any online store by processing standard product URLs. It handles the nuances of quote generation, currency conversion to USDC, and secure transaction signing. For developers building agentic workflows, integrating this tool within the Openclaw Skills ecosystem provides a robust solution for procurement, delegated shopping, and automated retail tasks.

Credpay Checkout Skill Use Cases

  • Automating replenishment of office supplies or inventory through AI agents.
  • Integrating one-click crypto-based purchasing in conversational commerce bots.
  • Managing dropshipping or procurement tasks within specialized Openclaw Skills.
  • Providing a decentralized payment alternative for global shopping via x402 protocols.

How Credpay Checkout Skill Works

  1. The AI agent gathers product details, quantity, options, and shipping information from the user.
  2. A quote is requested from the Credpay API to determine the required USDC amount (maxAmount) and verify availability.
  3. The agent submits the checkout request with a signed x402 payment payload in the HTTP headers.
  4. The system enters a polling loop, checking the status endpoint every 5 seconds to monitor transaction progress.
  5. If price fluctuations occur, the agent handles the authorization_required state by submitting additional payment.
  6. Once the status reaches completed, the merchant order number and success confirmation are returned to the user.

Credpay Checkout Skill Setup

To integrate this capability into your Openclaw Skills environment, ensure your agent has access to the Credpay API endpoint and a wallet configured for Base (ChainID 8453). You can test the quote generation using the following command:

curl -X POST https://checkout-agent.credpay.xyz/v1/quote \
-H "Content-Type: application/json" \
-d '{
  "items": [{"url": "https://example.com/product", "quantity": 1}],
  "email": "[email protected]",
  "shippingAddress": {
    "firstName": "Jane",
    "lastName": "Doe",
    "line1": "123 Main St",
    "city": "Austin",
    "state": "TX",
    "postalCode": "78701",
    "country": "United States",
    "countryCode": "US",
    "phone": "+15125551234"
  },
  "goodsTotal": "49.99"
}'

Credpay Checkout Skill Data Schema & Taxonomy

The skill manages checkout data through a structured request-response cycle. Key data components include:

Attribute Description
requestId Unique identifier for tracking the checkout process lifecycle
status Current state of the order (processing, completed, failed, authorization_required)
maxAmount The quoted USDC amount required for the initial x402 payment payload
orderNumber The merchant-generated order ID returned upon successful completion

All interactions are logged against the specific requestId within the Openclaw Skills environment to prevent duplicate transactions and ensure idempotency.

Credpay Checkout Skill Advanced Features

  • Support for complex product variations including size, color, and custom attributes.
  • Automated handling of price variances via the authorization_required secondary payment flow.
  • Native integration with Base (ChainID 8453) for high-speed, low-cost USDC transactions.
  • Intelligent polling logic with exponential backoff for resilient network communication.
  • Universal compatibility with any online storefront via standard product URL parsing.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*