WeChat Pay Full-Stack Skill for Openclaw

A professional integration suite for automating WeChat Pay workflows, including QR code generation, payment callbacks, and secure credential management.

piaoleaf
v1.0.7
Apr 17, 2026
0
827
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install weixinpay-skill

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 weixinpay-skill 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 WeChat Pay Full-Stack Skill?

The WeChat Pay skill is designed to bridge the gap between complex official APIs and practical developer implementation. It allows users to trigger payment QR codes by simply providing non-sensitive data like order IDs and merchant IDs, while the system handles sensitive operations such as API key management, RSA signing, and platform certificate validation behind the scenes.

By leveraging Openclaw Skills, businesses can streamline the entire payment lifecycle—from initial merchant onboarding and JSAPI/Native interface integration to daily operations like reconciliation and refunds. The skill enforces strict security protocols, ensuring that sensitive credentials are never exposed to end-users or recorded in logs.

WeChat Pay Full-Stack Skill Use Cases

  • Automating the generation of Native payment QR codes for physical stores or desktop websites.
  • Integrating JSAPI payments within WeChat Mini Programs or Official Accounts.
  • Streamlining daily financial operations such as downloading transaction bills for automated reconciliation.
  • Handling secure refund requests and processing cashback marketing campaigns via red envelopes.
  • Simplifying the merchant onboarding process with guided official documentation links.

How WeChat Pay Full-Stack Skill Works

  1. The user provides public parameters such as the Order Number and Merchant ID to the AI agent.
  2. The system retrieves pre-configured sensitive credentials (API keys, private keys) from a secure management vault.
  3. A request is sent to the official WeChat Pay API using automated signing and encryption mechanisms.
  4. For Native payments, the system receives a code_url and converts it into a scannable QR code image for the user.
  5. The skill monitors asynchronous callbacks from WeChat servers to verify payment success via HTTPS.
  6. Upon verification, the system updates the local order status and notifies the user of the completed transaction.

WeChat Pay Full-Stack Skill Setup

The deployment requires administrative configuration of official WeChat Pay credentials.

# Example: Verify your merchant configuration environment
# Sensitive keys are managed by the administrator, not the end user.
openclaw skill install wechatpay

# Configure secure environment variables (Admin only)
export WECHAT_MCH_ID="your_merchant_id"
export WECHAT_API_V3_KEY="your_secure_v3_key"

WeChat Pay Full-Stack Skill Data Schema & Taxonomy

The skill organizes payment data and metadata into the following structure:

Field Name Type Description Visibility
order_id String Unique transaction identifier Public
mch_id String Official Merchant ID Public
code_url String Generated payment link Public
api_key_v3 String Merchant API v3 Key Secret (Admin)
cert_serial_no String Certificate Serial Number Secret (Admin)
bill_data CSV/ZIP Transaction reconciliation files Restricted

WeChat Pay Full-Stack Skill Advanced Features

  • Multi-scene support covering JSAPI, H5, Native, and APP payment interfaces.
  • Automated credential rotation hooks to update API keys every 3-6 months for enhanced security.
  • Integrated marketing tools for distributing cash red envelopes and viral marketing rewards.
  • Real-time memory destruction of sensitive keys immediately after API calls to prevent leakages.
  • Advanced reconciliation engine compatible with CSV and ZIP formats for automated accounting.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*