Topup Status
Retrieve the current status and details of a specific topup transaction.
Topup Status
Get the current status and full details of a specific topup transaction by its ID.
POST /v2/topups already returns the final result, so you don't need to poll after a successful call. Use this endpoint to re-check a transaction later, for example when reconciling or when a recipient queries a delivery. If you don't have the id (for example, your request timed out), search by your reference with GET /v2/topups?reference=....
GET /v2/topups/:id
Permission required: airtime.transactions.read
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The topup transaction ID (UUID) |
Example Request
curl -X GET "https://api.clickairtime.com/v2/topups/6683ace0-794c-48fe-936b-b0f543baa7af" \
-H "Authorization: Bearer ce_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"const topupId = '6683ace0-794c-48fe-936b-b0f543baa7af';
const response = await fetch(`https://api.clickairtime.com/v2/topups/${topupId}`, {
headers: {
'Authorization': 'Bearer ce_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
},
});
const data = await response.json();import requests
topup_id = '6683ace0-794c-48fe-936b-b0f543baa7af'
response = requests.get(
f'https://api.clickairtime.com/v2/topups/{topup_id}',
headers={
'Authorization': 'Bearer ce_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
}
)
data = response.json()Example Response
{
"success": true,
"data": {
"id": "6683ace0-794c-48fe-936b-b0f543baa7af",
"status": "completed",
"phone_number": "+233541112259",
"network": {
"id": 11,
"name": "MTN",
"country": "Ghana",
"country_code": "GH"
},
"amount": {
"value": 1,
"currency": "GHS"
},
"cost": {
"value": 0.0886,
"currency": "USD"
},
"wallet": {
"id": "094a21a0-ec42-4fbb-8a0c-97084de27b2c",
"type": "global",
"currency": "USD",
"strategy": "AUTO_PRIMARY"
},
"product_id": null,
"product_name": null,
"sms": {
"enabled": false,
"message": null
},
"reference": "invoice-12345",
"provider_reference": "7688491163",
"failure_reason": null,
"metadata": {
"customer_id": "cust_001"
},
"created_at": "2026-10-13T13:24:48.420Z",
"completed_at": "2026-10-13T13:24:49.592Z"
},
"meta": {
"request_id": "req_415053c37a25",
"timestamp": "2026-10-13T13:24:54.452Z"
}
}
Response Fields
| Field | Type | Description |
|---|---|---|
id | string | Unique transaction ID (UUID) |
status | string | Current status: pending, processing, completed, failed |
phone_number | string | Recipient phone number |
network | object | Network operator details (id, name, country, country_code) |
amount | object | null | What was delivered, in the destination's local currency (ISO code, e.g. GHS) |
cost | object | What was charged to your wallet after your rate and discount, in the wallet's currency (cost.currency, e.g. USD) |
wallet | object | null | The wallet that was debited. id matches an entry from GET /v2/balance. type is global (USD wallet) or local. strategy describes how the wallet was selected (e.g. AUTO_PRIMARY, USD_EXPLICIT_SELECTION, LOCAL_EXPLICIT_SELECTION). Older transactions created before this field was added return null. |
product_id | integer | null | Fixed bundle id (if a bundle was bought) |
product_name | string | null | Fixed bundle name (if applicable) |
sms | object | SMS notification settings |
reference | string | null | Your reference for this transaction |
provider_reference | string | null | The operator's reference / serial for the delivery. Quote it to the operator on disputes. |
failure_reason | string | null | Reason for failure (if status is failed) |
metadata | object | Custom metadata you attached |
created_at | string | ISO 8601 creation timestamp |
completed_at | string | null | ISO 8601 completion timestamp |
Errors
| Code | HTTP Status | When |
|---|---|---|
TRANSACTION_NOT_FOUND | 404 | No transaction with this ID exists for your company |
