pay-for-service

Installation
Summary

Call paid APIs on Base with automatic USDC payment via x402 protocol.

  • Executes HTTP requests (GET, POST, etc.) to x402-enabled endpoints with atomic USDC payments handled automatically
  • Supports request customization through method, JSON body, query parameters, and custom headers
  • Includes payment controls: set maximum USDC amount per request and group related operations with correlation IDs
  • Requires wallet authentication and sufficient USDC balance; validates all user input to prevent shell injection
SKILL.md

Making Paid x402 Requests

Use the npx awal@2.10.0 x402 pay command to call paid API endpoints with automatic USDC payment on Base.

Confirm wallet is initialized and authed

npx awal@2.10.0 status

If the wallet is not authenticated, refer to the authenticate-wallet skill.

Command Syntax

npx awal@2.10.0 x402 pay <url> [-X <method>] [-d <json>] [-q <params>] [-h <json>] [--max-amount <n>] [--json]

Options

Related skills

More from coinbase/agentic-wallet-skills

Installs
2.7K
GitHub Stars
106
First Seen
Feb 10, 2026