Skip to content

fluxa-agent-wallet-via-api

An HTTP API-based Agent Skill that gives AI agents onchain payment capabilities via direct REST calls. The agent uses curl or any HTTP client to call FluxA endpoints — no CLI binary or Node.js required.

What it does

CapabilityEndpointsDescription
X402 PaymentPOST /api/mandates/create-intent, GET /api/mandates/agent/:id, POST /api/payment/x402V3PaymentPay for x402-enabled APIs using intent mandates
PayoutPOST /api/payouts, GET /api/payouts/:idSend USDC to any wallet address on Base
Payment LinkPOST /api/payment-links, GET /api/payment-links, PATCH, DELETECreate and manage shareable payment collection links

The agent authenticates with a Bearer JWT and calls REST endpoints directly. All signing is handled server-side by FluxA Wallet.

Requirements

  • Any HTTP client (curl, fetch, requests, etc.)

GitHub

github.com/FluxA-Agent-Payment/FluxA-AI-Wallet-MCP/tree/main/skills/fluxa-agent-wallet-via-api

Install

Claude Code

bash
git clone https://github.com/FluxA-Agent-Payment/FluxA-AI-Wallet-MCP.git
cp -r FluxA-AI-Wallet-MCP/skills/fluxa-agent-wallet-via-api .claude/skills/

Claude Code discovers the skill automatically on next start.

Claude.ai

  1. Download or clone the repo.
  2. Zip the skills/fluxa-agent-wallet-via-api/ directory.
  3. Upload in Settings > Features > Skills.

Claude API

bash
cd FluxA-AI-Wallet-MCP/skills
zip -r fluxa-agent-wallet-via-api.zip fluxa-agent-wallet-via-api/
curl -X POST https://api.anthropic.com/v1/skills \
  -H "x-api-key: $ANTHROPIC_API_KEY" \
  -H "anthropic-beta: skills-2025-10-02" \
  -F "file=@fluxa-agent-wallet-via-api.zip"

Skill structure

fluxa-agent-wallet-via-api/
├── SKILL.md              ← Main instructions + decision flow
├── X402-PAYMENT.md       ← x402 v3 intent mandate payment flow (curl examples)
├── PAYOUT.md             ← Send USDC via REST API
└── PAYMENT-LINK.md       ← Create and manage payment links via REST API

Released under the MIT License.