Get Balance

Get Balance API Url



Parameters to be sent to the service are as follows:

Input Name Type Required Description
public_key String Yes your public key
private_key String Yes your private key


Parameters to be returned from the service are as follows:

Input Name Type Description
status String success or error
message String error message if status is error
balance numeric withdrawable balance
blocked_balance numeric blocked balance

Sample Codes

Get Balance Sample

$url= ''; $post = [
'public_key' => 'yourpublickey',
'private_key' => 'yourprivatekey',
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS,http_build_query($post));
$result = curl_exec($ch);
curl_close($ch); if(json_decode($result)->status=='error'){
echo json_decode($result)->message;
echo json_decode($result)->balance;
//echo json_decode($result)->blocked_balance;
Are you a developer? Please look at our New Developer Referral Program , Earn %50.