Our API allows you to easily integrate bill payment services available on the aidpay.com.ng platform on your mobile or web application.
Base URL: https://aidpay.com.ng/api
Our API uses API Key for Authentication.
Please use the following details for authentication
Apikey = kDe5dbBw3AeyxnxFCCJA9c9Agl2kxxt8pCB174AC472r38BCM
API Key: Your Gateway API Key
Please create your API key here Create API Key
Endpoint URL: {{baseurl}}/airtime
Network: as specified in the parameters below;
PARAMETERS | Required/Optional | TYPE | DESCRIPTION |
apikey | R | String | The reseller gateway API key created at aidpay.com.ng . Example kDe5dbBw3AeyxnxFCCJA9c9Agl2kxxt8pCB174AC472r38BCM |
network | R | String | Network as specified. These includes, mtn, airtel, glo, etisalat |
phone | R | Number | The phone number to receive the airtime |
amount | R | Number | The amount you wish to recharge |
ref | R | String | This is a unique reference with which you can use to execute and query the transaction. |
EXPECTED RESPONSE
{"code":101,
"description":{"response_description":"TRANSACTION SUCCESSFUL",
"ref":"884666332234","amount":"100",
"transaction_date":"2020-04-17 07:04:19"
}}
The ePINs API uses API Key for Authentication.
Please use the following details for authentication
Apikey = kDe5dbBw3AeyxnxFCCJA9c9Agl2kxxt8pCB174AC472r38BCM
API Key: Your Gateway API Key
Please create your API key here Create API Key
Endpoint URL: {{baseurl}}/epin
Network: as specified in the parameters below;
PARAMETERS | Required/Optional | TYPE | DESCRIPTION | ||||||||||||||||
apikey | R | String | The reseller gateway API key created at aidpay.com.ng . Example kDe5dbBw3AeyxnxFCCJA9c9Agl2kxxt8pCB174AC472r38BCM | ||||||||||||||||
service | R | String | service name as specified. This should be, epin | ||||||||||||||||
network | R | String | Network as specified. These includes, mtn, airtel, glo, etisalat | ||||||||||||||||
pinDenomination | R | Number | The denomination of pin to generate. These includes,
|
||||||||||||||||
pinQuantity | R | Number | The number of pins to generate | ||||||||||||||||
ref | R | String | This is a unique reference with which you can use to execute and query the transaction. |
EXPECTED RESPONSE
{ "code":101, "description":{ "status":"TRANSACTION SUCCESSFUL", "PIN":"02357485946496925482100BC\r", "network":"mtn", "pinDenomination":"100", "pinQuantity":1, "product_name":"MTN ePIN 100", "TransactionDate":"2023-03-20 05:58:AM" } }
Endpoint URL: {{baseurl}}/datacard
Request Method: POST
Network: as specified in the parameters below;
Network |
Service variation |
MTN |
01 |
Airtel |
04 |
9Mobile |
03 |
Glo |
02 |
PARAMETERS | Required/Optional | TYPE | DESCRIPTION |
apikey | R | String | The reseller gateway API key created at aidpay.com.ng . Example kDe5dbBw3AeyxnxFCCJA9c9Agl2kxxt8pCB174AC472r38BCM |
service | R | String | Service id should be datacard. |
network | R | String | Network as specified in the service variation above. |
pinQuantity | R | Number | The number of DATA CARD PINs to generate |
DataPlan | R | Number | The Data plan variation includes 1500; for 1.5GB |
ref | R | String | This is a unique reference with which you can use to execute and query the transaction. |
EXPECTED RESPONSE
{ "code": 101, "description": { "status": "TRANSACTION SUCCESSFUL", "PIN": "808346012S\n541093716S\n", "network": "MTN", "pinDenomination": "1500", "pinQuantity": "2", "product_name": "MTN DATACARD 1.5 GB ", "TransactionDate": "2023-03-19 03:12:PM" } }
The ePINs API uses API Key for Authentication.
Please see the following sample API key for authentication
Apikey = kDe5dbBw3AeyxnxFCCJA9c9Agl2kxxt8pCB174AC472r38BCM
API Key: Your Gateway API Key
Please create your API key here Create API Key
Endpoint URL: {{baseurl}}/merchant-verify
Endpoint URL: {{baseurl}}/electric-verify
PARAMETERS | Required/Optional | TYPE | DESCRIPTION |
apikey | R | String | The reseller gateway API key created at aidpay.com.ng . Example kDe5dbBw3AeyxnxFCCJA9c9Agl2kxxt8pCB174AC472r38BCM |
service | R | String | Service as specified. These includes, ikeja-electric, eko-electric, portharcourt-electric, jos-electric, kano-electric, ibadan-electric, enugu-electric, abuja-electric,benin-electric |
smartNo | R | Number | The meter number to load the electricity token |
type | R | String | This is the meter type. Example: prepaid or postpaid |
EXPECTED RESPONSE
{ "code": 119, "description": { "Customer": "PAUL BECKY", "Address": "ELEME - PORTHARCOURT", "MeterNumber": "1022101199113" } }
Endpoint URL: {{baseurl}}/biller
Service: as specified in the fields below;
PARAMETERS | Required/Optional | TYPE | DESCRIPTION |
apikey | R | String | The reseller gateway API key created at aidpay.com.ng . Example kDe5dbBw3AeyxnxFCCJA9c9Agl2kxxt8pCB174AC472r38BCM |
service | R | String | Service as specified. These includes, ikeja-electric, eko-electric, portharcourt-electric, jos-electric, kano-electric, ibadan-electric,benin-electric |
accountno | R | Number | The meter number to load the electricity token |
vcode | R | String | This is the meter type. Example: prepaid or postpaid |
amount | R | Number | The amount of electricity token you want to buy |
ref | R | String | This is a unique reference with which you can use to execute and query the transaction. |
EXPECTED RESPONSE
{"code":101, "description":{"Status":"TRANSACTION SUCCESSFUL", "Token":"40364652026905256691", "Units":"500 kWh", "meterNumber":"100221233", "product_name":"Ikeja Electric Payment - PHCN" } }
The ePINs API uses API Key for Authentication.
Please see the following sample API key for authentication
Apikey = kDe5dbBw3AeyxnxFCCJA9c9Agl2kxxt8pCB174AC472r38BCM
API Key: Your Gateway API Key
Please create your API key here Create API Key
Endpoint URL: {{baseurl}}/merchant-verify
PARAMETERS | Required/Optional | TYPE | DESCRIPTION |
apikey | R | String | The reseller gateway API key created at aidpay.com.ng . Example kDe5dbBw3AeyxnxFCCJA9c9Agl2kxxt8pCB174AC472r38BCM |
service | R | String | Service as specified. These includes, dstv, gotv, startimes |
smartNo | R | Number | The smartcard or IUC number to make the subscription on |
type | R | String | same as service parameter. |
EXPECTED RESPONSE
{"code":119, "description":{"Customer":"PAUL BECKY", "Due_Date":"2019-07-23T00:00:00", "Status":"Open" } }
Endpoint URL: {{baseurl}}/biller
Service: as specified in the fields below;
PARAMETERS | Required/Optional | TYPE | DESCRIPTION |
apikey | R | String | The reseller gateway API key created at aidpay.com.ng . Example kDe5dbBw3AeyxnxFCCJA9c9Agl2kxxt8pCB174AC472r38BCM |
service | R | String | Service as specified. These includes, dstv, gotv, startimes |
accountno | R | Number | The smartcard or IUC number to make the subscription on |
vcode | R | String | This is the meter type. Example: prepaid or postpaid |
amount | R | Number | The amount of electricity token you want to buy |
ref | R | String | This is a unique reference with which you can use to execute and query the transaction. |
EXPECTED RESPONSE
{"code":101,
"description":{"response_description":"TRANSACTION SUCCESSFUL",
"ref":"884666332234","amount":"100",
"transaction_date":"2020-04-17 07:04:19"
}}
The ePINs API uses API Key for Authentication.
Please see the following sample API key for authentication
Apikey = kDe5dbBw3AeyxnxFCCJA9c9Agl2kxxt8pCB174AC472r38BCM
API Key: Your Gateway API Key
Please create your API key here Create API Key
Endpoint URL: {{baseurl}}/bet-verify
PARAMETERS | Required/Optional | TYPE | DESCRIPTION |
apikey | R | String | The reseller gateway API key created at aidpay.com.ng . Example kDe5dbBw3AeyxnxFCCJA9c9Agl2kxxt8pCB174AC472r38BCM |
customerId | R | Number | The Bet9ja customer number to make the subscription on |
EXPECTED RESPONSE
{"code":119, "description":{"Customer":"PAUL BECKY", "Due_Date":"2019-07-23T00:00:00", "Status":"Open" } }
Endpoint URL: {{baseurl}}/bet9ja
Service: as specified in the fields below;
PARAMETERS | Required/Optional | TYPE | DESCRIPTION |
apikey | R | String | The reseller gateway API key created at aidpay.com.ng . Example kDe5dbBw3AeyxnxFCCJA9c9Agl2kxxt8pCB174AC472r38BCM |
customerId | R | Number | The Bet9ja customer Number to make the payment on |
reference | R | String | The reference number generated during bet9ja account validation |
amount | R | Number | The amount to credit on bet9ja account |
customerName | R | String | Customer Name generated during Bet9ja account validation |
request_id | R | String | This is a unique reference with which you can use to execute and query the transaction. |
EXPECTED RESPONSE
{"code":101,
"description":{"response_description":"TRANSACTION SUCCESSFUL",
"ref":"884666332234","amount":"100",
"transaction_date":"2020-04-17 07:04:19"
}}
Endpoint URL: {{baseurl}}/data
Request Method: POST
Network: as specified in the parameters below;
Network |
Service variation |
MTN |
01 |
Airtel |
04 |
9Mobile |
03 |
Glo |
02 |
PARAMETERS | Required/Optional | TYPE | DESCRIPTION | ||||
apikey | R | String | The reseller gateway API key created at aidpay.com.ng . Example kDe5dbBw3AeyxnxFCCJA9c9Agl2kxxt8pCB174AC472r38BCM | ||||
service | R | String | Network as specified in the service variation above. | ||||
MobileNumber | R | Number | The phone number to receive the SME Data | ||||
DataPlan | R | Number | The SME Data plan Variation code.
|
||||
ref | R | String | This is a unique reference with which you can use to execute and query the transaction. |
EXPECTED RESPONSE
{"code":101,
"description":{"response_description":"TRANSACTION SUCCESSFUL",
"ref":"884666332234","amount":"100",
"transaction_date":"2020-04-17 07:04:19"
}}
Endpoint URL: {{baseurl}}/data
Request Method: POST
Network: as specified in the parameters below;
Network |
Service variation |
MTN |
01 |
Airtel |
04 |
9Mobile |
03 |
Glo |
02 |
PARAMETERS | Required/Optional | TYPE | DESCRIPTION | ||||
apikey | R | String | The reseller gateway API key created at aidpay.com.ng . Example kDe5dbBw3AeyxnxFCCJA9c9Agl2kxxt8pCB174AC472r38BCM | ||||
service | R | String | Network as specified in the service variation above. | ||||
MobileNumber | R | Number | The phone number to receive the Data | ||||
DataPlan | R | Number | The CG LITE Data plan Variation code.
|
||||
ref | R | String | This is a unique reference with which you can use to execute and query the transaction. |
EXPECTED RESPONSE
{"code":101, "description": {"Status":"successful", "ProductName":"MTN 1GB (CG_LITE)","Network":null, "TransactionRef":"3807689167291450", "Date":"2023-06-28 12:32:PM"}}
Endpoint URL: {{baseurl}}/data
Request Method: POST
Network: as specified in the parameters below;
Network |
Service variation |
MTN |
01 |
Airtel |
04 |
9Mobile |
03 |
Glo |
02 |
PARAMETERS | Required/Optional | TYPE | DESCRIPTION | ||||
apikey | R | String | The reseller gateway API key created at aidpay.com.ng . Example kDe5dbBw3AeyxnxFCCJA9c9Agl2kxxt8pCB174AC472r38BCM | ||||
service | R | String | Network as specified in the service variation above. | ||||
MobileNumber | R | Number | The phone number to receive the GIFTING Data | ||||
DataPlan | R | Number | The Gifting Data Variation code. These includes;
|
||||
ref | R | String | This is a unique reference with which you can use to execute and query the transaction. |
EXPECTED RESPONSE
{"code":101,
"description":{"response_description":"TRANSACTION SUCCESSFUL",
"ref":"884666332234","amount":"100",
"transaction_date":"2020-04-17 07:04:19"
}}
Endpoint URL: {{baseurl}}/waec
Network: as specified in the parameters below;
PARAMETERS | Required/Optional | TYPE | DESCRIPTION |
apikey | R | String | The reseller gateway API key created at aidpay.com.ng. Example kDe5dbBw3AeyxnxFCCJA9c9Agl2kxxt8pCB174AC472r38BCM |
service | R | String | Network as specified. These includes, waec |
vcode | R | String | The code of the variation. That is waecdirect |
amount | R | Number | The amount of the variation (as specified in the VARIATIONS endpoint ) |
ref | R | String | This is a unique reference with which you can use to execute and query the transaction. |
EXPECTED RESPONSE
{"code":101,"description":{"Content":"Serial No:WRN800312772, pin: 249714527294",
"product_name":"WAEC Result Checker PIN","TransactionDate":"2021-11-01 02:51:PM"}}
Endpoint URL: {{baseurl}}/neco
Network: as specified in the parameters below;
PARAMETERS | Required/Optional | TYPE | DESCRIPTION |
apikey | R | String | The reseller gateway API key created at aidpay.com.ng . Example kDe5dbBw3AeyxnxFCCJA9c9Agl2kxxt8pCB174AC472r38BCM |
service | R | String | Network as specified. These includes, neco |
ref | R | String | This is a unique reference with which you can use to execute and query the transaction. |
EXPECTED RESPONSE
{"code":101,"description":{"Status":"TRANSACTION SUCCESSFUL","PIN":"35609198364227070191",
"TransactionRef":"45060440786","product_name":"NECO Result Checker",
"Date":"2021-11-01 02:51:PM"}}
Endpoint URL: {{baseurl}}/spectranet
Network: as specified in the parameters below;
PARAMETERS | Required/Optional | TYPE | DESCRIPTION |
apikey | R | String | The reseller gateway API key created at aidpay.com.ng. Example kDe5dbBw3AeyxnxFCCJA9c9Agl2kxxt8pCB174AC472r38BCM |
service | R | String | Network as specified. These includes, spectranet |
pinNo | R | Number | The number of Spectranet PINs to purchase |
amount | R | Number | The amount of the variation (as specified in the VARIATIONS endpoint ) |
ref | R | String | This is a unique reference with which you can use to execute and query the transaction. |
EXPECTED RESPONSE
{"code":101,
"description":{"response_description":"TRANSACTION SUCCESSFUL",
"ref":"884666332234","amount":"100",
"transaction_date":"2020-04-17 07:04:19"
}}
Endpoint URL: {{baseurl}}/ui-insurance
Network: as specified in the parameters below;
PARAMETERS | Required/Optional | TYPE | DESCRIPTION |
apikey | R | String | The reseller gateway API key created at aidpay.com.ng . Example kDe5dbBw3AeyxnxFCCJA9c9Agl2kxxt8pCB174AC472r38BCM |
service | R | String | Network as specified. These includes, ui-insure |
accountno | R | String | The plate Number of the vehicle you wish to make the insurance payment on. Example: KUJ480BH |
vcode | R | String | The code of the variation. That includes Commercial, Private, Tricycles |
amount | R | Number | The amount of the variation (as specified in the VARIATIONS endpoint ) |
Phone | R | Number | The phone number of the customer or recipient of this service |
insuredName | R | String | Name of the owner of the insured vehicle |
engineNo | R | String | Engine Number of the insured vehicle |
chasisNo | R | String | Chasis Number of the insured vehicle |
plateNo | R | String | Same as the accountno above |
plateNo | R | String | Same as the accountno above |
vehicleMake | R | String | Make of the insured vehicle |
vehicleColor | R | String | Color of the insured vehicle |
vehicleModel | R | String | Model of the insured vehicle |
yearofMake | R | String | The year the insured vehicle was made. |
contactAddress | R | String | Contact Address of the vehicle owner |
ref | R | String | This is a unique reference with which you can use to execute and query the transaction. |
EXPECTED RESPONSE
{"code":101,
"description":{"response_description":"TRANSACTION SUCCESSFUL",
"ref":"884666332234","Download Certificate":"https://3rdparty.universalinsuranceonline.com/PrintCertificate.aspx?Data=UPMSB001190319136038",
"transaction_date":"2020-04-17 07:04:19"
}}
The ePINs API uses API Key for Authentication.
Please see the following sample API key for authentication
Apikey = kDe5dbBw3AeyxnxFCCJA9c9Agl2kxxt8pCB174AC472r38BCM
API Key: Your Gateway API Key
Please create your API key here Create API Key
Endpoint URL: {{baseurl}}/balance
Service: as specified in the fields below;
PARAMETER | Required/Optional | TYPE | DESCRIPTION |
apikey | R | String | The reseller gateway API key created at aidpay.com.ng . Example kDe5dbBw3AeyxnxFCCJA9c9Agl2kxxt8pCB174AC472r38BCM |
EXPECTED RESPONSE
{"code":101, "description":{"BALANCE":"45000.00", } }