What problem does it solve?
This Skill enables agents and services on Morph L2 to discover, pay for, and receive USDC payments for HTTP-protected resources using the x402 protocol, removing friction when interacting with paywalled API endpoints and automating payment flows.
Core Features & Use Cases
- Discover paywalls: Probe a URL to retrieve payment requirements (amount, payTo, asset) without initiating a payment.
- Pay protected resources: Locally sign EIP-3009 TransferWithAuthorization, enforce max-payment limits, require explicit user confirmation, and produce PAYMENT-SIGNATURE headers for paid access.
- Merchant onboarding & settlement: Register wallets to obtain HMAC credentials, verify incoming payment signatures, start a protected HTTP server, and settle verified payments on-chain via the Morph Facilitator; includes a dev mode for local testing.
Quick Start
Use the morph-x402 skill to discover payment requirements for https://api.example.com/resource and prepare a signed USDC authorization for payment.