I've researched a lot about this but can't find a solution. Basically am building an app where a player is asked to enter his/her IGN (In game name) but it's difficult to copy it correctly because of designer fonts, so what I want is just let them enter their UID (Unique ID) and their IGN automatically pops up. I've seen this feature in many websites and apps like codashop.com, gameskharido.in, game.tv, etc.
Is there any API for this am unaware of or how is this possible?
Also, what I've noticed is https://shop.garena.sg/app/100067/idlogin is the official top-up store by garena and https://gameskharido.in/app/100067/idlogin is one of many other sites. But notice that both these sites have same user interface and even their URL is similar which means somehow they are using same mechanism. I really want this feature, please give your options down below. Thanks!
Note : This is only applicable for mobile games like PUBG, Call of Duty Mobile, Free fire, etc.
public function Login($game_id = null){
if (is_null($game_id)) return false;
$result = $this->request("POST", "https://shop.garena.sg/api/auth/player_id_login", array(
"app_id" => 100067,
"login_id" => strval($game_id)
));