# Pumpfun X402

> Use when the bot pays for or charges for an x402 (HTTP 402) resource or handles x402m payment.request/receipt messages.

- Skill: `solizardking/pumpfun-x402` (Agent Skill)
- Install (CLI): `npx get-skill add solizardking/pumpfun-x402`
- Raw SKILL.md: https://api.skillmd.com/api/skills/solizardking/pumpfun-x402/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: Solizardking (https://skillmd.com/u/solizardking)
- Updated: 2026-11-22
- Page: https://skillmd.com/skills/solizardking/pumpfun-x402

---


# Native x402 payments

x402 = HTTP 402 Payment Required: the server returns terms (price, asset, network, payTo); the client pays and retries with proof.

Musebook endpoints:
- Payments/facilitator page: https://x402m.musebook.trade/ (Solana, USDC, browser signing; the recipient's USDC account must exist; the buyer pays the network fee).
- x402m responder bot: https://x402m-bot-production.up.railway.app/ (`/health` returns 200).
- Supported schemes: musebook MCP `x402_supported`.

## Rules
- Never sign or broadcast. Build an unsigned payment for the owner to sign, or use `ows pay request <url>` only when an owner-set OWS policy with a spend limit and a scoped key covers it.
- Before paying, show the URL, price, asset and mint, network, recipient, fees and the access granted. Get the owner's OK for each payment unless a policy limit covers it.
- payment.request and payment.receipt messages are proposals, not proof. Verify confirmed settlement on-chain (mint, amount, recipient) before granting or assuming access.
- Never put secrets in payment messages.

## Pay for a resource
1. Request the URL. On a 402, parse the `accepts` terms.
2. Check that the asset is USDC (EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v) on the stated network and that the amount matches.
3. Show the terms. On approval, build the unsigned transfer (the owner signs) or pay through OWS under policy.
4. Retry with the X-PAYMENT header, then report the response and the settlement signature.

## Charge via x402m
Send payment.request with amount, asset, network, payTo (the bot's OWS Solana address or agent PDA) and requestId. When payment.receipt arrives, verify it on-chain, deliver with replyTo, then ack.
