ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

synapseai-wallet

SynapseAI Wallet — AI agent custodial spend layer. Register an AI agent wallet, fund it, set spending policies, and make payments via API.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/pandagg110/agent-wallet-x402
Or

SynapseAI Wallet

Use SynapseAI Wallet to give your AI agent a managed USDC wallet with policy-enforced spending.

Base URL

https://api.synapseai.pro/functions/v1

All requests require headers:

Content-Type: application/json
Authorization: Bearer <YOUR_ANON_KEY>

Flow

1. Register   → POST /register-agent      → get agent_id + token
2. Bind       → Owner opens wallet.synapseai.pro/bind?token=xxx
3. Wait       → Poll /query-balance until 200
4. Use wallet → /query-balance, /query-policy, /request-payment

Commands

Register agent

POST /register-agent
{
  "agent_name": "MyBot",
  "description": "Research assistant that purchases API credits",
  "capabilities": ["api_purchase", "subscription"]
}

Response:

{
  "agent_id": "agt_abc123",
  "temporary_wallet_id": "wal_xyz789",
  "status": "PENDING_USER_BIND",
  "registration_token": "reg_def456abcdef01"
}

After registration, tell the owner to open:

https://wallet.synapseai.pro/bind?token=<registration_token>

Check balance

GET /query-balance?agent_id=<agent_id>

Response:

{
  "agent_id": "agt_abc123",
  "currency": "USDC",
  "available_balance": 100.0,
  "today_spent": 12.5
}

Check policy

GET /query-policy?agent_id=<agent_id>

Response:

{
  "agent_id": "agt_abc123",
  "policy": {
    "daily_limit": 100,
    "tx_limit": 25,
    "approval_threshold": 10,
    "merchant_whitelist": ["openai_api", "anthropic_api"],
    "blocked_actions": ["withdraw", "transfer", "swap"]
  }
}

Make payment

POST /request-payment
{
  "agent_id": "agt_abc123",
  "merchant": "openai_api",
  "amount": 5.0,
  "currency": "USDC",
  "purpose": "GPT-4 API credits for task #42",
  "metadata": {"task_id": "42"}
}

Three possible outcomes:

  • "status": "ALLOW" — payment executed, tx_hash returned
  • "status": "REQUIRE_APPROVAL" — on hold, owner will be notified
  • "status": "REJECT" — denied, check reason field

Send webhook

POST /receive-webhook
{
  "source": "stripe",
  "event": "payment_confirmed",
  "payload": {}
}

Policy rules

  • tx_limit — max amount per single payment
  • daily_limit — max total spending per day
  • approval_threshold — payments >= this need owner approval
  • merchant_whitelist — only listed merchants are allowed
  • blocked_actions — forbidden purpose keywords

Error handling

All errors return {"error": "..."} with appropriate HTTP status:

CodeMeaning
400Bad request — missing or invalid fields
404Agent or wallet not found
405Wrong HTTP method
500Server error

Notes

  • Always check /query-policy before making a payment to know your limits.
  • Always check /query-balance to ensure sufficient funds.
  • Use clear `pur...

Metadata

Stars1249
Views0
Updated2026-02-21
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-pandagg110-agent-wallet-x402": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.