Short answer
A mobile top-up API lets your software send prepaid airtime or data bundles to phone numbers through an aggregator connected to mobile operators. A typical integration looks up the number's operator, lists the available products, creates a transaction against your prefunded balance and then confirms the final status by callback or polling. You build the checkout, fraud controls and reconciliation around it.
Key takeaways
- Every top-up API follows the same shape: lookup, product list, transaction, final status.
- Treat top-ups as asynchronous: a request that times out may still succeed, so use your own transaction ID and never retry blindly.
- Compare APIs on coverage for your corridors, pricing transparency, failure handling and reconciliation data before headline country counts.
- The API is a small share of the work; payments, fraud, support tools and daily reconciliation take most of the effort.
What is a mobile top-up API?
A mobile top-up API is an interface that lets an application recharge prepaid phone numbers programmatically. An API is a set of functions one system exposes to another; here, the system is an aggregator that has commercial and technical connections to mobile operators in many countries.
You may also see it called an airtime API, a recharge API or, for cross-border use, an international top-up API. The products are the same: airtime of an open or fixed amount, data bundles, and voucher PINs. Wallets, remittance apps, banks, loyalty programs and neighborhood-store apps use these APIs to add a product that customers buy every few weeks.
- Share of modelled global remittance outflows that originate in the United States[3]
- 26.1%
- Sent abroad by migrants in the United States in 2023[4]
- US$93 billion
Those remittance figures, from the Center for Global Development and World Bank estimates, are not top-up sales. They show where cross-border family spending starts, which is where international top-up demand starts too.
How does a mobile top-up API work?
A top-up API works in four calls: identify the operator, list products, create the transaction and obtain its final status. The public documentation of large aggregators follows this pattern; the DT One developer portal is a clear reference.
- Lookup. Send the phone number in international format; receive the operator and country. Documentation warns that results may not reflect recent number porting, so let the user correct the operator.
- Products. Request the products available for that operator: amounts, bundles, wholesale price, the value the recipient gets in local currency, and any promotion.
- Transaction. Create a transaction with the product, the number and your own unique reference. The cost is reserved or deducted from your prefunded balance.
- Final status. Receive a callback at a URL you provide, or query by transaction ID, until the status is final.
Product types define how value is delivered. Names vary between providers, but the three below, taken from DT One's documentation, cover the market.
| Product type | What it does | Typical use |
|---|---|---|
| Fixed-value recharge | Tops up the receiver's account with a set amount or bundle | Data bundles, promotional packs, popular denominations |
| Ranged-value recharge | Recharges any amount between a minimum and a maximum | Open-amount airtime where the customer chooses the value |
| Fixed-value PIN purchase | Returns a PIN or voucher code to redeem later | Counter sales, gifts, customers without data |
What does a top-up transaction lifecycle look like?
A top-up transaction passes through several states before it is final, and your code must handle each one. Operators sometimes answer in under a second and sometimes minutes later. Design for the slow case.
| State | Meaning | What your system should do |
|---|---|---|
| Created | Accepted by the aggregator, not yet sent to the operator | Confirm it, or cancel if the customer's payment failed |
| Submitted or pending | Sent to the operator; outcome unknown | Show the customer a processing state; wait for the callback; do not resend |
| Completed | The operator credited the number or issued the PIN | Capture payment if you only authorized it; send the receipt |
| Declined or rejected | The operator or aggregator refused (invalid number, barred line, limit) | Release or refund the payment; show a specific reason |
| Reversed | A completed or pending transaction was undone, which is rare | Refund the customer and correct your ledger |
Two practices prevent most money-losing bugs. First, send your own unique transaction reference with every request, so a repeated call cannot create a second top-up. Second, when a request times out, query the status by that reference before doing anything else. DT One's documentation notes that callbacks are retried several times and that, beyond those retries, the status has to be queried through the API. Assume every provider behaves this way.
What should you compare when choosing an airtime API?
Compare airtime APIs on how they perform in your corridors and how they behave when something fails. Country counts on a homepage tell you little.
| Criterion | What to ask |
|---|---|
| Coverage that matters | Which operators in my five main countries, and are bundles available or only airtime? |
| Connection quality | Is each operator connected directly or through another aggregator? What are recent success rates? |
| Pricing | Is the wholesale price visible per product in the API? How often does it change, and am I notified? |
| Currency | In which currencies can I hold a balance? How is the exchange rate to the destination set? |
| Failure handling | How are declined and pending transactions refunded, and how fast? |
| Idempotency | Can I send my own reference and query by it? |
| Callbacks | Are status callbacks signed and retried? |
| Sandbox | Is there a test environment that simulates success, decline and pending? |
| Reconciliation | Can I download statements and balance movements by date? |
| Promotions | Does the catalog expose operator promotions and their terms? |
| Onboarding | What business verification is required, and what use cases are restricted? |
How is an international top-up API priced?
International top-up APIs are usually priced per product: you pay a wholesale price in your balance currency for a defined value delivered in the destination currency. Your margin is the retail price you charge minus that wholesale price and your payment costs. Some providers add platform or minimum fees; ask.
Three things move your real cost. The exchange rate used to convert your balance currency into the destination value. The discount tier for your volume. And local taxes that some operators deduct from the delivered amount, which is why a good API returns both the amount sent and the amount the recipient actually gets.
What do you need to build on top of a top-up API?
You need to build the customer experience, the payment layer and the back office; the API only moves the airtime. A production integration includes:
- Number entry and confirmation. Country picker, format validation, operator shown back to the user, and a clear summary before payment.
- Catalog service. Cached products with your markup rules, refreshed on a schedule.
- Payments. Authorization before the top-up, capture after completion, automatic refund on decline.
- Fraud controls. Limits for new accounts, velocity rules per card and per recipient number, and review queues. Instant digital goods are a known target for stolen cards.
- A ledger. A record of every payment, top-up and refund that can be matched line by line to the aggregator's statement. That matching is reconciliation.
- Balance monitoring. Alerts and automatic funding rules so sales do not fail at peak times.
- Support tools. Search by number or reference, see provider status, resend a receipt, refund.
What are the most common top-up API integration mistakes?
The most common mistakes come from treating a top-up like an ordinary synchronous purchase. These five appear in most first integrations.
- Retrying on timeout. The first request may have succeeded. Query by your reference before any retry.
- Capturing payment before the result. If the top-up is declined you must refund, which costs fees and trust. Authorize first where your payment provider allows it.
- Trusting lookup completely. Ported numbers return the old operator. Let users change it.
- Showing the wrong received amount. Display the value after operator taxes, as returned by the API, not the face value you assume.
- No reconciliation job. Small mismatches accumulate. Run a daily comparison and investigate every difference.
Should you integrate a top-up API or use a platform?
Integrate directly when top-ups must live inside a product you already operate and you have engineers to own the integration. Use a platform when you want to sell under your brand without building the layers above. If you are earlier than that decision, how to start a mobile top-up business covers models and economics.
FinGenius is the platform route. You describe the product in plain language and the AI assembles it from certified, versioned modules, including a top-ups and eSIM module, payments and notifications, into an app for iOS, Android and web with a back office. The financial integrations arrive connected: catalogs from DT One and other aggregators, and payments with fraud checks through Stripe. An Operations agent helps with reconciliation and provider settlement, with people approving decisions. The code is yours and can be exported.
About FinGenius
FinGenius is an AI platform that builds and runs white-label fintech businesses — remittances, mobile top-ups, eSIMs, gift cards, digital wallets and WhatsApp stores — with regulated partners handling payments and compliance. See how top-ups are packaged as a product on the mobile top-up platform page.
Frequently asked questions
What is an airtime API?
An airtime API is the same thing as a mobile top-up API: a service that lets software send prepaid credit to phone numbers through an aggregator connected to mobile operators. The name emphasizes open-amount balance, but most airtime APIs also sell data bundles and voucher PINs through the same endpoints.
Do I need a contract with each mobile operator to use a top-up API?
No. The aggregator holds the operator relationships and exposes them through one integration and one balance. You sign with the aggregator, pass its business verification and fund your account. Direct operator contracts only make sense at very high volume in a single country.
Are mobile top-ups through an API instant?
Usually they complete within seconds, but not always. Operators can respond late or be temporarily unavailable, which leaves a transaction pending. Your application should show a processing state, wait for the final status by callback or polling, and only then confirm success to the customer.
Can a top-up sent through an API be reversed?
Generally no, once the operator has credited the number. Declined transactions are returned to your balance, and a few operators support reversals in limited cases, but you should plan as if completed top-ups are final. That is why number confirmation before payment is essential.
How do I test a top-up API without spending money?
Use the provider's sandbox. Good sandboxes let you simulate completed, declined and pending outcomes, often by using special test numbers, so you can verify refunds, retries and callbacks. Before launch, run a handful of small real transactions to numbers you control in each priority country.
What is the difference between a top-up API and a top-up platform?
An API gives developers the functions to send top-ups; everything customers and staff see must be built. A platform includes the storefront, payments, back office and reporting on top of one or more APIs. Choose the API for control inside an existing product and a platform for speed.
Sources
- DT One. DT One Developer Portal: Digital Value Services API overview · accessed November 28, 2026
- DT One. Look Up Mobile Numbers · accessed November 28, 2026
- Destatis, Federal Statistical Office of Germany. Remittances: international statistics (World Bank estimates) · accessed November 28, 2026