API - Education Bills


Parameters:
Parameter_Name Description
username Your SubAndGain username
apiKey Your SubAndGain API Key
eduType eduType code, click Here to see

API Command:


https://subandgain.com/api/education.php?username=****&apiKey=****&eduType=****
//Replace **** with your username, api key...

E.g.
https://subandgain.com/api/education.php?username=Peter&apiKey=sag8rqpfa8vkpn1ler56ygh8kxxw1aor8&eduType=NEONE
//where username is Peter, apiKey is sag8rqpfa8vkpn1ler56ygh8kxxw1aor8, eduType is NEONE

Response:


JSON Format:
{"status":"Approved","trans_id":"ajrfcer6ct1","EduType":"NEONE","package":"One Piece Of Neco Result Checker","token":"381358765168","balance":"2500"}

Else, if there is an error in your request, one of the responses below will be displayed in this format:
{"error":"ERR201","description":"Invalid Username or Api Key"}

Responses:
Error Description
ERR200 Username Field Is Empty
ERR201 Invalid Username or Api Key
ERR203 Insufficient Balance
ERR204 Invalid EduType Code
ERR206 Order Not Processed
ERR209 Quantity not available

API Query:


https://subandgain.com/api/query_education.php?username=****&apiKey=****&trans_id=****
//Replace **** with your username, api key...

E.g.
https://subandgain.com/api/query_education.php?username=Peter&apiKey=sag8rqpfa8vkpn1ler56ygh8kxxw1aor8&trans_id=ajrfcer6ct1
//where username is Peter, apiKey is sag8rqpfa8vkpn1ler56ygh8kxxw1aor8, trans_id is ajrfcer6ct1

Response:


JSON Format:
{"status":"Approved","trans_id":"ajrfcer6ct1","network":"One Piece Of Neco Result Checker","token":"381358765168","amount":"650"}

Else, if there is an error in your request, response will be displayed in this format:
{"error":"ERR210","description":"Transaction not found on SubAndGain"}

NECO:
eduType code Quantity
NEONE One Piece Of Neco Result Checker
NETWO Two Pieces Of Neco Result Checker
NETHR Three Pieces Of Neco Result Checker
NEFOUR Four Pieces Of Neco Result Checker
NEFIVE Five Pieces Of Neco Result Checker

WAEC:
eduType code Quantity
WAONE One Piece Of WAEC Result Checker
WATWO Two Pieces Of WAEC Result Checker
WATHR Three Pieces Of WAEC Result Checker
WAFOUR Four Pieces Of WAEC Result Checker
WAFIVE Five Pieces Of WAEC Result Checker