Update: 2026-06-23 18:18:30
This commit is contained in:
@@ -183,14 +183,14 @@ function sendIntaleqOtp(string $receiver, string $otp, string $method = 'whatsap
|
|||||||
$apiUrl = 'https://otp.intaleqapp.com/api/request-otp.php';
|
$apiUrl = 'https://otp.intaleqapp.com/api/request-otp.php';
|
||||||
$payload = [
|
$payload = [
|
||||||
'phone' => $receiver,
|
'phone' => $receiver,
|
||||||
|
'app_key' => $appKey,
|
||||||
'device_type' => 'android',
|
'device_type' => 'android',
|
||||||
'method' => $method,
|
'method' => $method,
|
||||||
'code' => $otp
|
'code' => $otp
|
||||||
];
|
];
|
||||||
|
|
||||||
$response = curlCall("POST", $apiUrl, json_encode($payload), [
|
$response = curlCall("POST", $apiUrl, json_encode($payload), [
|
||||||
'Content-Type: application/json',
|
'Content-Type: application/json'
|
||||||
"X-App-Key: $appKey"
|
|
||||||
]);
|
]);
|
||||||
|
|
||||||
if ($response) {
|
if ($response) {
|
||||||
|
|||||||
Reference in New Issue
Block a user