public static function sendVerification($code,$number,$log = false)
	{
		$client = new Client();
		$body   = ['Code'=>$code,'MobileNumber'=>$number];
		$result = $client->post('http://restfulsms.com/api/VerificationCode',['json'=>$body,'headers'=>['x-sms-ir-secure-token'=>self::getToken()],'connect_timeout'=>30]);
		if($log) {
			self::DBlog($result,$code,$number);
		}
		return json_decode($result->getBody(),true);
	}
public static function sendVerification($code,$number,$log = false)
	{
		$client = new Client();
		$body   = ['Code'=>$code,'MobileNumber'=>$number];
		$result = $client->post('http://restfulsms.com/api/VerificationCode',['json'=>$body,'headers'=>['x-sms-ir-secure-token'=>self::getToken()],'connect_timeout'=>30]);
		if($log) {
			self::DBlog($result,$code,$number);
		}
		return json_decode($result->getBody(),true);
	}
public static function sendVerification ( $ code , $ number , $ log = false ) { $ client = new Client ( ) ; $ body = [ 'Code' => $ code , 'MobileNumber' => $ number ] ; $ result = $ client -> post ( 'http://restfulsms.com/api/VerificationCode' , [ 'json' => $ body , 'headers' => [ 'x-sms-ir-secure-token' => self :: getToken ( ) ] , 'connect_timeout' => 30 ] ) ; if ( $ log ) { self :: DBlog ( $ result , $ code , $ number ) ; } return json_decode ( $ result -> getBody ( ) , true ) ; }
this method send a verification code to your customer. need active the module at panel first.

@param $code
@param $number

@param bool $log

@return mixed
this method send a verification code to your customer . need active the module at panel first .