Get transaction by ID
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
Transaction by ID
GET
https://topups.reloadly.com/topups/reports/transactions/{transactionid}
Path Parameters
transactionId*
integer
The ID of the transaction to be retrieved
Headers
Authorization*
string
Your access token is required as a bearer token in the request's header
{
"transactionId": 27623,
"status": "SUCCESSFUL",
"operatorTransactionId": null,
"customIdentifier": null,
"recipientPhone": "2348147658720",
"recipientEmail": null,
"senderPhone": "2341231231231",
"countryCode": "NG",
"operatorId": 341,
"operatorName": "MTN Nigeria",
"discount": 0,
"discountCurrencyCode": "NGN",
"requestedAmount": 100,
"requestedAmountCurrencyCode": "NGN",
"deliveredAmount": 100,
"deliveredAmountCurrencyCode": "NGN",
"transactionDate": "2022-02-21 04:19:26",
"pinDetail": null,
"balanceInfo": {
"oldBalance": 969849.49,
"newBalance": 969749.49,
"cost": 100,
"currencyCode": "NGN",
"currencyName": "Nigerian Naira",
"updatedAt": "2022-02-21 09:19:26"
}
}
Request samples
curl --location --request GET 'https://topups.reloadly.com/topups/reports/transactions/1' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN_HERE' \
--header 'Accept: application/com.reloadly.topups-v1+json'
Response parameters
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
Last updated
Was this helpful?