Make a top-up
With the /topups
endpoint, developers can make an airtime recharge to any mobile number within the operators covered by Reloadly
Top-up
POST
https://topups.reloadly.com/topups
Headers
Authorization*
string
Your access token is required as a bearer token in the request's header
Request Body
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
Request samples
Request samples for Nauta Cuba top-ups
Response parameters
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
Last updated
Was this helpful?