INFO: Semua API memerlukan API Key. IP anda perlu di-whitelist. Base endpoint: https://api.gamevia.shop/v1. Jika ada masalah, hubungi WA Admin.
🚀 DAPATKAN API KEY DI SINI:

🔑
Dapatkan API Key
Klik di sini
📱
Bantuan WhatsApp
+60 10-987 2327
📝 Cara Mendapatkan API Key:
  1. Klik "Dapatkan API Key" di atas
  2. Login ke akaun GameVia anda
  3. Pergi ke halaman Account Settings
  4. Cari section API Key
  5. Generate API Key baru atau gunakan yang sedia ada
  6. Salin API Key dan gunakan dalam kod anda

1. ML Check API NEW

Endpoint: POST /ml-check.php

Description: Check status dan maklumat Mobile Legends account

Headers: x-api-key: YOUR_API_KEY

Parameter Type Required Description
user_id String ✅ Yes Mobile Legends User ID
zone_id String ✅ Yes Mobile Legends Zone ID

📊 Response Structure (Success):

Account Information
Nickname Prince+Zham+?
Account Origin Malaysia
Login From Malaysia
Created At 20:07, 19 October 2025
User Information
Username BRENz
API Requests unlimited
Request ID ml_68f4d487a450b
Status Success

📝 Raw JSON Response:

{
  "success": true,
  "data": {
    "success": true,
    "message": "Success",
    "data": {
      "nickname": "Prince+Zham+?",
      "account_created_from": "Malaysia",
      "account_login_from": "Malaysia",
      "created_at": "20:07, 19 October 2025"
    }
  },
  "request_id": "ml_68f4d487a450b",
  "user_info": {
    "username": "BRENz",
    "api_requests": "unlimited"
  }
}

2. Check Games

Endpoint: POST /check_games.php

Description: Dapatkan senarai semua games yang tersedia

Headers: x-api-key: YOUR_API_KEY

📊 Response Structure:

Available Games
Mobile Legends mlbb
Free Fire ff
PUBG Mobile pubg
Call of Duty cod

📝 Raw JSON Response:

{
  "success": true,
  "games": [
    {
      "slug": "mlbb",
      "name": "Mobile Legends"
    },
    {
      "slug": "ff",
      "name": "Free Fire"
    },
    {
      "slug": "pubg",
      "name": "PUBG Mobile"
    },
    {
      "slug": "cod",
      "name": "Call of Duty Mobile"
    }
  ]
}

3. Get Products

Endpoint: POST /get_products.php

Description: Dapatkan senarai produk untuk game tertentu

Headers: x-api-key: YOUR_API_KEY

Parameter Type Required Description
slug String ✅ Yes Game slug (mlbb, ff, pubg, cod)

📊 Response Structure (Mobile Legends):

Diamonds 12
RM 5.00 available
ML12
Diamonds 50
RM 20.00 available
ML50
Diamonds 100
RM 38.00 available
ML100

📝 Raw JSON Response:

{
  "success": true,
  "slug": "mlbb",
  "game_name": "Mobile Legends",
  "products": [
    {
      "name": "Diamonds 12",
      "srv_code": "ML12",
      "price": 5.00,
      "stock": "available"
    },
    {
      "name": "Diamonds 50",
      "srv_code": "ML50",
      "price": 20.00,
      "stock": "available"
    },
    {
      "name": "Diamonds 100",
      "srv_code": "ML100",
      "price": 38.00,
      "stock": "available"
    }
  ]
}

4. Order

Endpoint: POST /order.php

Description: Buat pesanan baru untuk topup game

Headers: x-api-key: YOUR_API_KEY

Parameter Type Required Description
srv_code String ✅ Yes Product service code (ML12, ML50, etc)
user_id String ✅ Yes Game User ID
zone_id String ✅ Yes Game Zone ID

📊 Response Structure:

Order Success
Order ID GV20251016123456789
API Order ID MTK123456
Amount RM 5.00
Status Success

📝 Raw JSON Response:

{
  "success": true,
  "custom_order_id": "GV20251016123456789",
  "api_order_id": "MTK123456",
  "status": "Success",
  "amount": 5.00,
  "description": "Diamonds 12 for Mobile Legends",
  "user_id": "12345",
  "zone_id": "1"
}

5. Check Account

Endpoint: POST /check_account.php

Description: Dapatkan maklumat akaun dan baki semasa

Headers: x-api-key: YOUR_API_KEY

📊 Response Structure:

Account Information
Username reseller123
Email reseller@example.com
Phone 0123456789
Balance RM 150.75
Account Status
Role reseller
KYC Status verified
Joined Date 2024-01-15
Status active

📝 Raw JSON Response:

{
  "success": true,
  "account": {
    "username": "reseller123",
    "email": "reseller@example.com",
    "phone": "0123456789",
    "balance": 150.75,
    "role": "reseller",
    "kyc_status": "verified",
    "joined_date": "2024-01-15"
  }
}

6. Get History

Endpoint: POST /get_history.php

Description: Dapatkan sejarah transaksi

Headers: x-api-key: YOUR_API_KEY

Parameter Type Required Description
custom_order_id String ❌ Optional Order ID tertentu (jika kosong, return 10 transaksi terbaru)

📊 Response Structure (Multiple Orders):

Recent Order
Order ID GV20251016123456789
Date 2024-01-15 14:30:00
Description Diamonds 12 for ML
Status Success
Recent Order
Order ID GV20251016123456788
Date 2024-01-15 12:15:00
Description Diamonds 50 for FF
Status Pending

📝 Raw JSON Response:

{
  "success": true,
  "count": 3,
  "history": [
    {
      "custom_order_id": "GV20251016123456789",
      "created_at": "2024-01-15 14:30:00",
      "status_order": "Success",
      "description": "Diamonds 12 for Mobile Legends",
      "amount": 5.00
    },
    {
      "custom_order_id": "GV20251016123456788",
      "created_at": "2024-01-15 12:15:00",
      "status_order": "Pending",
      "description": "Diamonds 50 for Free Fire",
      "amount": 20.00
    },
    {
      "custom_order_id": "GV20251016123456787",
      "created_at": "2024-01-14 16:45:00",
      "status_order": "Failed",
      "description": "UC 60 for PUBG Mobile",
      "amount": 15.00
    }
  ]
}

Error Handling

Common Error Responses:

Error Code HTTP Status Description
MISSING_API_KEY 400 API key tidak disertakan
INVALID_API_KEY 403 API key tidak valid
IP_NOT_ALLOWED 403 IP tidak di-whitelist
INSUFFICIENT_BALANCE 400 Baki tidak mencukupi
PRODUCT_NOT_FOUND 404 Produk tidak ditemukan
ORDER_FAILED 500 Gagal membuat pesanan

Error Response Example:

{
  "success": false,
  "message": "Invalid API key",
  "error_code": "INVALID_API_KEY"
}

Interactive API Tester

Test API endpoints secara langsung dengan tool interaktif ini. Masukkan API Key dan pilih endpoint untuk test.

Klik "Test API" untuk melihat response API...