OFFICIAL API DOCUMENTATION · READ-ONLY

Game Verification API

Choose an enabled game to see its verification code, UID / Zone requirements, and a ready-to-copy request. Only games configured for live verification are listed.

Verification security: Keep your Verification API Key and callback signing secret private. Only admin-enabled, provider-ready games appear below; live requests still require an active subscription and permission.

🛡 Game Verification Integration

Choose one of your administrator-enabled, provider-ready games below to see the correct API game code. An active Verification subscription and permission are required for live calls.

1 · Authenticated API request

POST JSON to https://api.srkexpressbd.com/api/partner-verify.php. Send your subscription key with Authorization: Bearer sv_YOUR_VERIFICATION_SUBSCRIPTION_KEY. Each new verification requires a unique request_id; reuse that ID for retries of the same request.

POST https://api.srkexpressbd.com/api/partner-verify.php
Authorization: Bearer sv_YOUR_VERIFICATION_SUBSCRIPTION_KEY
Content-Type: application/json

{
  "request_id": "verify_100001",
  "game": "free-fire",
  "uid": "PLAYER_ID",
  "zone": ""
}

2 · Responses, quota and idempotency

200 = success, 202 = pending, 401 = bad key, 403 = disabled/expired/subscription restriction, 422 = invalid game/UID, 429 = quota/rate limit, 503 = temporary verification provider error. Use the same request_id on a retry to prevent duplicate charge/call counting.

3 · Verify signed callbacks

Accept JSON on your registered HTTPS callback. Check X-SRK-Timestamp within 5 minutes and validate X-SRK-Signature using the exact raw body and the subscription callback secret. Verify against your backend and de-duplicate events by request_id.

<?php
$secret = getenv('SRK_VERIFY_CALLBACK_SECRET') ?: '';
$stamp = $_SERVER['HTTP_X_SRK_TIMESTAMP'] ?? '';
$sig = $_SERVER['HTTP_X_SRK_SIGNATURE'] ?? '';
$body = file_get_contents('php://input');
if (!$secret || !ctype_digit($stamp) || abs(time()-(int)$stamp) > 300) {
    http_response_code(401); exit;
}
$expected = 'sha256=' . hash_hmac('sha256',$stamp . '.' . $body,$secret);
if (!hash_equals($expected,$sig)) {
    http_response_code(401); exit;
}
$event = json_decode($body,true);
if (!is_array($event) || empty($event['request_id'])) {
    http_response_code(400); exit;
}
// Process request_id and status idempotently.
http_response_code(204);

4 · Choose a live game

Only admin-enabled games with a configured verification route are shown below. If no game is enabled, an empty state is shown—unavailable or sample codes are not advertised.

Checking enabled games…