Payuni logo

Payuni

Organization
paid-tw
payuni

Provides PAYUNi integration overview and guides users to the appropriate skill. Use when starting PAYUNi integration, setting up environment, or needing general guidance about 統一金流.

Overview

Publisherpaid-tw
Repositoryskills
Skill namepayuni
Stars
284
Forks
19
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by paid-tw on GitHub. Read the source before you install it.

Installation

Install the Payuni AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/paid-tw/skills/tree/main/plugins/payuni/skills/payuni
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/paid-tw/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/plugins/payuni/skills/payuni .claude/skills/payuni
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Payuni in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Payuni on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Payuni is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

統一金流整合指南

你的任務是幫助用戶設定統一金流(PAYUNi)環境並引導至適當的串接功能。

用戶需求分析

用戶輸入: $ARGUMENTS

根據用戶需求,判斷下一步:

  • 若包含「串接」「checkout」「建立交易」「UPP」→ 引導使用 /payuni-checkout
  • 若包含「查詢」「query」「訂單狀態」→ 引導使用 /payuni-query
  • 若包含「webhook」「回調」「通知」→ 引導使用 /payuni-webhook
  • 若無特定指定 → 提供以下環境設定引導

環境設定檢查

詢問用戶以下問題:

  1. 專案框架:你使用什麼框架?

    • PHP (Laravel / 原生 PHP / 其他)
    • Node.js (Express / Next.js / NestJS / 其他)
    • Python (Django / Flask / FastAPI / 其他)
    • 其他
  2. 環境狀態:是否已有統一金流商店帳號?

    • 是,已有測試環境帳號
    • 是,已有正式環境帳號
    • 否,需要申請

環境變數設定

引導用戶建立環境變數:

bash
PAYUNI_MERCHANT_ID=你的商店代號
PAYUNI_HASH_KEY=你的HashKey
PAYUNI_HASH_IV=你的HashIV
PAYUNI_TEST_MODE=true  # test 模式,正式環境設為 false

指導用戶:

  1. 在專案根目錄建立或編輯 .env 檔案
  2. 加入上述環境變數
  3. 確保 .env 已加入 .gitignore

下一步

完成環境設定後,根據用戶需求引導:

需求Skill說明
建立支付頁面/payuni-checkoutUPP 幕前支付串接
查詢交易狀態/payuni-query交易查詢 API
處理 Webhook/payuni-webhook接收付款通知

環境資訊

環境API Base URL
測試https://sandbox-api.payuni.com.tw
正式https://api.payuni.com.tw

支援的支付方式

  • 信用卡: 一次付清、分期付款
  • 行動支付: LINE Pay、Apple Pay、Google Pay
  • ATM: WebATM、ATM 轉帳
  • 超商: 代碼繳費、條碼繳費

重要注意事項

  1. HashKey 和 HashIV 必須保密,不可暴露在前端
  2. PAYUNi 使用 AES-256-CBC 加密
  3. 訂單編號不可重複
  4. NotifyURL/ReturnURL 必須是 HTTPS(正式環境)
  5. Webhook 需驗證簽名防止偽造

與其他金流比較

特性PAYUNi藍新綠界
加密方式AES-256-CBCAES-256-CBCAES-128-CBC
簽章方式SHA256 (HashInfo)SHA256 (TradeSha)SHA256 (CheckMacValue)
API 版本統一版本Version 參數Version 參數

Frequently asked questions

What does the Payuni AI skill do?

Provides PAYUNi integration overview and guides users to the appropriate skill. Use when starting PAYUNi integration, setting up environment, or needing general guidance about 統一金流.

Why use Payuni on TypingMind?

Because you install it once and use it with any model. Payuni is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Payuni in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/paid-tw/skills/tree/main/plugins/payuni/skills/payuni. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Payuni?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Payuni?

As many as you like. As long as a model supports skills, you can use Payuni with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Payuni AI skill free?

Yes. It is published on GitHub by paid-tw under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇