Get QR Code
Note :
in case the token not authorized , the message will add to queue and will be sent when the WhatsApp token is ready.
Request URL
https://api.wachat.net/info
Request body
token *Required

Rest API

  $response1 => file_get_contents('https://api.wachat.net/info?getqr=code&token=$token'); // QR Code (Code only)

  $response1 => file_get_contents('https://api.wachat.net/info?getqr=image&token=$token'); // QR Code With Image

  echo $response1; // output {success:true/false, isonwa:true/false}
  echo $response1; // output {success:true/false, isonwa:true/false}

Note : don't forget to URL encode your query params like base64 or utf-8