Introduction
This page contains guide to buy data on Fire Data .
Buy Data
Send a post request to the below endpoint, You can use the PHP integration code below....
curl --request POST 'https://firedata.com.ng/api/data' \
--header 'Authorization: Token YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data-raw '{
"serviceID" : "100",
"mobileNumber" : "0903837261"
}'
Sample Response
{
"status": "success",
"message": "Data purchase successful"",
"data": {
"type": "data",
"reference": "hdu7gy6slog9sd",
"amount": 1000,
"dataPlan": "5GB",
"reference": "21ir7nyhgz5wc5rpirko",
"dataType": "SME",
"network": "MTN",
"status": "success"
}
}