Public
Documentation Settings

DGCRECHARGE APIs

DGCRecharge API collection. Vend Airtime, data bundle, subscribe cable bills, electricity, WAEC, etc

Need to integrate any of the services we provide into your applications? Access the tools and resources you need to offer services similar to our platform.
Kindly access your profile setting page on https://www.dgcrecharge.com to get the API Key which is your token.

If you will be needing technical support to integrate the API or more requests, kindly use the Contact form sending us a mail in respect to your request or you can call us or Whatsapp us too.

Please take note that the BASE_URL is https://www.dgcrecharge.com/api

Be conscious of the Token(API Key), replace it with the token(API Key) you got from your profile page

Response code and message in response body

All errors are self-explanatory

Please if you have any challenge/suggestion with the API kindly send us a mail, call us or Whatsapp us.

Airtime

To vend for airtime, you need to fetch network_id.

Then you use the network_id with the amount of airtime you wished to purchase and the phone number. Please specify if the number is ported

GETGET Airtime Networks

https://dgcrecharge.com/api/airtime

To vend for airtime, you need to fetch network_id.

AUTHORIZATIONBearer Token
Token

<token>

Example Request
curl
curl --location 'https://dgcrecharge.com/api/airtime'
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers

POSTAirtime Purchase

https://dgcrecharge.com/api/airtime

Use the network_id gotten from above with the amount of airtime you wished to purchase and the phone numbers(Separate the numbers by , if phone number is more than one). Please specify if the number is ported

if number(s) is/are ported use true else use false {boolean}

AUTHORIZATIONBearer Token
Token

<token>

Bodyformdata
amount

300

network

2

recipent

080*********

ported

false

Example Request
curl
curl --location 'https://dgcrecharge.com/api/airtime' \
--form 'amount="300"' \
--form 'network="2"' \
--form 'recipent="080*********"' \
--form 'ported="false"'
Example Response
No response body
This request doesn't return any response body
No response headers
This request doesn't return any response headers