AI Agent Hub
Back to skills
Allinpay Yunshangtong 2.0 Integration Guide icon

Allinpay Yunshangtong 2.0 Integration Guide

Development Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please install @user_0512de0a/allinpay-yst-skill according to https://skillhub.cn/install/skillhub.md.

About this skill

Problem to solve

When integrating Allinpay Yunshangtong 2.0, the main risk is not just API debugging. Teams can choose the wrong product version, hard-code APP_ID or keys into source, handle signing and async callbacks inconsistently, or miss edge cases in refunds and callback processing. The skill provides a constrained integration guide for that scenario, turning payment onboarding into confirmable, reusable, and verifiable steps.

How it works

The main workflow runs in order: product selection, payment service selection, parameter acquisition, code generation, and quality checks. Each blocking confirmation point requires an explicit user reply, preventing code generation before the business path is confirmed. Code generation prioritizes existing samples in reference/示例代码/: signing, message assembly, HTTP calls, file upload/download, and async notification handling are produced from matched examples first. Transactional flows such as consumption and refunds also check for corresponding demos before generating new code. Auxiliary workflows cover troubleshooting, business knowledge, API index, and solution consulting, useful for signature failures, missing callbacks, transCode lookup, and drafting integration plans. Quality checks include key security, signing and encryption, async notification, transaction result handling, refunds, file download, and pre-launch validation, helping turn commonly missed engineering details into a checklist.

Boundaries

This is best suited for merchants or ISV developers who have already decided to use Allinpay Yunshangtong 2.0 and need help generating integration code, reviewing API calls, and preparing a joint debugging plan. It is not a sandbox, key vault, or formal API documentation replacement. Developers must still review generated code, load APP_ID, private keys, public keys, and service endpoints from configuration, and avoid placeholders or fake data in real integration.

Use Cases

  • Before onboarding a merchant to Yunshangtong 2.0, confirm product version and payment service, and generate the required service statements and confirmation flow.
  • While building backend payment code, generate consumption or refund API calls by reusing signing, message assembly, and HTTP examples.
  • During integration debugging, investigate signature failures, missing async callbacks, or reconciliation errors using the troubleshooting guide.
  • When drafting a payment solution, produce project background, system architecture, API list, joint debugging plan, and launch checklist.

Best For

  • Merchant backend developers onboarding Yunshangtong 2.0: confirm product version and payment service, then generate reviewable integration code.
  • Engineers responsible for payment integration debugging: investigate signature failures, verification failures, missing async callbacks, and refund anomalies.
  • Technical leads drafting payment solutions: organize product selection, system architecture, API list, joint debugging plan, and launch checklist.
  • Payment security reviewers: check key configuration, signing and encryption, async notifications, transaction results, and refund handling against the checklist.