Help us improve
Share bugs, ideas, or general feedback.
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-payHow this skill is triggered — by the user, by Claude, or both
Slash command
/kryptogo-pay:kryptogo-pay-queryThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
你的任務是在用戶的專案中實作 KryptoGO Payment 交易查詢功能。
Implements KryptoGO Payment checkout for stablecoin crypto payments using React SDK usePayment hook, Payment Intent creation, Direct API, and webhooks. For React/Next.js, Node.js, Python apps.
Implements PAYUNi Query API for single/batch transaction queries, order status checks, and payment verification in Node.js/TypeScript apps.
Implements NewebPay QueryTradeInfo API for transaction status queries by order and amount. Generates SHA256 CheckValue; handles single queries, batch reconciliation, status confirmation.
Share bugs, ideas, or general feedback.
你的任務是在用戶的專案中實作 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 存在 |