Update: 2026-06-23 18:32:23

This commit is contained in:
Hamza-Ayed
2026-06-23 18:32:23 +03:00
parent e4f86c5efd
commit bb13eb74e8
2 changed files with 7 additions and 2 deletions

View File

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