Give your AI agents a wallet. A simple API to create agents, top up balances, charge for services, handle refunds, and manage subscriptions. Works with Claude, GPT, LangChain, and any autonomous agent.
$ curl -X POST https://web-production-32de5.up.railway.app/agents/create \
-H "Content-Type: application/json" \
-d '{"name":"my-agent"}'
# Response:
{
"ok": true,
"agent": { "id": "a1b2c3...", "balance": 0 },
"api_key": "ap_xxxxxxxxxxxx"
}
Claude Code, Cursor, AutoGPT — they work without human supervision. But they can't pay for things.
Stripe and PayPal require human verification, KYC, and card details. Agents can't do that.
A simple API that gives every agent an API key, a balance, and a way to pay for services.
Production-ready infrastructure. Built for developers, designed for scale.
USD, EUR, GBP out of the box. Add more with a single line.
Each agent gets a unique ap_... key. Simple, secure, revocable.
Sliding-window limiter per agent and per IP. DDoS-resistant by default.
Every action logged with IP, user-agent, and metadata. Compliance-ready.
Recurring billing (daily/weekly/monthly/yearly) with automatic retries.
Full or partial refunds with double-refund protection built in.
Signed webhooks for topup, charge, refund events. Retry with backoff.
Top up via Stripe Checkout. Production-grade payment flow.
Official SDK. pip install agentpay and start in 30 seconds.
Three steps. Five minutes.
One POST request. Get an ID and an API key back instantly.
Add funds via API or Stripe Checkout. Balance is instant.
Every API call or task costs what you decide. Full audit trail.
Start free. Scale when you're ready.
AgentPay is a payment API for AI agents. It gives each agent a balance, an API key, and a way to charge for services — without needing credit cards or human verification.
Stripe is built for humans with credit cards. AgentPay is built for autonomous software. We handle the API-key-based auth, per-agent balances, and audit trails that autonomous systems need.
No. The Free plan gives you an API key instantly — no credit card required. Upgrade to Pro or Business when you're ready.
Any language that can make HTTP requests. We also provide an official Python SDK, and a Node.js SDK is coming soon. The REST API is fully documented with OpenAPI.
Every charge can be refunded with a single API call. We protect against double-refunds and log everything in the audit trail.
Yes. All API calls use bearer-token auth. Audit logs capture every action. We use PostgreSQL (Neon) with encrypted connections. Stripe handles payment data (PCI-DSS compliant).
Get an API key in 30 seconds. No credit card required.
$ curl -X POST https://web-production-32de5.up.railway.app/agents/create \
-H "Content-Type: application/json" \
-d '{"name":"my-first-agent"}'
Or view the source on GitHub