API is LIVE · Checking...

Payments for
AI Agents

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.

terminal
$ 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"
}

The problem we solve

🤖

Agents are autonomous

Claude Code, Cursor, AutoGPT — they work without human supervision. But they can't pay for things.

💳

No credit cards

Stripe and PayPal require human verification, KYC, and card details. Agents can't do that.

⚡

AgentPay fixes it

A simple API that gives every agent an API key, a balance, and a way to pay for services.

Everything you need

Production-ready infrastructure. Built for developers, designed for scale.

💰

Multi-currency

USD, EUR, GBP out of the box. Add more with a single line.

🔐

Bearer API keys

Each agent gets a unique ap_... key. Simple, secure, revocable.

⚡

Rate limiting

Sliding-window limiter per agent and per IP. DDoS-resistant by default.

📊

Audit logs

Every action logged with IP, user-agent, and metadata. Compliance-ready.

🔄

Subscriptions

Recurring billing (daily/weekly/monthly/yearly) with automatic retries.

↩️

Refunds

Full or partial refunds with double-refund protection built in.

🪝

HMAC webhooks

Signed webhooks for topup, charge, refund events. Retry with backoff.

💳

Stripe integration

Top up via Stripe Checkout. Production-grade payment flow.

🐍

Python SDK

Official SDK. pip install agentpay and start in 30 seconds.

How it works

Three steps. Five minutes.

1

Create an agent

One POST request. Get an ID and an API key back instantly.

2

Top up balance

Add funds via API or Stripe Checkout. Balance is instant.

3

Charge for services

Every API call or task costs what you decide. Full audit trail.

Simple, transparent pricing

Start free. Scale when you're ready.

FREE
$0/mo
  • ✓ 100 transactions/mo
  • ✓ 1 agent
  • ✓ Full API access
  • ✓ Community support
Start Free
POPULAR
PRO
$29/mo
  • ✓ 10,000 transactions/mo
  • ✓ Unlimited agents
  • ✓ Webhooks + audit logs
  • ✓ Stripe integration
  • ✓ Priority email support
Start Pro Trial
BUSINESS
$99/mo
  • ✓ Unlimited transactions
  • ✓ Unlimited agents
  • ✓ SLA + uptime guarantee
  • ✓ Custom integrations
  • ✓ Dedicated support
Contact Sales

Frequently asked questions

What is AgentPay? ▾

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.

How is this different from Stripe? ▾

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.

Do I need a credit card to start? ▾

No. The Free plan gives you an API key instantly — no credit card required. Upgrade to Pro or Business when you're ready.

What languages do you support? ▾

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.

How do refunds work? ▾

Every charge can be refunded with a single API call. We protect against double-refunds and log everything in the audit trail.

Is my data safe? ▾

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).

Ready to give your agents a wallet?

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"}'
Try it now →

Or view the source on GitHub