Dokumentasi API GAME

[ POST ] https://namegame.my.id/v1/check-game

klik di sini untuk melihat Dokumentasi API Validation Bank

parameter:

Contoh Penggunaan

Berikut adalah contoh penggunaan ini dengan menggunakan cURL:

$curl = curl_init();

$data = array(
  'key' => 'API KEY',
  'sign' => 'berisi formula md5(API ID + API KEY).',
  'type' => 'game',
  'code' => 'Valorant',
  'user_id' => 'zivaloya#4614'
);

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://namegame.my.id/v1/check-game',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'POST',
  CURLOPT_POSTFIELDS => $data,
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

Contoh Response True

{ "code": 200, "status": true, "data": { "game": "Valorant", "user_id": "zivaloya#4614", "zone_id": null, "username": "zivaloya #4614" }, "message": "Check Nickname berhasil." }