AI Agent Hub
Back to skills
Third-Party Voucher Code Auto-Recharge Service icon

Third-Party Voucher Code Auto-Recharge Service

Development Updated 2026.08.30

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

Please install @user_68dc3d67/recharge-prod-buy according to https://skillhub.cn/install/skillhub.md.

About this skill

Problem

Third-party voucher top-ups often require moving between product lookup, order creation, payment handoff, and status polling. This skill exposes that flow as MCP tools, so an agent can query available products, create a recharge order, return payment links, and track order status.

How It Works

The skill expects a Streamable HTTP Transport connection and does not support SSE Transport. Key tools include:
- product_list: search listed products by keyword and page
- product_get: inspect product details by product_id
- order_create: create an order from items and account_no, returning WeChat Pay / Alipay links
- order_get: check order status; for pending orders it checks payment status and can trigger third-party recharge after payment

A common sequence is to search for the product, confirm product_id, quantity, and the recharge phone number, then call order_create. The user completes payment through wxpay_url or alipay_url, and order_get can be used afterward to confirm progress.

Boundaries

account_no is the recharge target account, not a login account. The order amount uses selling_price multiplied by quantity, not face value. Pending orders with the same account, product, and quantity are reused within 10 minutes. charge_type distinguishes direct recharge from card-password products, and states such as paid + fail or refunded should be surfaced to the user.

Use Cases

  • Wire a chat assistant to search available recharge products by keyword and confirm face value, price, and product ID.
  • Create third-party voucher orders from a user's phone number and recharge request, then return WeChat Pay or Alipay links.
  • After payment, inspect `pay_status` and `order_status` to determine whether recharge is pending, direct, card-based, or failed.
  • Debug order failures by reading the `error` field when `success` is `false`, such as product missing or not listed.

Best For

  • Backend engineers integrating third-party voucher top-up flows into customer service bots or automated ordering systems.
  • Agent developers wrapping MCP tools for payment links, product lookup, and order status checks.
  • Integration engineers distinguishing direct recharge, card-password, refund, and failure states while writing user-facing status messages.
  • Toolchain maintainers automating product search, order creation, and post-payment recharge tracking.