Bills — Airtime
Airtime Topup
POST
https://backendapi.sayswitchgroup.com/api/v1/airtime/topupThe Airtime Top-Up API allows you to integrate airtime recharge functionality into your applications. It enables users to automatically send mobile airtime to a specified phone number across supported
Sample cURL Request
cURL
curl -X POST https://backendapi.sayswitchgroup.com/api/v1/airtime/topup \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_SECRET_KEY" \
-d '{
"network": "mtn",
"phone": "08012345678",
"amount": "100"
}'Sample Response
JSON
{
"success": true,
"code": "00000",
"message": "SUCCESSFUL",
"data": {
"orderNo": "17484753663740358984353674",
"reference": "2022009802414346",
"status": "delivered",
"errorMsg": "TRANSACTION SUCCESSFUL"
}
}