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.
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"
}'{
"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
}
}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.
/v1/topup.send$
Endpoint: POST /api/public/v1/topup/send · auth via Authorization: Bearer ak_live_…
An API you won't
have to wrap.
One predictable shape
Every response carries success, code, transaction_id, status, timestamp and data. Parse once, ship everywhere.
Staging that feels like live
ak_staging_… keys run the full lifecycle — webhooks included — without moving real credits.
Signed. Retried. Boring.
HMAC-SHA256 signatures, 3× exponential backoff (0s · 5s · 30s), and a delivery log you can replay.
Numeric codes, plain English
From 1000 Success to 5002 Webhook URL invalid — a tight, documented surface your support team can read.
Three calls. One coffee.
Pick staging or live in Agent API.
Email + platform + amount_cents.
topup.delivered fires in seconds.
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.
- topup.delivered— Credit sent to recipient
- topup.refunded— Top-up reversed; wallet debited
- topup.failed— Delivery failed — funds refunded
- topup.cancelled— Pending top-up cancelled
- balance.low— Wallet below your threshold
Wholesale margin,
on the table.
List price per platform (cents per 1M tokens). Your tier sets the discount. A 1.50% platform fee applies on every /topup/send.
| Platform | Input | Output |
|---|---|---|
| Claude | 300¢ | 1500¢ |
| ChatGPT | 50¢ | 200¢ |
| Gemini | 10¢ | 40¢ |
| Tier | Discount | Your cost |
|---|---|---|
| Standard | 0% | $10.00 |
| Silver | 15% | $8.50 |
| Gold | 28% | $7.20 |
| Platinum | 40% | $6.00 |
Size top-ups in
the unit agents think in.
Call /v1/topup/estimate with the model and expected token counts. We return the exactamount_cents, your wholesale cost, and the platform fee — no state, no rate-limit cost.
POST /v1/topup/estimate
{
"platform": "chatgpt",
"tokens_in": 250000,
"tokens_out": 80000
}
→ { amount_cents: 28, wholesale_cost_cents: 24,
platform_fee_cents: 1 }Built for the layer
nobody else covers.
We don't issue cards. We move prepaid AI credit, scoped per platform & model.
One API across Claude, ChatGPT, Gemini. One envelope. One reseller tier.
Idempotency, webhooks, refunds, caps, customer objects — out of the box.
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.