For developers · v1

Ship AI top-ups
in 10 minutes.

One REST API. Signed webhooks. Staging that mirrors live. Integrate prepaid credits for Claude, ChatGPT and Gemini into your product with a single curl.

Request
curl -X POST https://aitopup.app/api/public/v1/topup/send \
  -H "Authorization: Bearer ak_staging_..." \
  -H "Content-Type: application/json" \
  -d '{
    "platform": "claude",
    "amount_cents": 1000,
    "recipient_email": "user@example.com"
  }'
Response
{
  "success": true,
  "code": 1001,
  "transaction_id": "txn_abc123",
  "status": "delivered",
  "timestamp": "2026-06-13T12:00:00Z",
  "data": {
    "voucher_code": "ATU-7Q3X-...",
    "platform": "claude",
    "amount_cents": 1000,
    "new_balance_cents": 5400
  }
}
See it run

One call. Credits
in the wallet.

Watch an AI agent POST /topup/send, receive the standardized envelope, and the recipient's wallet update in real time.

aitopup · live demo
Request · agentPOST
$
Response · serverwaiting…
Typing request
POST /topup/send
Server responds 1001 Success
Wallet credited · webhook fired
Recipient wallet · Claude
$44.00

Endpoint: POST /api/public/v1/topup/send · auth via Authorization: Bearer ak_live_…

What you get

An API you won't
have to wrap.

Envelope

One predictable shape

Every response carries success, code, transaction_id, status, timestamp and data. Parse once, ship everywhere.

Environments

Staging that feels like live

ak_staging_… keys run the full lifecycle — webhooks included — without moving real credits.

Webhooks

Signed. Retried. Boring.

HMAC-SHA256 signatures, 3× exponential backoff (0s · 5s · 30s), and a delivery log you can replay.

Errors

Numeric codes, plain English

From 1000 Success to 5002 Webhook URL invalid — a tight, documented surface your support team can read.

From zero to delivered

Three calls. One coffee.

01
Mint a key

Pick staging or live in Agent API.

02
POST /topup/send

Email + platform + amount_cents.

03
Receive webhook

topup.delivered fires in seconds.

Webhooks

Events you can
actually trust.

Every delivery is signed with X-AiTopUp-Signature and retried up to 3× with exponential backoff. Replay any delivery from the dashboard.

Configure webhooks →
Events
  • topup.deliveredCredit sent to recipient
  • topup.failedDelivery failed — funds refunded
  • topup.cancelledPending top-up cancelled
  • balance.lowWallet below your threshold

Ready when you are.

No sales call. No SDK to install. Mint a staging key and make your first call before this page finishes scrolling.