Introduction

This page contains guide for all data plans 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 Data Plan

Send a GET request to the endpoint below to access the available data plans.

bsmconnekt.com/api/plans?id=data

REQUEST TYPE -- GET

Buy Data

Send a post request to the below endpoint.

bsmconnekt.com/api/data
Body
{
"network": 1,
"plan": 7,
"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:25 am"},
"service":"Data Topup","plan":"1 GB - 1 Month Validity",
"type":"SME","amount":"300",
"wallet_balance":300,
"reference":"5094971203053185132"
}

REQUEST TYPE -- POST