Ringkasan Endpoint Provider
| Method | Path Standard | Provider | Fungsi | Backward Compatible Alias |
|---|---|---|---|---|
| POST | /api/duniagames/username |
DuniaGames | Cek nickname game (MLBB, FF, dll) | /api/username/duniagames |
| POST | /api/duniagames/redeem |
DuniaGames | Auto-redeem voucher code | /api/redeem/duniagames |
| POST | /api/duniagames/redeem/cek-item |
DuniaGames | Cek detail item & status voucher tunggal | /api/redeem/duniagames/cek-item |
| POST | /api/duniagames/redeem/cek-item-batch |
DuniaGames | Cek batch status voucher (sampai 50 kode) | /api/redeem/duniagames/cek-item-batch |
| POST | /api/gopay/username |
Gopay Games | Cek nickname akun via Gopay (Single-ID & Zone-ID) | /api/username/gopay, /api/username |
| GET | /health |
System | Health check service gateway | /api/health |
1. Provider Gopay Games
POST /api/gopay/username
Pengecekan akun game via Gopay Games API. Mendukung Single-ID (Free Fire, Point Blank, dll) dan Zone-ID (Mobile Legends, Genshin, dll).
Contoh Request (Mobile Legends - Zone ID)
{
"game": "mobile_legends",
"gameId": "364940906",
"zoneId": "9716"
}
Contoh Request (Free Fire - Single ID)
{
"game": "freefire",
"gameId": "12345678"
}
Contoh Response Sukses
{
"success": true,
"username": "BlazeX",
"provider": "gopay",
"gameCode": "MOBILE_LEGENDS",
"durationMs": 482
}
Contoh Response Gagal
{
"success": false,
"message": "User ID / Zone ID tidak ditemukan di Gopay Games",
"status": 404,
"provider": "gopay"
}
2. Provider DuniaGames
POST /api/duniagames/username
Contoh Request
{
"gameId": "364940906",
"zoneId": "9716"
}
Contoh Response
{
"success": true,
"username": "BlazeX"
}