Get Balance
Get Balance
GET https://kuwait.uigtc.com/capi/v2/cpanel/balance
This endpoint gives balance information of your account
Query Parameters
Name
Type
Description
password
string
The password of your account
username
string
The username/phone number of your account
Headers
Name
Type
Description
x-api-key
string
The API Key of the account provided in UIGTC SMS Panel
{
"Balance": "738697.80",
"Total": "932105.00"
}Example Request
<?php
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://kuwait.uigtc.com/capi/v2/cpanel/balance?username=xxxxxxx&password=********',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'x-api-key: XXXXX0709E808DD188E9167BAFF15E12CD5201E5B185XXXXX'
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;Last updated
Was this helpful?