Introduction
This page contains guide to Fund Betting wallet on hyronicwallet.com.
https://hyronicwallet.com/api/beting/
ENDPOINT -- URL
Fund Betting wallet
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/beting/', 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
{
"bet_site" : "1",
"bet_id" : "123333333",
"bet_amount" : "500",
'bypass' : true or false
}',
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",
"customerName": "NCwallet",
"betsite": "Bet9ja",
"Amount" = 300",
"oldbal" = 500",
"newbal" = 200",
"discount/charges": "15",
"request-id": "1234567890-"
} REQUEST TYPE -- POST