● Travel Never Stops. Neither Do We. 365 Days a Year.

Mobile Recharge and Multi Services API for Top-Up Validation

Validate destination country, operator, and eligible local denominations before requesting a mobile recharge through a multi-service API.

Mobile service clerk and customer check a phone at a shop counter

Mobile Recharge and Multi Services API for Top-Up Validation is a practical guide to deciding whether an airtime purchase is ready to submit. A successful form entry is not the same as an eligible recharge. The destination country, recipient number, chosen operator, denomination, and currency basis must agree with current supplier metadata before a transaction request is created.

The objective is a clear preflight decision: proceed, ask for a correction, refresh the information, or stop. This guide concentrates on that decision boundary. It does not attempt to solve outcomes after a debit or an ambiguous transaction response; those belong in the separate post-debit handling guide.

Define the Validation Boundary Before Integrating

A mobile recharge and multi services api can sit beside bill payments and vouchers, but airtime requires distinct eligibility checks. Valid payment details and a correctly formatted number do not prove that an operator accepts the chosen recharge value. Current operator data must decide.

Build the preflight flow around an explicit intent record. It should contain the selected destination country, a normalized recipient number, the operator identifier the customer confirmed, the chosen product category, the denomination expressed in its declared currency, and the metadata version used for validation. Keep an internal distinction between the user's requested recharge value and the amount the platform may charge the purchaser.

What Preflight Can and Cannot Certify

Preflight can reject missing information, contradictory selections, unsupported operators, and values outside published eligibility rules. It can ensure the request is internally consistent at the moment of validation. It cannot guarantee the handset is active, the operator's systems will remain available, or the eventual recharge will succeed. A pass means the request is eligible to be submitted under the rules observed, not that service delivery has already occurred.

Use server-side enforcement even when the browser provides excellent guidance. A malicious or outdated client could alter an operator ID, currency flag, or denomination after the interface validated it. The backend should reconstruct and verify the final intent using trusted configuration and authoritative operator details before it prepares the actual top-up request.

Resolve Destination Country and Normalize One Recipient

Country selection has two roles. It tells the application which operator catalog to inspect, and it helps interpret a number entered without an international prefix. Neither role should be left to an unexamined guess. A customer's current location, browser language, payment card country, and sender telephone prefix are not reliable substitutes for the country of the phone being recharged.

Keep the Destination Explicit

Ask the customer to select or confirm the destination country using an unambiguous label and stored ISO country code. Where the interface proposes a country from the number prefix, show the proposal for confirmation. International dialing codes can be shared across territories, while number portability and unusual numbering plans complicate assumptions. If a number's parsed country conflicts with the selected destination, stop and request clarification instead of silently switching the country.

The operator record must also belong to this destination. Compare its returned country identifier with the confirmed destination code, not merely with its display name. Reject a mismatch even if the operator brand operates in both countries.

Normalize a Single Number Without Inventing Digits

Normalize exactly one recipient number per recharge intent. Trim spaces and presentation characters, preserve a leading plus where present, and parse using a maintained numbering library with the confirmed destination as context when needed. Store the canonical international representation separately from the customer's input. Preserve the original value for safe redisplay and support investigation, subject to privacy controls.

Do not prepend a country code blindly to a number that already has one. Do not strip an arbitrary leading zero without understanding the destination's national dialing rules. Avoid interpreting an extension, a second phone number, or a pasted contact card as part of a mobile recipient. If more than one candidate number appears, ask the customer to choose one rather than guessing which should receive value.

Syntax validation and plausible numbering checks are useful first filters, but they are not proof that a number is currently assigned or reachable. An optional number-lookup service may provide further evidence where supported, but do not describe such a lookup as universal or free without verifying its terms. If a provider expects a country code and a number in a particular request shape, adapt the canonical value at the integration boundary and test the exact convention.

Require an Operator the Customer Has Confirmed

A number prefix may suggest an operator, and some services offer automatic operator detection. Neither observation should silently become the final operator choice. Mobile number portability can make a prefix-based match obsolete; database coverage and detection confidence can vary. Present the recognized operator, if any, as a suggestion and obtain an explicit customer confirmation before creating a recharge request.

Bind Selection to the Supplier's Operator Identity

Show the operator name together with its destination country and, where helpful, a recognizable logo. Persist the confirmed provider operator ID rather than resolving a name again during checkout. Re-check that ID against the operator details returned for the destination. If the chosen operator disappears, is unavailable, or no longer matches the destination, ask for a new selection. Never substitute the first similarly named operator in the list.

The Reloadly Get Operator API reference is a relevant example of an operator-detail lookup. Its purpose in this workflow is to obtain the product constraints for the specific selected operator before proceeding. Treat response fields as data to validate and interpret, not as a permanent catalog copied into the application.

Offer a manual correction route when detection is inconclusive. A customer who knows the current network should be able to choose from eligible operators in the confirmed destination, subject to provider support. Conversely, if no matching operator is offered, do not fabricate a request by altering the operator field. Explain that a supported operator could not be verified and allow the customer to review the country or number.

Operator confirmation should be bound to the normalized number and country. If any of those three inputs changes, invalidate the prior selection or require confirmation again. That prevents a user from changing the recipient after choosing an operator and accidentally carrying a now-inappropriate operator ID into the final request.

Apply the Right Denomination Rule to the Right Product

Operators may offer fixed denominations or a permitted range. A customer-facing amount field must reflect the actual rule, not just the monetary format accepted by the front end. Inspect the provider's denomination type and relevant amounts for the confirmed operator. Use the local-currency fields when the customer is choosing a local-value recharge, and the corresponding sender-currency fields when using that supported route.

Fixed Values Are a Set, Not a Minimum and Maximum

For a fixed-denomination product, valid values come from the operator's allowed list. A number lying between its smallest and largest entries is not automatically valid. Render the listed amounts as selectable options, retain their associated currency, and compare the submitted value for exact membership after appropriate decimal normalization. Do not create intermediate denominations by adding a step size that the provider did not publish.

For local-value requests, look for the appropriate local fixed-amount list, such as localFixedAmounts where that field is provided. A separate fixedAmounts list can describe the sender-currency route instead. If the local list is missing or empty despite a local mode appearing available, treat the data as incomplete and refresh or block rather than assuming the sender-currency list is interchangeable.

Ranged Values Need Inclusive Bounds and Precision Rules

For ranged products, read the applicable minimum and maximum, then enforce both boundaries. In a local-value flow, fields such as localMinAmount and localMaxAmount must be interpreted in the destination currency. The nonlocal minAmount and maxAmount fields belong to the alternate currency basis. Do not mix a local minimum with a sender-currency maximum just because both values are numerical.

Range membership does not always define every formatting rule. Decimal precision, allowed increments, and rounding may be product-specific. Enforce only verified constraints; where detail is unavailable, use conservative currency precision and seek confirmation through supported documentation or controlled testing. Use decimal arithmetic instead of binary floating-point comparisons so a displayed amount is not rejected or altered because of a calculation artifact.

Preflight checks against the confirmed destination, operator, product, and denomination mode
Input or Field Validation Rule Decision When Unresolved
Destination country Confirmed ISO country code matches the operator record. Request correction.
Recipient number One plausibly formatted canonical number matches the selected country context. Request correction.
Operator ID Customer-confirmed ID exists for the destination and selected product. Refresh or reselect.
Fixed local amount Exact member of the current eligible local-value list. Offer listed values.
Ranged local amount Inside current local bounds with supported precision. Adjust the value.
Currency and mode Amount unit and local-amount flag agree with supported operator settings. Block conflicting request.
Metadata freshness Operator snapshot remains acceptable at final submission. Refresh and revalidate.
Clerk compares prepaid service packages across a customer counter

Separate Recipient Value From Funding Currency

Cross-border recharge interfaces often display at least two monetary concepts: the value the recipient should receive and the amount the purchaser pays or the merchant funds. Their currency symbols may look familiar, but the amounts are not interchangeable. Store both with explicit ISO currency codes and separate field names. Never let a bare numerical amount travel through internal services without a defined unit and mode.

Check Whether Local Values Are Actually Supported

Reloadly's guide to local connections and local top-ups explains an operator-specific capability flag, supportsLocalAmounts. When that capability is true, its API example uses useLocalAmount set to true and interprets amount in the destination currency. The same source notes that local connections are available only for certain countries and operators; support must be checked rather than presumed.

The source also distinguishes its portal from its API. It says local-value top-ups in the portal require an account currency matching the destination currency, while an API request can use the local-amount flag regardless of account currency when the local connection exists. This distinction is specific to that provider's documented behavior. Do not generalize it into a guarantee about every aggregator, every merchant account, or every funding arrangement.

When local amounts are unsupported, do not set the flag optimistically and hope the provider converts the request. Offer an explicitly labeled alternate route only if the provider supports it and the customer accepts its denomination and value implications. Otherwise stop with a useful explanation. A wallet balance or purchaser currency is not evidence that a local connection exists.

Keep Pricing and Eligibility in Different Calculations

Validate the requested recipient denomination first. Then calculate or obtain any funding quote using the provider's applicable pricing, exchange, fees, and commercial terms. A quoted purchase price must not be back-solved into a different recipient denomination without an explicit new choice. Discounts, exchange rates, and fees can affect merchant economics without changing which local values are eligible.

Label every monetary amount in the interface: “Recipient receives,” “You pay,” and, if relevant, “Estimated conversion.” Identify whether a displayed price is final or subject to refresh. Round according to the relevant currency and contractual charging rules, not by converting a rounded display value back into the supplier request. If a quote expires or changes materially, pause and ask the customer to approve the updated total before submission.

Distinguish Ordinary Airtime From Bundles and Expiring Offers

“Mobile recharge” can mean general airtime, data allowance, voice minutes, or a packaged offer with conditions. A multi-service checkout must not treat all those products as interchangeable. Establish the product category before showing denominations. If an operator entry is marked as a bundle or data offer, its available choices and descriptions may not mean the same thing as a cash-equivalent airtime value.

A bundle can be limited by network, device type, subscriber segment, activation window, geography, or other provider-defined conditions. Display only restrictions actually supplied by a reliable product description or verified supplier documentation. Avoid inventing a data allowance, duration, or coverage map from a product name. Where essential eligibility terms are absent or unclear, prevent a definitive customer promise and route the product for clarification.

Expiry Dates Require Careful Wording

Separate an offer's purchase deadline from the expiry of the resulting balance, a bundle's validity period, and an activation deadline. Those are different clocks. An offer that is available for purchase today does not necessarily grant a balance usable indefinitely. If the provider gives a duration but no activation rule, do not claim the period begins at purchase. Explain exactly what is known and what remains unverified.

Descriptions also deserve freshness checks. A cached label promising a particular data size may survive after an operator changes the underlying package. Retain product identifiers and description versions when available, and refresh before commitment. If the customer chose a bundle but the latest catalog has only ordinary airtime for that operator, do not silently convert the order to airtime of the same numerical amount.

Handle Stale Catalogs and Changing Operator Metadata

Operator data is operational information, not permanent configuration. An operator can change supported products, local-amount eligibility, denomination ranges, or availability after your application retrieves a catalog. A selection made from an old screen may no longer be valid when the customer finally confirms payment. The cure is a deliberate refresh policy combined with a final server-side comparison.

Refresh at the Moments That Matter

Cache country and operator lists for responsive browsing if suitable, but give the cache a documented freshness limit. Refresh the specific operator record when a customer selects an operator, changes the product, changes currency mode, or resumes a long-idle checkout. Perform another bounded-age validation immediately before preparing the top-up request. Do not claim that a particular cache lifetime is universally safe; choose it through observed volatility and provider guidance.

Record when metadata was fetched, its provider environment, the operator ID, country, denomination type, currency fields, eligibility values, and any supplied version marker. Derive a stable internal fingerprint when no version is provided. Compare the current record with the record under which the customer selected the value.

When a refresh changes an important field, invalidate the earlier approval. Re-render the allowed denominations and explain what changed: the operator, local-value availability, product description, or permissible amount. Avoid silently nudging a chosen amount to the nearest valid one. In money movement, a seemingly minor automated correction can alter what the purchaser intended to send.

Failures to fetch current metadata require a consciously defined policy. For a final monetary submission, do not treat an indefinite old cache as proof of eligibility. Return a temporary validation-unavailable state and invite the customer to retry. A transient lookup error is not the same as an invalid number, and customer-facing messages should preserve that distinction.

Worked Hypothetical: One Local-Value Request

Illustrative fixture, not a live operator offering: A traveler wants to recharge a Nigerian number while paying in USD. The fictional provider catalog lists “Example Mobile NG” for destination NG, with operator ID 900001, supportsLocalAmounts: true, denominationType: FIXED, destination currency NGN, and localFixedAmounts: [500, 1000, 2000]. These invented amounts and identifiers are solely for demonstrating decisions, not real supplier pricing or coverage.

The customer selects Nigeria and enters one number. The application parses it into a single canonical international form, checks its country context, and displays the masked recipient for review. Operator detection suggests “Example Mobile NG,” but the screen asks the customer to confirm it. The backend then retrieves that operator's details and verifies the record still belongs to NG.

The customer initially types 1250 NGN. Because the product has fixed local denominations, the system rejects 1250 even though it falls between 500 and 2000. It offers the three catalog values without preselecting a replacement. The customer chooses 1000 NGN, which passes the exact-membership test, and confirms the operator and number together.

The purchase screen shows 1000 NGN as the intended recipient value and presents a separately sourced USD purchase quote. It does not equate those figures or infer a conversion rate from the catalog alone. Before submission, the backend fetches or checks an acceptably fresh operator snapshot, verifies that local amounts remain supported, and confirms that 1000 is still listed. Only then does it prepare a request using the provider's documented local-value mode.

If the refreshed list no longer includes 1000, the result is “selection changed; choose again,” not automatic conversion to 500 or 2000. If the provider metadata cannot be obtained, the result is “temporarily unable to validate,” not “number invalid.” The worked case ends at the preflight gate; it makes no claim about debiting funds or recharge delivery.

Turn Checks Into Explicit User and System Decisions

Implement preflight as a small decision model rather than a loose collection of form errors. A useful set of outcomes is READY, NEEDS_INPUT, RESELECT_OPERATOR, INVALID_DENOMINATION, UNSUPPORTED_MODE, and REFRESH_REQUIRED. These are application states, not claims about a provider's exact error codes. Each state should have a user-facing explanation and a machine-readable reason for consistent handling across web, mobile, and support tools.

Follow a deterministic order. Confirm country and normalize the single number; confirm the operator; retrieve the corresponding details; verify product category and local-amount capability; validate the amount against the correct denomination fields; then check quote and metadata freshness. Later checks should not silently repair failures in earlier ones.

Make Error Messages Actionable

“Choose one of the available recharge values” is more useful than “invalid amount.” “Please confirm the network currently used by this number” is safer than “operator detected” when detection is uncertain. “Local-currency recharge is unavailable for this operator” is clearer than exposing a raw boolean flag. For temporary provider failures, say validation could not be completed and offer retry without implying the customer's information is wrong.

Preserve the user's choices during a refresh, but visibly mark affected fields for reconfirmation. Disable the final submission action until required approvals are current. Accessibility matters: associate errors with inputs, announce changed validity messages, provide text labels alongside colors, and ensure fixed-value options work with a keyboard or assistive technology. A preflight design fails if its safest path is inaccessible.

Use a Release Checklist That Protects the Request Boundary

Before launch, test local and nonlocal modes separately, both fixed and ranged denominations, inclusive boundaries, fractional values, absent metadata, country mismatches, changed operators, expired quotes, and stale cached results. Include tests that tamper with browser-submitted operator IDs or amount units to confirm the backend rejects inconsistent requests. Re-run the suite when provider response schemas or numbering libraries change.

The final server check should yield a compact validated intent containing country, canonical recipient, confirmed operator ID, product category, amount and currency, local-mode selection, quote reference if applicable, and metadata freshness evidence. Pass that intent to the transaction layer only while it remains valid. Never treat a successful client-side validation badge as permission to skip that gate.

For TravelTech365-style multi-service experiences, the design principle is simple: make every top-up request explainable before it is sent. The user chose the destination, operator, and value; the platform checked those choices against current supplier rules; and the amount's currency meaning is unambiguous. That creates a reliable preflight foundation without pretending it can settle the separate questions that begin after submission.