name: a2a-payments description: "Blockchain USDC payments via APay — pay services, manage budgets, open streaming channels, and handle x402 protocol." metadata: { "openclaw": { "emoji": "💰", "requires": {}, "install": [ { "id": "plugin", "kind": "node", "package": "@a2a/openclaw-plugin", "label": "Install A2A Corp plugin", }, ], }, }
Blockchain-native USDC payments for AI agents on Base chain. Pay for services, manage budgets, and handle micropayments.
Check your balance:
Use apay_check_balance to see my USDC balance
Pay a service:
Use apay_pay_service with serviceId "svc-123" and amount "0.50"
| Tool | Description |
|---|---|
apay_check_balance |
Check USDC balance, daily budget, spending limits |
apay_budget_check |
Verify if a specific amount is affordable |
apay_spending_history |
Get spending analytics and history |
| Tool | Description |
|---|---|
apay_pay_service |
Pay a service (agent pays gas) |
apay_pay_signed |
Gasless signed payment (server submits on-chain) |
apay_estimate_cost |
Estimate cost including 0.5% platform fee |
| Tool | Description |
|---|---|
apay_list_services |
List available APay services |
apay_get_service |
Get detailed service info |
| Tool | Description |
|---|---|
apay_channel_status |
Check channel status |
apay_stream_open |
Open channel with USDC deposit |
apay_stream_pay |
Sign off-chain micropayment |
apay_stream_close |
Close channel (refund unspent) |
| Tool | Description |
|---|---|
apay_x402_fetch |
Fetch URL with automatic x402 payment on HTTP 402 |
apay_budget_check — verify affordabilityapay_estimate_cost — see total with feesapay_pay_service — execute paymentFor services that charge per-request (API calls, data feeds):
apay_stream_open — deposit USDC into channelapay_stream_pay — sign micropayments (off-chain, instant)apay_stream_close — settle on-chain, refund remainderFor services using the HTTP 402 payment protocol:
Use apay_x402_fetch with url "https://api.example.com/premium/data" and maxPayment "1.00"
The tool automatically detects 402 responses, pays the required amount, and retries the request.
这个支付Skill质量中规中矩,胜在功能覆盖面广,从查余额到流支付都有涉及,文档结构也清晰易读。但不足之处在于依赖外部插件,安装步骤不够透明,缺少错误处理和使用限制的说明。适合需要区块链USDC支付功能的用户,但使用前需确认插件依赖和链上手续费等成本因素。