moonpay-x402
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "moonpay-x402" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-4e1c764b898f64a9e6270e5c78c5d6f63a2091910a2af069310ad49179fe4f55. Verify the upstream source and version against https://github.com/moonpay/skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Make paid API requests to endpoints protected by x402, automatically using your local wallet to handle payments.
Introduction source: third_party · moonpay · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Make paid API requests to x402-protected endpoints. Automatically handles payment with your local wallet.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: moonpay-x402
description: Make paid API requests to x402-protected endpoints. Automatically handles payment with your local wallet.
tags: [payments, api]x402 paid API requests
Goal
Make HTTP requests to x402-protected endpoints. The CLI automatically detects 402 Payment Required responses, builds and signs a payment transaction with your local wallet, and retries the request with the payment proof.
Command
mp x402 request \
--method POST \
--url <x402-endpoint-url> \
--body '<json-body>' \
--wallet <wallet-name-or-address> \
--chain solana
Available x402 endpoints
| Endpoint | Cost | Input |
|---|---|---|
https://agents.moonpay.com/x402/upgrade |
$1-$20 | {"duration": "day"} or {"duration": "month"} |
Example flow
- User: "Upgrade my rate limit for a day."
- Run:
mp upgrade --duration day --wallet my-wallet --chain solana - The CLI handles the 402 payment flow automatically and applies the upgrade.
Notes
- Requires a local wallet with USDC on Solana or Base.
- Payments accepted on Solana mainnet and Base.
- If the request fails (status >= 400), the payment is not settled — you don't pay for errors.
- Use moonpay-auth to set up a local wallet first.
Related skills
- moonpay-auth — Create or import a local wallet.
- moonpay-check-wallet — Check your wallet balance before making paid requests.
- moonpay-upgrade — Upgrade your rate limit via x402.
Current listing version
0.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供向 x402 保护端点发起付费 API 请求的自动化能力,简化支付流程
- 明确说明支付失败不扣费,提升用户信任
Areas to improve
-
触发词可进一步细化 Reported severity: Minor
description 描述了核心功能,但未包含具体命令示例或更细化的触发场景(如 'upgrade rate limit'),可能导致边缘场景触发不精准。
Recommendation: 建议在 description 中加入 1-2 个典型触发示例,如 'upgrade my rate limit' 或 'make a paid API call to x402 endpoint',以提升触发精准度。
Highlights
- description 清晰说明了 Skill 的核心功能和价值
Highlights
- 文档结构清晰,包含 Goal、Command、Available endpoints、Example flow、Notes、Related skills 等完整章节
- 提供了具体的命令示例和端点信息,便于用户理解和使用
Areas to improve
-
错误处理机制说明不足 Reported severity: Minor
未详细说明网络错误、钱包余额不足、支付失败等具体异常情况的处理机制,也未提及重试策略。
Recommendation: 建议在 Notes 或新增 Troubleshooting 章节中补充常见错误的处理方式,如 'If payment fails due to insufficient balance, the request will abort with an error message'。
Highlights
- 明确说明了支付不成功不扣费的机制,保障用户权益
- 提到了依赖的本地钱包和所需代币(USDC),前置条件清晰
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- agents.moonpay.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.