🔒
Balance
Retrieves your current balance.

📃 Code Example

PHP
$data = array();
$payload = json_encode($data);
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => 'https://smsverification.xyz/api/v2/balance',
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_POSTFIELDS => $payload,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => array(
'Authentication: testinga99d930a8a080314bd4c5563737e131',
'Content-Type: application/json',
'Content-Length: ' . strlen($payload)
)
]);
$response = curl_exec($curl);
curl_close($curl);
echo $response; // json

Successful Response

JSON Object
{
"status": "success",
"data": {
"balance": 2.5
}
}
Copy link
On this page
📃 Code Example
Successful Response