Integrating Data Subscription API


This section contains the recommended flow for integrating Data Subscription services on the Dailyearnpro RESTful API.


DATA SUBSCRIPTION BASE URL

Make HTTP GET request to this endpoint e.g

FOR MTN SME

https://dailyearnpro.com/api/mtn?apiToken=TOKEN&network=MTN&network_code=1000&mobile=MOBILE_NO&ref=REFERENCE

FOR MTN CG

https://dailyearnpro.com/api/gifting?apiToken=TOKEN&network=GIFTING&network_code=1000&mobile=MOBILE_NO&ref=REFERENCE

FOR GLO

https://dailyearnpro.com/api/glo?apiToken=TOKEN&network=GLO&network_code=301&mobile=MOBILE_NO&ref=REFERENCE

FOR GLO CG

https://dailyearnpro.com/api/glo_cg?apiToken=TOKEN&network=GLO&network_code=701&mobile=MOBILE_NO&ref=REFERENCE

FOR AIRTEL

https://dailyearnpro.com/api/airtel?apiToken=TOKEN&network=AIRTEL&network_code=501&mobile=MOBILE_NO&ref=REFERENCE

FOR AIRTEL CG

https://dailyearnpro.com/api/airtel_cg?apiToken=TOKEN&network=AIRTEL-CG&network_code=601&mobile=MOBILE_NO&ref=REFERENCE

FOR 9MOBILE

https://dailyearnpro.com/api/9mobile?apiToken=TOKEN&network=9MOBILE&network_code=401&mobile=MOBILE_NO&ref=REFERENCE


Required Parameters

token : This is the generated TOKEN on Dailyearnpro dashboard.

network : This is the services you are paying for e.g mtn, glo, airtel, etisalat.

mobile : This is the phone number of the recipient.

network_code : This is the plan code to identify data vol.

ref : This is a unique reference generate for each transaction.

API Response

On a successful data transaction, you get a json response e.g:

{code:200, status:success, desc:MTN 2gb purchase successfully on 080312345678}



Technical Assistance

We offer integration support through multiple channels.

You can reach us through email [email protected] or message us on whatsapp 2347064356372