Create an Express server that charges USDC for API access using the x402 payment protocol. Callers pay per-request in USDC on Base — no accounts, API keys, or subscriptions needed.
x402 is an HTTP-native payment protocol. When a client hits a protected endpoint without paying, the server returns HTTP 402 with payment requirements. The client signs a USDC payment and retries with a payment header. The facilitator verifies and settles the payment, and the server returns the response.
If the wallet is not authenticated, refer to the authenticate-wallet skill.
Crea e distribuisci un'API a pagamento che altri agenti possono pagare per utilizzare tramite x402. Utilizzalo quando tu o l'utente desiderate monetizzare un'API, guadagnare denaro, offrire un servizio, vendere un servizio ad altri agenti, addebitare endpoint, creare un endpoint a pagamento o impostare un servizio a pagamento. Copre "guadagnare offrendo un endpoint", "vendere un servizio", "monetizzare i tuoi dati", "creare un'API a pagamento". Fonte: coinbase/agentic-wallet-skills.