Reseller Program
Run your own AI API business on zrouter: register, fund a USD quota, and mint Token Plans for your customers.
The reseller program lets you run your own AI API business on top of zrouter. You register for a reseller account, fund a USD quota, then mint Token Plans against that quota for your own customers. You never have to provision models or operate infrastructure — the upstream providers and the gateway stay fully managed by zrouter.
How the program works#
- Register with an email, password, and WhatsApp number. Your account is created in
pendingstatus. - Pass review. A zrouter admin reviews the application; once approved, your account becomes
active. - Fund your quota. Add USD quota through QRIS or crypto (USDC/USDT on Solana).
- Mint Token Plans. Mint a Token Plan tier to any zrouter user by email, paid from your quota.
- Issue keys. Create an API key for a customer through a separate endpoint — reveal-once, exactly like your own keys.
Registration#
Registration takes an email, a password, your display name, and a WhatsApp number for contact. On success the account is created in pending status and cannot top up or mint until an admin approves it. Registration is rejected with 409 email_exists if the email is already used, and with 403 email_blacklisted if the email is not permitted to join the program.
Account status#
| Status | Meaning |
|---|---|
pending | Application submitted and awaiting admin review. Top-up and minting are disabled. |
active | Approved. You can fund quota, mint Token Plans, and manage customers. |
blocked | Access suspended. You can still authenticate, but every operation is denied until an admin unblocks the account. |
Funding your quota#
Your quota is a prepaid USD balance. Every mint debits this balance, so you only spend what you have already funded. There are two top-up paths, and the credited quota differs slightly between them:
QRIS top-up#
QRIS top-up uses a fixed conversion rate of Rp10.000 per USD. The credited quota equals the principal amount_idr you pay; a separate 5% processing fee is added on top and is not credited to your quota — your customer-facing total is the principal plus the fee. Orders expire after 15 minutes, and credit is applied only after a confirmed payment.
Crypto top-up#
Crypto top-up accepts USDC and USDT on Solana, credited 1:1 in USD. The credited quota equals the amount actually received at confirmation — no fee is deducted from the quota. You pay the network transaction fee to the blockchain, not to zrouter.
Minting Token Plans#
A mint is the programmatic operation that grants a Token Plan tier to one of your customers. The customer is a real zrouter user, addressed by email. The operation is idempotent and atomic — see Quota & Minting for the exact replay and atomicity semantics.
An API key is not minted. You create a customer's API key through a separate endpoint, and — exactly like your own keys — the secret is revealed once and never stored.
Atomicity guarantee#
Every mint is applied as a single atomic unit: the quota debit and the Token Plan grant either both happen, or neither does. There is no intermediate state where your quota is debited but the customer receives nothing, or vice versa. This guarantee holds even if the request is retried or duplicated — the operation is idempotent by design.
Rate limits#
| Operation | Limit |
|---|---|
| Login | 5 per minute |
| Top-up | 10 per minute |
| Mint | 30 per minute |