taiwan-payment

taiwan-payment is a skill for Claude Code from Moksa1123/taiwan-ecommerce-toolkit. It costs 138 tokens per session (10,127 once invoked), scanned A, original, MIT.

A development guide for connecting Taiwanese payment services to an online store or application. It covers ten providers and payment methods such as cards, ATMs, convenience stores, wallets, LINE Pay, Apple Pay, Google Pay, and buy-now-pay-later services.

In plain words
What is it for?
Use it to add or troubleshoot payments through ECPay, NewebPay, PAYUNi, SmilePay, PChomePay, ezPay, PayNow, SHOPLINE Payments, LINE Pay, or TapPay.
Why use it?
Payment providers use different APIs, authentication methods, encryption, fields, and error codes. This guide puts those differences and example integrations in one place.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it to add or troubleshoot payments through ECPay, NewebPay, PAYUNi, SmilePay, PChomePay, ezPay, PayNow, SHOPLINE Payments, LINE Pay, or TapPay.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/moksa1123/taiwan-ecommerce-toolkit/taiwan-payment
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Moksa1123/taiwan-ecommerce-toolkit --skill taiwan-payment
Clone the repo
git clone --depth 1 https://github.com/Moksa1123/taiwan-ecommerce-toolkit

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for taiwan-payment

README.md
[![agentmods](https://agentmods.dev/badge/skills/moksa1123/taiwan-ecommerce-toolkit/taiwan-payment/github.svg)](https://agentmods.dev/skills/moksa1123/taiwan-ecommerce-toolkit/taiwan-payment)
Your own site
<a href="https://agentmods.dev/skills/moksa1123/taiwan-ecommerce-toolkit/taiwan-payment"><img src="https://agentmods.dev/badge/skills/moksa1123/taiwan-ecommerce-toolkit/taiwan-payment/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for taiwan-payment

Your own site · 80×15
<a href="https://agentmods.dev/skills/moksa1123/taiwan-ecommerce-toolkit/taiwan-payment"><img src="https://agentmods.dev/badge/skills/moksa1123/taiwan-ecommerce-toolkit/taiwan-payment.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 138 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,127 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00138 $0.10127
Opus 5 $0.00069 $0.05063
Sonnet 5 $0.00028 $0.02025
Haiku 4.5 $0.00014 $0.01013

Measured 12d ago against content hash 082eba8eabbf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

taiwan-payment scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 17 executable files (examples/ecpay-payment-example.py, examples/ezpay-payment-example.py, examples/jkopay-payment-example.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

fetch(paymentUrl, { method: 'POST', body: formData }) // 會被 CORS 阻擋
payment-cli/assets/taiwan-payment/SKILL.md · 934 lines

How it starts

The opening of the file, as written. The whole thing — 934 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Taiwan Payment Development Skill

此技能涵蓋台灣金流 API 整合開發,包含綠界 (ECPay)、藍新 (NewebPay)、統一 (PAYUNi)、速買配 (SmilePay)、拍錢包 (PChomePay)、ezPay 簡單付、立吉富 (PayNow)、SHOPLINE Payments、LINE Pay v4、TapPay 共十家服務商。

快速導覽

相關文件

使用此技能時,請參考專案中的 API 規格文件:

  • references/ecpay-payment-api.md - 綠界金流 API 規格
  • references/newebpay-payment-api.md - 藍新金流 API 規格
  • references/payuni-payment-api.md - 統一金流 API 規格
  • references/smilepay-payment-api.md - 速買配 API 規格(PHP plugin 反推)
  • references/pchomepay-payment-api.md - 拍錢包 API 規格(含 Basic Auth → Token 兩階段認證)
  • references/ezpay-payment-api.md - ezPay 簡單付 API 規格(與藍新 Newebpay 同集團、同加密)
  • references/paynow-payment-api.md - 立吉富 API 規格(傳統版 cashflow + 現代版 PaymentIntent 雙 API)
  • references/shopline-payment-api.md - Shopline Payments API 規格(Redirect + Embedded SDK 雙模式)
  • references/linepay-payment-api.md - LINE Pay v4 API 規格(HMAC-SHA256 + Preapproved Pay)
  • references/tappay-payment-api.md - TapPay API 規格(Prime 兩段式 / PCI 隔離 / pay-by-token 重複扣款)
  • EXAMPLES.md - 程式碼範例集

智能工具

  • scripts/search.py - BM25 搜索引擎(查詢 API、錯誤碼、欄位映射、付款方式)
  • scripts/recommend.py - 金流服務商推薦系統
  • scripts/test_payment.py - 付款測試工具
  • data/ - CSV 數據檔(providers, operations, error-codes, field-mappings, payment-methods, troubleshooting, reasoning)

何時使用此技能

  • 開發線上金流付款功能
  • 整合台灣金流服務商 API
  • 實作信用卡、ATM、超商、電子錢包等付款方式
  • 處理訂單查詢、退款、定期定額扣款
  • 處理加密簽章(SHA256、AES-256-CBC、AES-256-GCM)
  • 解決金流 API 整合問題

智能搜索與推薦

搜索引擎 (search.py)

使用 BM25 算法在資料庫中搜索相關資訊:

# 搜索服務商
python scripts/search.py "ecpay" --domain provider

# 搜索錯誤碼
python scripts/search.py "10100058" --domain error

# 搜索欄位映射
python scripts/search.py "MerchantTradeNo" --domain field

# 搜索付款方式
python scripts/search.py "信用卡" --domain payment_method

# 搜索疑難排解
python scripts/search.py "CheckMacValue 錯誤" --domain troubleshoot

# 全域搜索
python scripts/search.py "金額計算" --domain all

# JSON 輸出
python scripts/search.py "ATM" --format json

搜索域:

說明 CSV 檔案
provider 服務商比較 providers.csv
operation API 操作端點 operations.csv
error 錯誤碼查詢 error-codes.csv
field 欄位映射 field-mappings.csv
payment_method 付款方式 payment-methods.csv
troubleshoot 疑難排解 troubleshooting.csv
reasoning 推薦決策規則 reasoning.csv

Read the full file on GitHub · 934 lines

Files

What ships with it

42 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 934 lines · 138 tokens per session scan A 082eba8eabbf

Subscribe to this mod's changes

taiwan-payment is a skill published in the GitHub repository Moksa1123/taiwan-ecommerce-toolkit (47 stars, last pushed 24d ago), licensed MIT. It adds 138 tokens to every session and 10,127 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

asc-ppp-pricing

Set territory-specific pricing for subscriptions and in-app purchases using current asc setup, pricing summary, price import, and price schedule commands. Use when adjusting prices by country or implementing localized PPP strategies.

rorkai/app-store-connect-cli-skills · 45 tokens

stripe

Stripe API integration with managed OAuth. Manage customers, subscriptions, invoices, products, prices, and payments. Use this skill when users want to process payments, manage billing, or handle subscriptions with Stripe. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).…

CraftOS-dev/CraftBot · 79 tokens

etsy-pricing-strategy

Etsy pricing — cost calculation, competitor pricing, perceived value, shipping cost integration, sales and coupons.

nexscope-ai/eCommerce-Skills · 26 tokens

amazon-wholesale-sourcing

Wholesale product sourcing — supplier discovery, negotiation, MOQ optimization, margin analysis.

nexscope-ai/Amazon-Skills · 20 tokens

ai-slop

Operational rubric that turns "don't make AI slop" into observable properties, severity levels, evidence requirements, and repair actions for interface design. Use as the reference rubric when building or reviewing marketing sites, product interfaces, dashboards, portfolios, or e-commerce pages, especially alongside…

waybarrios/opencode-power-pack · 61 tokens

payment-processor

Skill "payment-processor" from Signal-Execution-Labs/forex-trading-ai-agent, covering payment processor skill, supported services, capabilities, view balances and get all balances.

Signal-Execution-Labs/forex-trading-ai-agent · 0 tokens