From kryptogo-pay
Implements KryptoGO payment queries to check single payment intent status and list intents with filters. Use for order status checking, transaction verification, or payment confirmation in KryptoGO integrations.
npx claudepluginhub paid-tw/skills --plugin kryptogo-payThis skill is limited to using the following tools:
你的任務是在用戶的專案中實作 KryptoGO Payment 交易查詢功能。
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
你的任務是在用戶的專案中實作 KryptoGO Payment 交易查詢功能。
用戶輸入: $ARGUMENTS
詢問用戶:
查詢情境:需要什麼查詢功能?
專案框架:你使用什麼框架?
在現有的支付模組中加入查詢方法,或建立新模組。
核心功能:
getPaymentIntent(paymentIntentId) - 查詢單筆 Payment IntentlistPaymentIntents(filters) - 列出 Payment Intents根據框架加入查詢功能。
建議整合方式:
GET /api/payment/intent/:id| 項目 | 說明 |
|---|---|
| 方法 | GET |
| 路徑 | /v1/studio/api/payment/intent/{payment_intent_id} |
| Headers | X-Client-ID, X-STUDIO-API-KEY, Origin |
| 項目 | 說明 |
|---|---|
| 方法 | GET |
| 路徑 | /v1/studio/api/payment/intents |
| Headers | X-Client-ID, X-STUDIO-API-KEY, Origin |
| 狀態 | 說明 |
|---|---|
pending | 等待付款 |
success | 付款成功 |
expired | 付款逾時 |
insufficient_not_refunded | 金額不足,等待退款 |
insufficient_refunded | 金額不足,已退款 |
| 代碼 | 說明 | 解決方式 |
|---|---|---|
| 4001 | Invalid client_id | 確認 X-Client-ID 正確 |
| 4002 | Invalid API key | 確認 X-STUDIO-API-KEY 正確 |
| 4006 | Invalid payment_intent_id | 確認 Payment Intent ID 存在 |