Data Purchase
Use this endpoint to purchase DATA for MTN, GLO, 9MOBILE, AIRTEL
Endpoint
METHOD POST
https://www.gosmat.com/portal/api/data/
Headers
'Content-Type: application/json'
"Authorization: API KEY"
Request Body
{
"network": NetworkID,
"mobile_number": phone,
"Ported_number": true,
"request-id": refNumber,
"plan": "planId"
}
Response
{
status": "success", "Status": "successful", "true_response": "MTN SME 1gb for 08122222222.
Response: Dear Customer, You have successfully shared 1gb Data to 23678904556666. Your SME
data balance is 30424.1357GB expires 04/9/2025. Thank you."
}