pr402-seller
Installation
SKILL.md
x402 seller (pr402)
Help the user monetize an HTTP API on the pr402 facilitator using the exact rail (SplitVault via pr402) unless they explicitly need sla-escrow (escrow + oracle — different skill path; see oracles Seller Guide).
Pay-per-call vs subscription
| Model | Gate | Starter | Reference |
|---|---|---|---|
| Pay-per-call (default) | 402 on each paid route | x402-seller-starter | references/runtime-sdk.md |
| Subscription (hourly/daily/monthly window) | 402 only on POST /subscribe; Bearer JWT on data routes |
x402-subscription-starter | references/subscription-exact-rail.md |
If the user wants time-window access, do not apply per-request 402 gates — follow the subscription reference instead.
Two-part integration model
| Phase | Tooling | Outcome |
|---|---|---|
| Onboarding & discovery | x402-cli or facilitator REST | SplitVault on-chain + optional directory listing |
| Runtime gate | X402SellerSDK in app code |
402 challenge → direct settle → deliver on each paid request |