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
| Capability | Endpoints | Description |
|---|---|---|
| X402 Payment | POST /api/mandates/create-intent, GET /api/mandates/agent/:id, POST /api/payment/x402V3Payment | Pay for x402-enabled APIs using intent mandates |
| Payout | POST /api/payouts, GET /api/payouts/:id | Send USDC to any wallet address on Base |
| Payment Link | POST /api/payment-links, GET /api/payment-links, PATCH, DELETE | Create 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
- Download or clone the repo.
- Zip the
skills/fluxa-agent-wallet-via-api/directory. - 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