WeChat Pay Risk Control Verification: Pre-transaction Merchant Risk Assessment Skill Based on Official APIs

Preface

In the payment business, merchant onboarding is often held up by risk control. Issues such as consistency between ID cards, settlement cards, business licenses, and store information, or the existence of historical risks, typically require developers to manually stitch together APIs, maintain keys, and format requests based on WeChat Pay documentation. Incomplete integration often leads to missed risk dimensions or the discovery of high-risk merchants only after going live.

The following is an introduction to the community Skill “WeChat Pay Risk Check” (coordinates @user_8509461a/wechatpay-risk-check, version 1.0.0) on SkillHub. It encapsulates “pre-emptive merchant risk verification” into an Agent-executable Skill. It declares itself based on official WeChat Pay risk control interfaces, guiding the Agent to complete multi-dimensional assessments via SKILL.md, rather than requiring integration from scratch within business code.

What is this

“WeChat Pay Risk Check” is a professional community Skill on SkillHub (source: community, publisher coordinates: user_8509461a; the SkillHub page attributes the authorship to Shu Qi Tou Guan (Sichuan Province) Enterprise Management Co., Ltd.). Its positioning in one sentence: providing pre-emptive merchant risk verification services, performing multi-dimensional risk assessments before merchants are officially connected to identify high-risk entities and ensure payment security.

Compared to “just giving documentation links and letting developers write scripts,” its value lies in consolidating the verification process and official API usage into a Skill package. This allows Agents supporting Skills (like Cursor and Claude Code) to load it and execute tasks according to the instructions. The Skill tag indicates requires_api_key=true, meaning that the corresponding API keys must be configured to actually invoke WeChat Pay risk control capabilities. Specific fields should be based on the Skill documentation after installation.

Core Functions

The following capabilities are derived from the official SkillHub description. Interface names or return fields not appearing in the materials are not expanded upon.

  1. Pre-emptive Merchant Risk Verification: Targets “pre-launch” stages such as onboarding and settlement account audits, rather than post-transaction monitoring.
  2. Integration with Official WeChat Pay Risk Control APIs: The assessment logic relies on WeChat’s risk control capabilities rather than a self-built rule engine.
  3. Multi-dimensional Assessment: Dimensions explicitly supported in the materials include:
    • ID Card
    • Bank Card
    • Business License
    • Store Information
  4. Goal: Accurately identify high-risk merchants and mitigate payment security risks.

Installation and Activation

The Skill follows the standard SKILL.md format. If the SkillHub CLI is not installed on your machine, please check or install it according to the official installation documentation first (see SkillHub Installation and Priority Source Configuration).

Method 1: Let the Agent install via official instructions

Send the following prompt to your current AI client (consistent with the SkillHub page):

Please install `@user_8509461a/wechatpay-risk-check` based on https://skillhub.cn/install/skillhub.md.

The Agent will check for the CLI, select the skills directory for the current environment, and complete the installation following skillhub.md.

Method 2: Command-line Installation

After confirming skillhub is installed, you must use --dir to point to the current Agent’s skills directory. Otherwise, installing to the default ./skills/ might not be recognized:

command -v skillhub && skillhub --version
skillhub install @user_8509461a/wechatpay-risk-check --dir <skills directory>

Common directory examples (from SkillHub installation docs):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

After installation, refresh or restart the Agent as required by the specific client to activate the Skill. Fill in sensitive configurations like API keys according to the instructions within the Skill; do not write them to public repositories.

Typical Usage

The public page does not include a complete, copyable verification request example; the reproducible installation steps are as follows:

  1. Complete the installation in the previous section and configure the API Key required by the Skill (requires_api_key=true).
  2. In the conversation, state that you intend to perform a “WeChat Pay Merchant Pre-emptive Risk Check” and provide the dimension information mentioned in the materials as required (such as ID card, bank card, business license, store information, etc., subject to the Skill’s actual guidance).
  3. Once the Agent loads @user_8509461a/wechatpay-risk-check, it will invoke the official WeChat Pay risk control workflows and summarize the risk assessment results according to the SKILL.md within the package.

To verify Skill metadata or reinstall, the official entries are:

  • SkillHub Display Page: https://www.skillhub.cn/skills/user_8509461a/wechatpay-risk-check
  • API Coordinates Page: https://api.skillhub.cn/user_8509461a/wechatpay-risk-check

Applicable Scenarios and Notes

Who it is for

  • Teams needing pre-emptive risk control during WeChat Pay merchant onboarding or when service providers expand merchants.
  • Those who want to delegate steps like “checking ID cards / bank cards / licenses / stores” to an Agent executing the Skill, reducing the development cost of repeatedly checking documentation and stitching requests.

Limitations and Notes

  1. Dependency on WeChat Pay capabilities and keys: You must possess legal merchant qualifications and access rights to the official risk control API; keys should only be stored locally or in controlled configurations.
  2. Community Skill: The source is the community. Before integration, it is recommended to verify its compatibility with your own onboarding workflow in a test environment.
  3. Version: The current version marked on SkillHub is 1.0.0; for upgrades, use skillhub to update the same coordinates and read the SKILL.md changelog again.
  4. Compliance: Merchant personal information and licenses are sensitive data. The scope, retention, and display of verification must comply with business compliance requirements.

Conclusion

“WeChat Pay Risk Check” encapsulates pre-emptive multi-dimensional risk assessment on official WeChat Pay risk control interfaces into an Agent Skill. It is suitable for identifying risks across dimensions such as ID cards, bank cards, business licenses, and store information during onboarding audits. For installation and coordinates, refer to SkillHub: https://www.skillhub.cn/skills/user_8509461a/wechatpay-risk-check.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye