ecpay
Provides ECPay (綠界科技) integration guide including payment setup and electronic invoice integration. Use when integrating ECPay…
Implements NewebPay refund functionality for credit cards and e-wallets. Use when building refund processing, transaction cancellation, or return payment features for 藍新金流.
$ npx -y skills add paid-tw/skills --skill newebpay-refund --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/newebpay-refundContext preview
The summary Claude sees to decide when to auto-load this skill.
Implements NewebPay refund functionality for credit cards and e-wallets. Use when building refund processing, transaction cancellation, or return payment features for 藍新金流.
name: newebpay-refund description: > Implements NewebPay refund functionality for credit cards and e-wallets. Use when building refund processing, transaction cancellation, or return payment features for 藍新金流. argument-hint: "[類型: 信用卡/電子錢包]" context: fork agent: general-purpose disable-model-invocation: true allowed-tools: - Read - Write - Edit - Bash - Grep - Glob user-invocable: true
你的任務是在用戶的專案中實作藍新金流退款功能。
用戶輸入: `$ARGUMENTS`
詢問用戶:
1. **退款類型**:需要處理什麼類型的退款?
2. **退款情境**:
確認專案已設定 NewebPay 環境變數:
根據退款類型建立對應的功能。
**信用卡退款核心功能:**
**電子錢包退款核心功能:**
建議整合方式:
---
| 環境 | URL | |------|-----| | 測試 | `https://ccore.newebpay.com/API/CreditCard/Close` | | 正式 | `https://core.newebpay.com/API/CreditCard/Close` |
| 參數 | 類型 | 必填 | 說明 | |------|------|:----:|------| | RespondType | String | ✓ | `JSON` | | Version | String | ✓ | `1.1` | | Amt | Number | ✓ | 退款金額 | | MerchantOrderNo | String | ✓ | 原訂單編號 | | TimeStamp | Number | ✓ | Unix timestamp | | IndexType | Number | ✓ | `1` (使用訂單編號) | | CloseType | Number | ✓ | `2` (退款) |
---
| 環境 | URL | |------|-----| | 測試 | `https://ccore.newebpay.com/API/EWallet/Refund` | | 正式 | `https://core.newebpay.com/API/EWallet/Refund` |
| 參數 | 類型 | 必填 | 說明 | |------|------|:----:|------| | RespondType | String | ✓ | `JSON` | | Version | String | ✓ | `1.0` | | TimeStamp | Number | ✓ | Unix timestamp | | TradeNo | String | ✓ | 藍新交易序號 | | MerchantOrderNo | String | ✓ | 原訂單編號 | | Amt | Number | ✓ | 退款金額 |
---
---
| 代碼 | 說明 | 解決方式 | |------|------|---------| | CRE10001 | 無此交易紀錄 | 確認訂單編號/交易序號正確 | | CRE10002 | 已退款或取消 | 交易已被處理過 | | CRE10003 | 退款金額錯誤 | 退款金額不可大於原交易金額 | | CRE10004 | 超過可退款期限 | 信用卡一般為 180 天內 |
1. **退款期限**: 信用卡一般為交易後 180 天內 2. **部分退款**: 可退款金額 ≤ 原交易金額 3. **退款次數**: 同一筆交易可多次部分退款 4. **電子錢包**: 需使用藍新交易序號 (TradeNo)
台灣第三方金流 Skills for AI Agents - 藍新金流、綠界科技 ECPay、統一金流 PAYUNi、KryptoGO 穩定幣支付 支援 Claude Code、Cursor、Codex、GitHub Copilot 等 AI coding agents。
Provides ECPay (綠界科技) integration guide including payment setup and electronic invoice integration. Use when integrating ECPay…
Implements KryptoGO Payment checkout integration including Payment Intent creation, React SDK usePayment hook, and Direct API…
Implements KryptoGO Payment query functionality for checking payment intent status and listing payment intents. Use when building…
Implements KryptoGO Payment token transfer/withdrawal functionality using the Asset Pro Transfer API. Use when building…
Implements KryptoGO Payment webhook/callback handling for receiving payment status notifications. Use when building webhook…
Provides KryptoGO Payment integration overview and guides users to the appropriate skill. Use when starting KryptoGO crypto…