Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Parameter
Description
client_id
This is a private identifier for your account
client_secret
This is a private key that should not be shared
Parameter
Description
Sandbox
Use endpoints in test mode and simulate real-like responses
Live
Work with live credentials to build applications
Once you have your client credentials, the next step is for you to retrieve your access token. Reloadly issues access tokens (also called bearer tokens) that are used to authorize API requests. Make a request to the https://auth.reloadly.com/oauth/token
URL to obtain the appropriate access token
Once successful, you will get response data containing your access token, its privileges, and its lifespan
If you get an response with "errorCode": "INVALID_CREDENTIALS"
you're most likely using the wrong set of credentials for the environment from where you want to get a token. Remember: the credentials used for Production are invalid in Sandbox and viceversa.
Now you've got your access token, the next step is to make a top-up on a mobile number. Reloadly spans across more than 700 operators in over 140 countries. This ensures you have a lot of options when making your first top-up. To top up a mobile number, you can make a POST request to the /topups
endpoint
If this request is successful, you will get a response containing details of your top-up
Great! You have gotten started with Reloadly in the fastest way possible. Feel free to modify the code samples above in order to get more practice with our API. You can also check out the rest of the documentation for a concise understanding of the Airtime product.
The fastest way to get started with the Airtime product is to make a top-up. This section covers how to get started with the Airtime API product. To make a top-up, you will need client credentials which you can get from signing up in the
Asides from the live environment, Reloadly provides a sandbox (also called test environment) where you can simulate real-life scenarios and use cases for each API endpoint. If you would like to first work with the test environment, you can check out the virtual sandbox in the section.
You can test these steps out directly on our .
NOTICE - UPCOMING CHANGE
In future releases, the commission
parameter in the response data of the following endpoints will be deprecated.
/operators
/operators/{operatorid}
/operators/auto-detect/phone/{phone}/countries/{iso}
/operators/countries/{countrycode}
Users are advised to work with the internationalDiscount
or localDiscount
parameter as it contains the same data on the operator.
This page shares information on all updates and modifications to the Airtime API. Do you have a feature suggestion? Do let us know .
Making an airtime top-up comes in handy for different applications - personal and businesslike. Reloadly's Airtime API handles these use cases by providing endpoints that grant you access to over 700 operators in more than 140 countries. With this outreach, you can send airtime and also subscribe to data bundles in different currencies. The most important data you will need to send airtime successfully is the recipient's mobile number. To further learn how to integrate this RESTful API into your application, you can check out this documentation. It contains a reference of each endpoint in the Airtime API.
With the /countries/{countrycode}
endpoint, you can retrieve the details of a country by making a request with its ISO code
GET
https://topups.reloadly.com/countries/{countrycode}
countryCode*
string
The country's ISO Code
Authorization*
string
Your access token is required as a bearer token in the request's header
Parameters
Type
Description
isoName
string
This indicates the ISO code of the country
name
string
This indicates the country's name
currencyCode
string
This indicates the code of the country's currency
currencyName
string
This indicates the name of the country's currency
currencySymbol
string
This indicates the symbol of the country's currency
flag
string
This is a link to an SVG image of the country's flag
callingCodes
string
This indicates the country's international dialing code
Using the /countries
endpoint, you can retrieve data on over 140 countries where airtime top-ups can be made with the Airtime API
GET
https://topups.reloadly.com/countries
Authorization*
string
Your access token is required as a bearer token in the request's header
Parameter
Type
Description
isoName
string
This indicates the ISO code of the country
name
string
This indicates the country's name
currencyCode
string
This indicates the code of the country's currency
currencyName
string
This indicates the name of the country's currency
currencySymbol
string
This indicates the symbol of the country's currency
flag
string
This is a link to an SVG image of the country's flag
callingCodes
string
This indicates the country's international dialing code
The /operators
endpoint allows you to retrieve information on any of the 700+ available operators that can be used to make top-ups with the Airtime API
GET
https://topups.reloadly.com/operators
includeBundles
boolean
Indicates if any airtime and data bundles being offered by the operator should be included in the API response. Default value is true
includeData
boolean
Indicates if any airtime or data plans being offered by the operator should be included in the API response. Default value is true
includePin
boolean
Indicates if PIN details for the operator should be included in the API response. Default value is true
suggested AmountsMap
boolean
Indicates if the suggestedAmountsMap
field should be returned. Default value is false
suggested Amounts
boolean
Indicates if the suggestedAmounts
field should be returned. Default value is false
size
integer
This indicates the number of operators to be retrieved on a page. Default value is 200
page
integer
This indicates the page of the operator list being retrieved. Default value is 1
Authorization*
string
Your access token is required as a bearer token in the request's header
Parameter
Type
Description
id/operatorId
integer
The ID of the operator
name
string
The operator's name
bundle
boolean
Indicates if the operator has any existing bundle plans
data
boolean
Indicates if the operator has any existing data plans.
pin
boolean
Indicates if the operator supports PIN transactions
supports
LocalAmounts
boolean
Indicates if the operator can make top-ups in local amounts
denominationType
string
Indicates if the operator makes top-ups through a fixed amount or a range of amounts. Options include FIXED
and RANGE
senderCurrencyCode
string
Indicates the currency code of the account where the top-up is being made from
senderCurrency
Symbol
string
Indicates the currency symbol of the account where the top-up is being made from
destinationCurrencyCode
string
Indicates the currency code of the mobile number where the top-up is being sent to
destinationCurrencySymbol
string
Indicates the currency symbol of the mobile number where the top-up is being sent to
commission
integer
Indicates if the operator offers a commission or discount
international
Discount
integer
Indicates if the operator offers a discount for top-ups made to foreign numbers
localDiscount
integer
Indicates if the operator offers a discount for top-ups made to local numbers
mostPopularAmount
integer
Indicates the amount that is often used to make a top-up
mostPopular
LocalAmount
integer
Indicates the amount that is often used to make a top-up locally
minAmount
integer
Indicates the minimum amount that can be used to make a top-up
maxAmount
integer
Indicates the maximum amount that can be used to make a top-up
localMinAmount
integer
Indicates the minimum amount that can be used to make a top-up locally
localMaxAmount
integer
Indicates the maximum amount that can be used to make a top-up locally
isoName
string
Indicates the country's ISO code
name
string
Indicates the country's name
rate
integer
Indicates the FX rate at which the top-up will be made
currencyCode
string
Indicates the code of the currency at which the top-up will be made
logoURLs
string
These are links to SVG images of the operator's logos
fixedAmounts
integer
Indicates the fixed amounts that a top-up can be made in with the operator
fixedAmounts
Description
string
Indicates the descriptions for the operator's fixed amounts
localFixedAmounts
integer
Indicates the local fixed amounts that a top-up can be made in with the operator
localFixed
AmountsDescription
string
Indicates the descriptions for the operator's local fixed amounts
suggestedAmounts
integer
Indicates the suggested amounts that can be used to make a top-up with the operator
suggested
AmountsMap
string
Indicates the suggested amounts that can be mapped through
promotions
string
Indicates the promotions currently offered by the operator
With the /operators/auto-detect/phone/{phone}/countries/{iso}
endpoint, a user can retrieve the operator details of a mobile number and the ISO code of the country where the mobile number is registered
GET
https://topups.reloadly.com/operators/auto-detect/phone/{phone}/countries/{countryisocode}
Reloadly has an open-source library used to format, parse, and validate the authenticity of an international phone number. You can check it out .
Do note that due to the regional differences across Indian operators, the Auto-detect endpoint is a PAID service for mobile numbers registered in India. This service costs 0.0013 USD per API call involving mobile numbers registered in India only. If you have any questions, you can always reach out to us via
countryIsoCode*
string
The ISO code of the country where the mobile number is registered
phone*
string
The mobile number whose operator is to be auto-detected
suggested AmountsMap
boolean
Indicates if the suggestedAmountsMap
field should be returned. Default value is false
suggested Amounts
boolean
Indicates if the suggestedAmounts
field should be returned. Default value is false
Authorization*
string
Your access token is required as a bearer token in the request's header
Parameter
Type
Description
id/operatorId
integer
This indicates the operator's ID
name
string
The operator's name
bundle
boolean
Indicates if the operator has any existing bundle plans
data
boolean
Indicates if the operator has any existing data plans
pin
boolean
Indicates if the operator supports PIN transactions
supportsLocal
Amounts
boolean
Indicates if the operator can make top-ups in local amounts
denominationType
string
Indicates if the operator makes top-ups through a fixed amount or a range of amounts. Options include FIXED
and RANGE
senderCurrencyCode
string
Indicates the currency code of the account where the top-up is being made from
senderCurrency
Symbol
string
Indicates the currency symbol of the account where the top-up is being made from
destination
CurrencyCode
string
Indicates the currency code of the mobile number where the top-up is being sent to
destination
CurrencySymbol
string
Indicates the currency symbol of the mobile number where the top-up is being sent to
commission
integer
Indicates if the operator offers a commission or discount
international
Discount
integer
Indicates if the operator offers a discount for top-ups made to foreign numbers
localDiscount
integer
Indicates if the operator offers a discount for top-ups made to local numbers
mostPopularAmount
integer
Indicates the amount that is often used to make a top-up
mostPopular
LocalAmount
integer
Indicates the amount that is often used to make a top-up locally
minAmount
integer
Indicates the minimum amount that can be used to make a top-up
maxAmount
integer
Indicates the maximum amount that can be used to make a top-up
localMinAmount
integer
Indicates the minimum amount that can be used to make a top-up locally
localMaxAmount
integer
Indicates the maximum amount that can be used to make a top-up locally
isoName
string
Indicates the country's ISO code
name
string
Indicates the country's name
rate
integer
Indicates the FX rate at which the top-up will be made
currencyCode
string
Indicates the code of the currency at which the top-up will be made
logoURLs
string
These are links to SVG images of the operator's logos
fixedAmounts
integer
Indicates the fixed amounts that a top-up can be made in with the operator
fixedAmounts
Description
string
Indicates the descriptions for the operator's fixed amounts
localFixedAmounts
integer
Indicates the local fixed amounts that a top-up can be made in with the operator
localFixedAmounts
Description
string
Indicates the descriptions for the operator's local fixed amounts
suggestedAmounts
integer
Indicates the suggested amounts that can be used to make a top-up with the operator
suggestedAmounts
Map
string
Indicates the suggested amounts that can be mapped through
promotions
string
Indicates the promotions currently offered by the operator
Using the /operators/countries/{countrycode}
endpoint, developers can retrieve an operator's details using the ISO code of the country where it is registered
GET
https://topups.reloadly.com/operators/countries/{countrycode}
countryCode*
string
The ISO code of the country where the operator is registered
suggested AmountsMap
boolean
Indicates if the suggestedAmountsMap
field should be returned. Default value is false
suggested Amounts
boolean
Indicates if the suggestedAmounts
field should be returned. Default value is false
includePin
boolean
Indicates if PIN details for the operator should be included in the API response. Default value is True
includeData
boolean
Indicates if any airtime or data plans being offered by the operator should be included in the API response. Default value is true
includesBundles
boolean
Indicates if any airtime and data bundles being offered by the operator should be included in the API response. Default value is true
Authorization*
string
Your access token is required as a bearer token in the request's header
Parameter
Type
Description
id/operatorId
integer
The ID of the operator
name
string
The operator's name
bundle
boolean
Indicates if the operator has any existing bundle plans
data
boolean
Indicates if the operator has any existing data plans.
pin
boolean
Indicates if the operator supports PIN transactions
supportsLocal
Amounts
boolean
Indicates if the operator can make top-ups in local amounts
denominationType
string
Indicates if the operator makes top-ups through a fixed amount or a range of amounts. Options include FIXED
and RANGE
senderCurrencyCode
string
Indicates the currency code of the account where the top-up is being made from
senderCurrency
Symbol
string
Indicates the currency symbol of the account where the top-up is being made from
destinationCurrencyCode
string
Indicates the currency code of the mobile number where the top-up is being sent to
destinationCurrencySymbol
string
Indicates the currency symbol of the mobile number where the top-up is being sent to
commission
integer
Indicates if the operator offers a commission or discount
international
Discount
integer
Indicates if the operator offers a discount for top-ups made to foreign numbers
localDiscount
integer
Indicates if the operator offers a discount for top-ups made to local numbers
mostPopularAmount
integer
Indicates the amount that is often used to make a top-up
mostPopular
LocalAmount
integer
Indicates the amount that is often used to make a top-up locally
minAmount
integer
Indicates the minimum amount that can be used to make a top-up
maxAmount
integer
Indicates the maximum amount that can be used to make a top-up
localMinAmount
integer
Indicates the minimum amount that can be used to make a top-up locally
localMaxAmount
integer
Indicates the maximum amount that can be used to make a top-up locally
isoName
string
Indicates the country's ISO code
name
string
Indicates the country's name
rate
integer
Indicates the FX rate at which the top-up will be made
currencyCode
string
Indicates the code of the currency at which the top-up will be made
logoURLs
string
These are links to SVG images of the operator's logos
fixedAmounts
integer
Indicates the fixed amounts that a top-up can be made in with the operator
fixedAmounts
Description
string
Indicates the descriptions for the operator's fixed amounts
localFixedAmounts
integer
Indicates the local fixed amounts that a top-up can be made in with the operator
localFixedAmounts
Description
string
Indicates the descriptions for the operator's local fixed amounts
suggestedAmounts
integer
Indicates the suggested amounts that can be used to make a top-up with the operator
suggested
AmountsMap
string
Indicates the suggested amounts that can be mapped through
promotions
string
Indicates the promotions currently offered by the operator
Parameter
Type
Description
geographical
RechargePlans
object
Indicates an object that contains the details of each geographical plan owned by the operator within a country
locationCode
string
This is an abbreviation for the geographical location that has a different recharge plan. Examples include “AP” for “Andhra Pradesh” or “DEL” for “Delhi”
locationName
string
This is the name of a geographical location that has a different recharge plan
fixedAmounts
integer
Indicates the fixed amounts that a top-up can be made in with the operator
localAmounts
integer
Indicates the local amounts that a top-up can be made in with the operator
fixedAmounts
PlanNames
string
Indicates the plan name (top-up, data, or bundle) for each fixed amount provided by the operator
fixedAmounts
Descriptions
string
Indicates the plan description (top-up, data, or bundle) for each fixed amount provided by the operator
localFixedAmounts
PlanNames
string
Indicates the plan name (top-up, data, or bundle) for each local fixed amount provided by the operator
localFixedAmounts
PlanDescriptions
string
Indicates the plan description (top-up, data, or bundle) for each local fixed amount provided by the operator
With the /account/balance
endpoint, you can retrieve the balance of your account in real-time
GET
https://topups.reloadly.com/accounts/balance
Authorization
string
Your access token is required as a bearer token in the request's header
Parameter
Type
Description
balance
number
This indicates the current account balance
currencyCode
string
This indicates the account's currency code
currencyName
string
This indicates the account's currency name
updatedAt
string
This indicates the last time a top-up was made from the account
With the /operators/{operatorid}
endpoint, a user can fetch details of an operator by making a request with the operator's ID
GET
https://topups.reloadly.com/operators/{operatorid}
operatorId*
integer
This indicates the operator's ID
supports Geographical RechargePlans
boolean
Indicates if the supportsGeograhicalRechargePlans
field should be returned. Default value is false
suggested AmountsMap
boolean
Indicates if the suggestedAmountsMap
field should be returned. Default value is false
suggested Amounts
boolean
Indicates if the suggestedAmounts
field should be returned. Default value is false
Authorization*
string
Your access token is required as a bearer token in the request's header
Parameter
Type
Description
id/operatorId
integer
This indicates the operator's ID
name
string
This indicates the operator's name
bundle
boolean
Indicates if the operator has any existing bundle plans
data
boolean
Indicates if the operator has any existing data plans
pin
boolean
Indicates if the operator supports PIN transactions
supports
LocalAmounts
boolean
Indicates if the operator can make top-ups in local amounts
denominationType
string
Indicates if the operator makes top-ups through a fixed amount or a range of amounts. Options include FIXED
and RANGE
senderCurrencyCode
string
Indicates the currency code of the account where the top-up is being made from
senderCurrency
Symbol
string
Indicates the currency symbol of the account where the top-up is being made from
destination
CurrencyCode
string
Indicates the currency code of the mobile number where the top-up is being sent to
destination
CurrencySymbol
string
Indicates the currency symbol of the mobile number where the top-up is being sent to
commission
integer
Indicates if the operator offers a commission or discount
international
Discount
integer
Indicates if the operator offers a discount for top-ups made to foreign numbers
localDiscount
integer
Indicates if the operator offers a discount for top-ups made to local numbers
mostPopularAmount
integer
Indicates the amount that is often used to make a top-up
mostPopular
LocalAmount
integer
Indicates the amount that is often used to make a top-up locally
minAmount
integer
Indicates the minimum amount that can be used to make a top-up
maxAmount
integer
Indicates the maximum amount that can be used to make a top-up
localMinAmount
integer
Indicates the minimum amount that can be used to make a top-up locally
localMaxAmount
integer
Indicates the maximum amount that can be used to make a top-up locally
isoName
string
Indicates the country's ISO code
name
string
Indicates the country's name
rate
integer
Indicates the FX rate at which the top-up will be made
currencyCode
string
Indicates the code of the currency at which the top-up will be made
logoURLs
string
These are links to SVG images of the operator's logos
fixedAmounts
integer
Indicates the fixed amounts that a top-up can be made in with the operator
fixedAmounts
Description
string
Indicates the descriptions for the operator's fixed amounts
localFixedAmounts
integer
Indicates the local fixed amounts that a top-up can be made in with the operator
localFixed
AmountsDescription
string
Indicates the descriptions for the operator's local fixed amounts
suggestedAmounts
integer
Indicates the suggested amounts that can be used to make a top-up with the operator
suggested
AmountsMap
string
Indicates the suggested amounts that can be mapped through
promotions
string
Indicates the promotions currently offered by the operator
Parameter
Type
Description
geographical
RechargePlans
object
Indicates an object that contains the details of each geographical plan owned by the operator within a country
locationCode
string
This is an abbreviation for the geographical location that has a different recharge plan. Examples include “AP” for “Andhra Pradesh” or “DEL” for “Delhi”
locationName
string
This is the name of a geographical location that has a different recharge plan
fixedAmounts
integer
Indicates the fixed amounts that a top-up can be made in with the operator
localAmounts
integer
Indicates the local amounts that a top-up can be made in with the operator
fixedAmounts
PlanNames
string
Indicates the plan name (top-up, data, or bundle) for each fixed amount provided by the operator
fixedAmounts
Descriptions
string
Indicates the plan description (top-up, data, or bundle) for each fixed amount provided by the operator
localFixedAmounts
PlanNames
string
Indicates the plan name (top-up, data, or bundle) for each local fixed amount provided by the operator
localFixedAmounts
PlanDescriptions
string
Indicates the plan description (top-up, data, or bundle) for each local fixed amount provided by the operator
With the /operators/{operatorid}/commissions
endpoint, you can retrieve the details of an active discount being carried out by an operator by making a request with the operator's ID
GET
https://topups.reloadly.com/operators/{operatorid}/commissions
operatorId*
integer
The ID of the operator whose discount information is being retrieved
Authorization*
string
Your access token is required as a bearer token in the request's header
Parameter
Type
Description
percentage
integer
Indicates the percentage discount for every top-up
international
Percentage
integer
Indicates the percentage discount for international top-ups
localPercentage
integer
Indicates the percentage discount for local top-ups
updatedAt
integer
Indicates the time the discount was first created by the operator
operatorId
string
Indicates the operator's ID
name
string
Indicates the operator's name
countryCode
string
Indicates the ISO code of the country where the operator is registered
data
boolean
Indicates if the operator has any existing data discounts
bundle
boolean
Indicates if the operator has any existing bundle discounts
status
boolean
Indicates if the operator has any existing discounts
Authorization*
string
Your access token is required as a bearer token in the request's header
operatorId*
integer
The ID of the receiving mobile number's operator
amount*
integer
The top-up amount being sent to the receiving mobile number
Parameter
Type
Description
id
integer
Indicates the ID of the operator
name
string
Indicates the operator's name
fxRate
integer
Indicates the exchange rate of the operator's currency to your account's currency. For example, if your account is in Indian Rupees( INR ) and you are making a top-up to a number registered to Natcom Haiti
, the exchange rate returned will be 1.16 ( 1 INR = 1.16 HTG )
currencyCode
string
Indicates the currency symbol of the country where the operator is registered
Using the /promotions/operators/{operatorid}
endpoint, you can get the details of every promotion on an operator
GET
https://topups.reloadly.com/promotions/operators/{operatorid}
operatorId
integer
The ID of the operator whose promotion information is being retrieved
Authorization
string
Your access token is required as a bearer token in the request's header
Parameter
Type
Description
promotionId
integer
The promotion ID. This is a unique identifier for the ongoing promotion
operatorId
integer
Indicates the ID of the operator offering the promotion
title1
string
Indicates the duration of the promotion and the name of the operator offering it
title2
string
Indicates additional information on the promotion
description
string
Indicates a summary of what the promotion is about
startDate
string
The date the promotion begins
endDate
string
The date the promotion ends
denominations
string
Indicates the top-up amounts that are eligible for the promotion
localDenominations
string
Indicates the local top-up amounts in the destination's currency that are eligible for the promotion
With the /promotions/country-codes/{countrycode}
endpoint, you can retrieve the promotions going on in a country by using its ISO code
GET
https://topups.reloadly.com/promotions/country-codes/{countrycode}
countryCode
string
Indicates the ISO code of the country whose promotions need to be retrieved
Authorization
string
Your access token is required as a bearer token in the request's header
Parameter
Type
Description
promotionId
integer
The promotion ID. This is a unique identifier for the ongoing promotion
operatorId
integer
Indicates the ID of the operator offering the promotion
title1
string
Indicates the duration of the promotion and the name of the operator offering it
title2
string
Indicates additional information on the promotion
description
string
This indicates a summary of what the promotion is about
startDate
string
The date the promotion begins
endDate
string
The date the promotion ends
denominations
string
Indicates the top-up amounts that are eligible for the promotion
localDenominations
string
Indicates the local top-up amounts in the destination's currency that are eligible for the promotion
Using the /promotions
endpoint, you can get information on every operator running an active promotion on any of their products — airtime or data
GET
https://topups.reloadly.com/promotions
size
integer
The number of operators offering discounts to be retrieved on a page. Default value is 200
page
integer
The page of the list of operators offering promotions. Default value is 1
Authorization*
string
Your access token is required as a bearer token in the request's header
Parameter
Type
Description
promotionId
integer
This is a unique identifier for the ongoing promotion
operatorId
integer
Indicates the ID of the operator offering the promotion
title1
string
Indicates the duration of the promotion and the name of the operator offering it
title2
string
Indicates additional information on the promotion
description
string
This indicates a summary of what the promotion is about
startDate
string
The date the promotion begins
endDate
string
The date the promotion ends
denominations
string
Indicates the top-up amounts that are eligible for the promotion
localDenominations
string
Indicates the local top-up amounts in the destination's currency that are eligible for the promotion
With the /operators/commissions
endpoint, developers can get a list of all operators who are running active discounts on top-ups
GET
https://topups.reloadly.com/operators/commissions
size
integer
The number of operators offering discounts to be retrieved on a page. Default value is 200
page
integer
The page of the list of operators offering discounts. Default value is 1
Authorization*
string
Your access token is required as a bearer token in the request's header
Parameter
Type
Description
percentage
integer
Indicates the percentage discount for every top-up
international
Percentage
integer
Indicates the percentage discount for international top-ups
localPercentage
integer
Indicates the percentage discount for local top-ups
updatedAt
integer
Indicates the time the discount was first created by the operator
operatorId
string
Indicates the operator's ID
name
string
Indicates the operator's name
countryCode
string
Indicates the ISO code of the country where the operator is registered
data
boolean
Indicates if the operator has any existing data discounts
bundle
boolean
Indicates if the operator has any existing bundle discounts
status
boolean
Indicates if the operator has any existing discounts
Using the /topups/reports/transactions
endpoint, developers can get information on every top-up transaction made on a Reloadly account
GET
https://topups.reloadly.com/topups/reports/transactions
page
integer
The page of the operator list being retrieved. Default is 1
size
integer
The number of transactions to be retrieved on a page. Default is 100
countryCode
string
Indicates the ISO code of the country where the operator is registered
customIdentifier
string
The unique reference assigned to the transaction
startDate
string
Indicates the beginning of the timeframe range for the transactions to be searched for. Format is YYYY-MM-DD HH:mm:ss
endDate
string
Indicates the end of the timeframe range for the transactions to be searched for Format is YYYY-MM-DD HH:mm:ss
operatorId
string
Indicates the ID of the operator whose transaction history is being searched for
operatorName
string
Indicates the name of the operator whose transaction history is being searched for
Authorization*
string
Your access token is required as a bearer token in the request's header
Parameter
Type
Description
transactionId
integer
Indicates the unique ID of a top-up
status
string
Indicates the status of a transaction.
operator
TransactionId
string
Indicates the transaction ID assigned by the operator of the receiving mobile number
customIdentifier
string
This is the top-up's reference that is to be assigned by the sender
senderPhone
string
This indicates the sender's mobile number
countryCode
string
Indicates the ISO code of the country where the operator is registered
operatorId
integer
The ID of the receiving mobile number's operator
operatorName
string
The name of the receiving mobile number's operator
requestedAmount
integer
Indicates the top-up amount sent by the originating account
discount
integer
Indicates if there was a discount on the top-up made and at what rate
discountCurrency
Code
string
Indicates the currency code of the receiving mobile number
requestedAmount
CurrencyCode
string
Indicates the currency code of the originating account
deliveredAmount
integer
Indicates the top-up amount received by the receiving mobile number
deliveredAmount
CurrencyCode
string
Indicates the currency in which the top-up was delivered
transactionDate
string
Indicates the date and time the top-up was made
pinDetail
object
This contains information on how to process the PIN on the physical SIM. Note that this is only for operators that support PIN Top-up.
balanceInfo
object
Contains information of the top-up sender's account balance.
oldBalance
integer
Indicates the balance of the sender's account before the top-up was made
newBalance
integer
Indicates the balance of the sender's account after the top-up was made
cost
integer
Indicates the amount deducted from your account for the top-up.
currencyCode
string
Indicates the currency code of the sender's account
currencyName
string
Indicates the currency denomination of the sender's account
updatedAt
string
Indicates the time the account's balance was updated to reflect the last top-up made
With the /promotions/{promotionid}
endpoint, you can fetch the details of a promotion by making a request with its ID
GET
https://topups.reloadly.com/promotions/{promotionid}
promotionId
integer
The promotion's ID
Authorization
string
Your access token is required as a bearer token in the request's header
Parameter
Type
Description
promotionId
integer
The promotion ID. This is a unique identifier for the ongoing promotion
operatorId
integer
Indicates the ID of the operator offering the promotion
title1
string
Indicates the duration of the promotion and the name of the operator offering it
title2
string
Indicates additional information on the promotion
description
string
This indicates a summary of what the promotion is about
startDate
string
The date the promotion begins
endDate
string
The date the promotion ends
denominations
string
Indicates the top-up amounts that are eligible for the promotion
localDenominations
string
Indicates the local top-up amounts in the destination's currency that are eligible for the promotion
With the topups/reports/transactions/{transactionid}
endpoint, you can retrieve information on a top-up transaction by making a request with the transaction's ID
GET
https://topups.reloadly.com/topups/reports/transactions/{transactionid}
transactionId*
integer
The ID of the transaction to be retrieved
Authorization*
string
Your access token is required as a bearer token in the request's header
Parameter
Type
Description
transactionId
integer
Indicates the unique ID of a top-up
status
string
Indicates the status of a transaction.
operator
TransactionId
string
Indicates the transaction ID assigned by the operator of the receiving mobile number
customIdentifier
string
This is the top-up's reference that is to be assigned by the sender
senderPhone
string
This indicates the sender's mobile number
countryCode
string
Indicates the ISO code of the country where the operator is registered
operatorId
integer
The ID of the receiving mobile number's operator
operatorName
string
The name of the receiving mobile number's operator
requestedAmount
integer
Indicates the top-up amount sent by the originating account
discount
integer
Indicates if there was a discount on the top-up made and at what rate
discountCurrency
Code
string
Indicates the currency code of the receiving mobile number
requestedAmount
CurrencyCode
string
Indicates the currency code of the originating account
deliveredAmount
integer
Indicates the top-up amount received by the receiving mobile number
deliveredAmount
CurrencyCode
string
Indicates the currency in which the top-up was delivered
transactionDate
string
Indicates the date and time the top-up was made
pinDetail
object
This contains information on how to process the PIN on the physical SIM. Note that this is only for operators that support PIN Top-up.
balanceInfo
object
Balance information before and after the top-up
With the /{{transactionId}}/status
endpoint, the status of a top-up can be determined in real-time
GET
https://topups.reloadly.com/topups/{{transactionId}}/status
transactionId*
integer
Indicates the transaction ID retrieved from an asynchronous top-up request
Authorization*
string
Your access token is required as a bearer token in the request's header
Parameter
Type
Description
transactionId
integer
Indicates the unique ID of a top-up
status
string
Indicates the status of a top-up.
Note:
SUCCESSFUL
: This applies when the top up is successfully made.
PROCESSING
: This applies while the top up is still being verified from the operator's end.
REFUNDED
: This applies once the top up is not processed successfully from the airtime operator's end. In this instance, any funds debited from a user's wallet while attempting to make the top-up are automatically refunded.
FAILED:
This applies when the top-up attempt fails due to an internal error from the operator's end. In this instance, you should wait 30 minutes before reinitiating the top-up. Funds are not debited for a failed top-up attempt.
operator
TransactionId
string
Indicates the transaction ID assigned by the operator of the receiving mobile number
customIdentifier
string
This is the top-up's reference that is to be assigned by the sender
recipientPhone
string
This indicates the top-up receiver's mobile number
recipientEmail
string
This indicates the top-up receiver's email (only applicable to Nauta Cuba top-ups)
senderPhone
string
This indicates the sender's mobile number
countryCode
string
Indicates the ISO code of the country where the operator is registered.
operatorId
integer
The ID of the receiving mobile number's operator
operatorName
string
The name of the receiving mobile number's operator
discount
integer
Indicates if there was a discount on the top-up made and at what rate
discountCurrency
Code
string
Indicates the currency code of the receiving mobile number
requestedAmount
integer
Indicates the top-up amount sent by the originating account
requestedAmount
CurrencyCode
string
Indicates the currency code of the originating account
deliveredAmount
integer
Indicates the top-up amount received by the receiving mobile number
deliveredAmount
CurrencyCode
string
Indicates the currency in which the top-up was delivered
transactionDate
string
Indicates the date and time the top-up was made
pinDetail
object
This contains information on how to process the PIN on the physical SIM. Note that this is only for operators that support PIN Top-up
serial
string
Indicates the serial code of the PIN top-up
info
string
Indicates information on how to utilize the top-up
value
string
Indicates additional information on the PIN
code
string
Indicates the code that is to be used to activate the top-up
ivr
string
Indicates the number to call for an interactive voice response
validity
string
Indicates the validity of the PIN
balanceInfo
object
Contains information of the top-up sender's account balance
oldBalance
integer
Indicates the balance of the sender's account before the top-up was made
newBalance
integer
Indicates the balance of the sender's account after the top-up was made
cost
integer
Indicates the amount deducted from your account for the top-up.
currencyCode
string
Indicates the currency code of the sender's account
currencyName
string
Indcates the currency denomination of the sender's account
updatedAt
string
Indicates the time the account's balance was updated to reflect the last top-up made
Using the /topup-async
endpoint, developers have a faster way to view the status of every top-up that they make in real-time
For every asynchronous top-up that is made, a transaction ID is the only parameter returned as a response. This transaction ID can be used to confirm if the top-up request is successful, still processing, or failed
POST
https://topups.reloadly.com/topups-async
Authorization*
string
Your access token is required as a bearer token in the request's header
operatorId*
integer
Indicates the operator's ID
amount*
integer
Indicates the amount of airtime or data that is to be recharged
useLocalAmount
boolean
Indicates if the recharge is to be made in the operator's local currency. Default is false
. This option is only available for operators that support local top-ups
customIdentifier
string
Indicates the transaction reference of the recharge Note: Each transaction reference is to be unique. Once a reference has been used for a top-up transaction, it cannot be reused.
recipientEmail
string
This is the recipient's email address. It is required when the operator is Nauta Cuba
It supports only two email domains:
1. @nauta.com.cu
2. @nauta.co.cu
receiverPhone*
object
Indicates an object containing the receiver's country code and mobile number
senderPhone*
object
Indicates an object containing the sender's country code and mobile number
countryCode*
string
Indicates the ISO code of the receiver's or sender's country. For top-up senders, this parameter is optional
number*
string
Indicates the mobile number of the top-up receiver or sender. For top-up senders, this parameter is optional
Parameter
Type
Description
transactionId
integer
Indicates the unique ID of an asynchronous top-up which is used to confirm its status
Here is a comprehensive breakdown of all client and server-side errors that can occur during usage of the Airtime API.
Error Code
Description
COUNTRY_NOT_SUPPORTED
The specified country in the request is currently disabled or not supported.
OPERATOR_UNAVAILABLE_OR_
CURRENTLY INACTIVE
The specified operator is currently disabled or inactive on the platform.
COULD_NOT_AUTO_DETECT_OPERATOR
INVALID_AMOUNT_FOR_OPERATOR
The specified top-up amount is not valid for the given operator in the request.
TOKEN_EXPIRED
Access tokens have a finite lifetime which is indicated whenever they are issued.
To track an access token's lifetime, you can either:
Keep track of the expires_in
value in the response gotten when a request is made for an access token. The value is expressed in seconds.
Handle the HTTP 401 Unauthorized
status code and the TOKEN_EXPIRED
error code in the error response message. The API endpoint issues this status code when it detects an expired token.
INSUFFICIENT_BALANCE
The user's account balance is not sufficient enough to carry out their intended request.
MAX_DAILY_TRANSACTION_AMOUNT_
REACHED
MAX_DAILY_TRANSACTION_COUNT_
REACHED
ACCOUNT_NOT_FOUND
INVALID_AMOUNT
The amount requested by the user is incorrect — either a wrong data type or an invalid amount specification (for operators with fixed ranges).
INVALID_RECIPIENT_PHONE
The specified recipientPhone
parameter in the request is not valid for the specified country.
INVALID_SENDER_PHONE
The specified senderPhone
parameter in the request is not valid for the specified country.
INVALID_PHONE_NUMBER
The specified phone number is not valid.
PHONE_RECENTLY_RECHARGED
A second recharge was attempted on a mobile number before the default waiting time of two minutes could elapse.
INACTIVE_ACCOUNT
TOPUP_TRANSACTION_FAILED
TRANSACTION_CANNOT_BE_PROCESSED_AT_THE_MOMENT
OPERATOR_NOT_IN_SERVICE
The specified operator in the request is currently disabled, inactive, or not in service on the platform.
With the /topups
endpoint, developers can make an airtime recharge to any mobile number within the operators covered by Reloadly
POST
https://topups.reloadly.com/topups
Authorization*
string
Your access token is required as a bearer token in the request's header
operatorId*
integer
Indicates the operator's ID
amount*
integer
Indicates the amount of airtime or data that is to be recharged
useLocalAmount
boolean
Indicates if the recharge is to be made in the operator's local currency. Default is false
.
customIdentifier
string
Indicates the transaction reference of the recharge. Note: Each transaction reference is to be unique. Once a reference has been used for a top-up transaction, it cannot be reused.
recipientEmail
string
This is the recipient's email address. It is required when the operator is Nauta Cuba
. It supports only two email domains:
1. @nauta.com.cu
2. @nauta.co.cu
recipientPhone*
object
Indicates an object containing the receiver's country code and mobile number
senderPhone
object
Indicates an object containing the sender's country code and mobile number
countryCode*
string
Indicates the ISO code of the receiver's or sender's country
number*
string
Indicates the mobile number of the top-up receiver or sender
Parameter
Type
Description
transactionId
integer
Indicates the unique ID of a top-up
status
string
Indicates the status of a top-up.
Note:
SUCCESSFUL:
This applies when the top up is successfully made.
PROCESSING:
This applies while the top up is still being verified from the operator's end.
REFUNDED:
This applies once the top up is not processed successfully from the airtime operator's end. In this instance, any funds debited from a user's wallet while attempting to make the top-up are automatically refunded.
operator
TransactionId
string
Indicates the transaction ID assigned by the operator of the receiving mobile number
customIdentifier
string
This is the top-up's reference that is to be assigned by the sender
recipientPhone
string
This indicates the top-up receiver's mobile number
recipientEmail
string
This indicates the top-up receiver's email (only applicable to Nauta Cuba top-ups)
senderPhone
string
This indicates the sender's mobile number
countryCode
string
Indicates the ISO code of the country where the operator is registered
operatorId
integer
The ID of the receiving mobile number's operator
operatorName
string
The name of the receiving mobile number's operator
discount
integer
Indicates if there was a discount on the top-up made and at what rate
discountCurrency
Code
string
Indicates the currency code of the receiving mobile number
requestedAmount
integer
Indicates the top-up amount sent by the originating account
requestedAmount
CurrencyCode
string
Indicates the currency code of the originating account
deliveredAmount
integer
Indicates the top-up amount received by the receiving mobile number
deliveredAmount
CurrencyCode
string
Indicates the currency in which the top-up was delivered
transactionDate
string
Indicates the date and time the top-up was made
pinDetail
object
This contains information on how to process the PIN on the physical SIM. Note that this is only for operators that support PIN Top-up
serial
string
Indicates the serial code of the PIN top-up
info
string
Indicates information on how to utilize the top-up
value
string
Indicates additional information on the PIN
code
string
Indicates the code that is to be used to activate the top-up
ivr
string
Indicates the number to call for an interactive voice response
validity
string
Indicates the validity of the PIN
balanceInfo
object
Contains information of the top-up sender's account balance
oldBalance
integer
Indicates the balance of the sender's account before the top-up was made
newBalance
integer
Indicates the balance of the sender's account after the top-up was made
cost
integer
Indicates the amount deducted from your account for the top-up.
currencyCode
string
Indicates the currency code of the sender's account
currencyName
string
Indicates the currency denomination of the sender's account
updatedAt
string
Indicates the time the account's balance was updated to reflect the last top-up made
The mobile number's operator could not be auto-detected. This can be resolved by using the
The user's account has hit its maximum allowed transaction amount limit for the day. This can be increased by contacting.
The user's account has hit its maximum allowed transaction count limit for the day. This can be increased by contacting.
The user's account does not exist. This can be resolved by contacting .
The user's account has been deactivated due to suspicious activity. If you receive this message, do reach out to our team.
The attempt to carry out a function via the API is unsuccessful. If you receive this error, contact for more details.
The attempt to carry out a function via the API is unsuccessful. If you receive this error, contact for more details.