Introduction

This page contains guide for all airtime on bsmconnekt.com.

Get Network Codes

Send a GET request to the endpoint below to access the available network.

bsmconnekt.com/api/plans?id=network

REQUEST TYPE -- GET

Get Airtime Discount

Send a GET request to the endpoint below to access the airtime discount and airtime type.

bsmconnekt.com/api/plans?id=airtime

REQUEST TYPE -- GET

Buy Airtime

Send a post request to the below endpoint.

bsmconnekt.com/api/airtime
Body
{
"network": 1,
"amount": 100,
"type": VTU,
"mobile_number": 080********,
}

Note: The body fields should not be blank.

Expected response:

{"response": {
"code":200,"status":"successful",
"message":"Transaction Successfully logged", "date_time":"Feb. 22, 2021, 10:48 am"},
"service":"MTN Airtime Topup",
"amount":"100",
"wallet_balance":4305,
"reference":"8655312058913967916664"
}

REQUEST TYPE -- POST