moonpay-x402
Installation
SKILL.md
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