Introduction¶
When implementing payment collection within the Douyin ecosystem, the common difficulty is not the “lack of documentation,” but rather the multitude of product lines such as App, H5, JSAPI, and Native, which makes it easy to confuse the selection and integration steps. Teams often have to repeatedly consult materials regarding merchant platform rules, capabilities across different terminals, and refund workflows. Furthermore, AI Agents can easily propose solutions that do not match the current scenario.
Below is an introduction to the community Skill “Douyin Pay Integration” on SkillHub. It organizes the best practices for Douyin Pay Merchant Platform integration into guidance that can be called by Agents. It covers multiple payment forms and capabilities such as refunds, facilitating scenario-based inquiries and step-by-step implementation during coding conversations.
What is this¶
“Douyin Pay Integration” is a community Skill located at the SkillHub coordinate @user_8509461a/douyin-pay-integration (under the business-ops category). The current version is 1.0.0, maintained by the publisher user_8509461a. The SkillHub page lists the author as Shu Qi Tou Guan (Sichuan Province) Enterprise Management Co., Ltd.
Official Description: Best practices for Douyin Pay Merchant Platform integration, covering product selection and integration guidance for full scenarios including App payment, H5 payment, JSAPI payment, Native payment, and order refunds. The tag requires_api_key=true indicates that you need to prepare and securely store API key credentials on the platform side when integrating real merchant capabilities; the Skill itself does not replace the merchant account opening or key issuance processes.
Core Features¶
The following capabilities are derived from the official SkillHub page and metadata; interface details not present in the materials are not expanded upon:
- Product Selection: Selects the integration method based on business scenarios among payment forms such as App, H5, JSAPI, and Native.
- Integration Guidance: Provides followable integration steps and precautions centered around the merchant platform integration path (specific steps are subject to the
SKILL.mdwithin the Skill after installation). - Refund Scenarios: Includes explanations regarding the integration and workflow for order refunds (one of the full scenarios parallel to “Payment Ordering”).
The Skill is positioned as an instructional Skill, suitable for handing off to Agents with Skills capabilities like Cursor, Claude Code, or Codex to reference platform practices while writing code or debugging, rather than acting as a standalone payment SDK.
Installation and Activation¶
Method 1: Install via SkillHub CLI (Recommended)¶
First, check if skillhub is already on your machine:
command -v skillhub && skillhub --version
If not installed, you can follow the SkillHub installation documentation to perform a complete installation (including CLI and default Skills):
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
To install only the CLI:
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only
When installing the Skill, you must use --dir to point to the current Agent’s skills directory; otherwise, it will default to installing in ./skills/, which the Agent may not recognize. Common path examples:
- Cursor:
~/.cursor/skills/ - Claude Code:
~/.claude/skills/ - Codex:
~/.codex/skills/or.agents/skills/under the project
Execute the following in the corresponding directory:
skillhub install user_8509461a/douyin-pay-integration --dir ~/.cursor/skills/
Replace ~/.cursor/skills/ with the actual skills path of the Agent you are using. After installation, restart or refresh the Skills list according to the instructions of your specific client.
Method 2: Let the Agent install via official prompt¶
The installation prompt provided on the SkillHub skill page is: Please install @user_8509461a/douyin-pay-integration according to SkillHub Installation and Priority Source Configuration. Just send this sentence to an Agent that has SkillHub capabilities configured to follow the same installation process.
API metadata address (for toolchains to fetch the Skill package): https://api.skillhub.cn/user_8509461a/douyin-pay-integration
Human-readable page: https://www.skillhub.cn/skills/user_8509461a/douyin-pay-integration
Typical Usage¶
The materials do not include an independent code repository example; the general usage is to install and enable the Skill, then ask questions using specific scenarios in your conversation, allowing the Agent to answer based on the merchant platform practices within the Skill. You can replicate this using the following approach:
- Describe the business terminal type (e.g., H5 checkout page, Douyin internal JSAPI, native App, etc.) and whether it involves refunds.
- Clarify that you have completed the necessary configuration on the Douyin Pay Merchant Platform, and state that keys, App IDs, etc., are managed by you in a secure environment (do not paste keys into the conversation).
- Ask the Agent to provide the selection conclusion, integration sequence, configuration items to verify, and pseudo-code or interface call outlines relevant to your tech stack.
Example prompt (for conversation template only, not an official fixed command):
@user_8509461a/douyin-pay-integration is installed. We need to complete a Douyin Pay order on a mobile H5 page.
Please explain which product to choose, the integration sequence, and what to watch out for with the refund interface according to the best practices in the Skill.
For more detailed field names, signature algorithms, and request examples, please refer to the documentation inside the Skill installation package and the current documentation of the Douyin Pay Merchant Platform.
Applicable Scenarios and Notes¶
Who is it for
- Backend / Full-stack developers who need to integrate payments or refunds into Douyin-related businesses.
- Teams looking to reduce manual cross-referencing across multiple official documents and use an Agent to align selection and integration steps based on scenarios.
Limitations and Notes
- Community sourced (
community), version 1.0.0; if platform rules or interfaces are updated, the latest documentation from the Merchant Platform should prevail. Check SkillHub for new versions if necessary. requires_api_key=true: Production keys must only be stored in your configuration and key management systems; do not write them into repositories or public Issues.- SkillHub page statistics (at time of scraping): Rating 100000, Downloads 1441, Installs 122—this only reflects store-side popularity and does not represent integration success rates; self-testing in a sandbox or low-amount environment is still required before going live.
- This article has not verified specific one-click installation differences for Cursor / Codex CLI / Claude Code as of 2026-10-21; aside from the skills directory path, follow the official Skills instructions for each product.
Conclusion¶
“Douyin Pay Integration” consolidates the multi-form payment and refund integration of the Douyin Pay Merchant Platform into an Agent-callable best practices Skill. It is suitable for driving integration and troubleshooting through scenario-based questions after installing via SkillHub.
Official Skill Page: https://www.skillhub.cn/skills/user_8509461a/douyin-pay-integration
API / Installation Coordinates: https://api.skillhub.cn/user_8509461a/douyin-pay-integration, @user_8509461a/douyin-pay-integration