Update: 2026-06-23 18:18:30

This commit is contained in:
Hamza-Ayed
2026-06-23 18:18:30 +03:00
parent a2f4f5d304
commit c859b8006b

View File

@@ -183,14 +183,14 @@ function sendIntaleqOtp(string $receiver, string $otp, string $method = 'whatsap
$apiUrl = 'https://otp.intaleqapp.com/api/request-otp.php';
$payload = [
'phone' => $receiver,
'app_key' => $appKey,
'device_type' => 'android',
'method' => $method,
'code' => $otp
];
$response = curlCall("POST", $apiUrl, json_encode($payload), [
'Content-Type: application/json',
"X-App-Key: $appKey"
'Content-Type: application/json'
]);
if ($response) {