PayTrigo Payment Integration for Openclaw

A minimal, webhook-free payment skill for AI agents to create and verify Base/USDC transactions using PayTrigo.

paytrigo
v1.0.0
Feb 3, 2026
3
2.3k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install paytrigo-openclawbot

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 paytrigo-openclawbot 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 PayTrigo Payment Integration?

The PayTrigo skill for Openclaw Skills provides a streamlined interface for AI agents to manage cryptocurrency payments on the Base network using USDC. It is specifically designed for agents that lack webhook infrastructure, utilizing a polling-based status verification system. By leveraging platform API keys, this skill allows for immediate deployment without complex environment variable configuration, making it a cornerstone for commerce-enabled Openclaw Skills.

This integration supports two primary workflows: human-in-the-loop, where the agent provides a payment URL for a user to complete in a browser, and direct bot payments, where the agent signs transactions using a local private key. It prioritizes security and simplicity by handling the complexities of on-chain routing and intent verification within a local environment.

PayTrigo Payment Integration Use Cases

  • Enabling AI agents to sell digital goods or services by generating Base/USDC invoices.
  • Automating business-to-business payments between autonomous agents without manual intervention.
  • Providing a secure payment bridge for human users to fund agent tasks through a browser-based checkout.
  • Implementing usage-based billing for AI tools using the robust tracking features of Openclaw Skills.

How PayTrigo Payment Integration Works

  1. The agent initiates an invoice via the PayTrigo API using a platform key and specifying a recipient address on the Base network.
  2. For human users, the agent retrieves a payUrl; for direct payments, it fetches a payment intent containing calldata.
  3. In the bot-pay flow, the agent signs and submits the transaction hash to the PayTrigo router.
  4. The agent enters a polling loop, checking the invoice status at regular intervals until a final state like confirmed or expired is reached.
  5. Upon confirmation, the agent triggers the next step in its internal workflow based on the successful transaction.

PayTrigo Payment Integration Setup

Ensure you have Node.js 18+ installed. Install the dependencies and set up your local wallet storage to begin using these Openclaw Skills.

npm install
# Create a new local wallet store
node ./scripts/moltbot-wallet-setup.mjs create --passphrase-file ./passphrase.txt --set-recipient-from-wallet

To import an existing wallet:

node ./scripts/moltbot-wallet-setup.mjs import --pk-file ./payer.pk --passphrase-file ./passphrase.txt --set-recipient-from-wallet

PayTrigo Payment Integration Data Schema & Taxonomy

The skill manages local state and configuration through specific files stored in the .openclawbot directory to ensure persistence across sessions.

File Description
wallet.json Encrypted local storage for the bot's private key and wallet metadata.
wallet-address.txt Plaintext reference of the bot's public wallet address.
recipient.txt The destination address for all incoming payments generated by the skill.
invoiceId / checkoutToken Volatile data stored during the session to poll for payment completion.

PayTrigo Payment Integration Advanced Features

  • Idempotency Support: Uses unique UUIDs in headers to prevent duplicate invoice creation during retries.
  • Automated Polling Logic: Built-in backoff strategy (3-5s initially, then 10-15s) to stay within API rate limits.
  • Intent-Based Payments: Avoids common mistakes by using the PayTrigo Router steps instead of direct token transfers.
  • Local Wallet Encryption: Securely stores sensitive private keys using passphrase-protected local JSON files within the Openclaw Skills framework.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*