Introduction
This page contains guide to buy Exam PIN on hyronicwallet.com.
https://hyronicwallet.com/api/exam/
ENDPOINT -- URL
Buy Exam PIN
Send a post request to the below endpoint, You can use the PHP integration code below....
$curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => 'https://hyronicwallet.com/api/exam/', CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => '', CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => 'POST', CURLOPT_POSTFIELDS =>'
REQUEST TYPE -- POST
{
'exam' : 2,
'quantity' : 3
}',
CURLOPT_HTTPHEADER => array( 'Content-Type: application/json', 'Authorization: Token {{Access Code}}' ), )); $response = curl_exec($curl); curl_close($curl); echo $response;
Send a post request to the below endpoint.
Expected response:
{
"status" = "success",
"exam" = "NECO",
"quantity" = "3",
"price" = ₦1,000.00",
"Amount" = ₦3,000.00",
"pin" = "Pin: => ncwallet1,ncwallet2,ncwallet3 || serial: => ncwallet1,ncwallet2,ncwallet3",
"oldbal" = ₦5,000.00",
"newbal" = ₦2,000.00"
} REQUEST TYPE -- POST