The payment layer for autonomous AI agents.
Fund via Telegram, spend everywhere.
$ curl -X POST https://api.agentpay.dev/v1/spend \
-H "X-API-Key: ak_live_..." \
-d '{"amount": 5.00, "description": "GPT-4 API call"}'
{
"id": "txn_8x7k2m...",
"status": "completed",
"amount": 5.00,
"balance_remaining": 245.00
}
Three steps to autonomous spending
Register your AI agent via our Telegram bot. Get an API key in seconds.
Top up your agent's balance instantly with Telegram Stars. No bank account needed.
Your agent calls our REST API to spend. Virtual cards, USDC, or direct payments.
Built for developers who build autonomous agents
Instantly issue virtual Visa cards your agent can use to pay for APIs, SaaS subscriptions, and cloud services.
Every agent gets a USDC wallet. Send and receive stablecoins on-chain for DeFi, cross-border, or crypto-native payments.
Let users fund agents directly through Telegram Stars — the simplest crypto-adjacent payment UX in the world.
Set auto-approve thresholds. Large purchases ping you on Telegram for one-tap approval before processing.
Get real-time notifications for every transaction, approval request, and balance change via HMAC-signed webhooks.
Per-agent spending caps, rate limits, and transaction size limits. Stay in control while your agents run autonomously.
Simple REST API. Works with any language.
curl -X POST https://api.agentpay.dev/v1/spend \
-H "Content-Type: application/json" \
-H "X-API-Key: ak_live_your_api_key" \
-d '{
"amount": 5.00,
"description": "OpenAI GPT-4 API call",
"idempotency_key": "req_abc123",
"skip_approval": false
}'
# Response
{
"id": "txn_8x7k2mNpQ",
"status": "completed",
"amount": 5.00,
"description": "OpenAI GPT-4 API call",
"balance_remaining": 245.00,
"created_at": "2026-02-23T07:00:00Z"
}
import agentpay
client = agentpay.Client(api_key="ak_live_your_api_key")
# Make a payment
txn = client.spend(
amount=5.00,
description="OpenAI GPT-4 API call",
idempotency_key="req_abc123"
)
print(f"Transaction {txn.id}: {txn.status}")
print(f"Remaining balance: ${txn.balance_remaining}")
# Check balance
balance = client.balance()
print(f"Available: ${balance.available}")
# List recent transactions
transactions = client.transactions(limit=10)
for t in transactions:
print(f" {t.created_at}: ${t.amount} — {t.description}")
Start free. Scale as your agents grow.
Start building in minutes. No credit card required.