Use the npx agnic@latest x402 pay command to call x402-enabled API endpoints with automatic USDC payment on Base.
If the wallet is not authenticated, refer to the authenticate-wallet skill.
| | Full URL of the x402-enabled API endpoint | | -X, --method | HTTP method (default: GET) | | -d, --data | Request body as JSON string | | -q, --query | Query parameters as JSON string | | -h, --headers | Custom HTTP headers as JSON string | | --max-amount | Max payment in USDC atomic units (1000000 = $1.00) |
Effettua richieste a pagamento alle API abilitate per x402 utilizzando USDC. Utilizzalo quando tu o l'utente desiderate chiamare un'API a pagamento, effettuare un pagamento x402, utilizzare un servizio bazaar o pagare per una richiesta API. Copre frasi come "chiama questa API", "usa questo servizio", "paga per la richiesta", "effettua una chiamata a pagamento", "recupera dall'endpoint x402". Fonte: agnicpay/agnic-wallet-skills.