Automate your Garena Free Fire top-ups seamlessly with Instant or Async processing.
You must authenticate your requests using your secret API Key in the JSON payload. All requests use the POST method and application/json content type.
আপনি আমাদের API-তে ইচ্ছামতো Quantity (পরিমাণ) পাঠাতে পারবেন এবং ২ ধরণের মুড ব্যবহার করতে পারবেন:
"mode": "instant" যুক্ত করলে অর্ডার চোখের পলকে কমপ্লিট হবে এবং আপনি সরাসরি রেসপন্স পেয়ে যাবেন। কোনো Callback URL-এর প্রয়োজন নেই।"mode": "async" যুক্ত করলে অর্ডারটি ব্যাকগ্রাউন্ডে প্রসেস হবে এবং কাজ শেষে আপনার দেওয়া url বা callback_url এ রেসপন্স পাঠানো হবে।"qty": 5 এর মতো ভ্যালু পাঠিয়ে একসাথে একাধিক প্যাকেজ অর্ডার করতে পারবেন!এখানে Universal এবং Shell সার্ভিসের রিকোয়েস্ট পাঠানোর নিয়ম এবং রেসপন্স দেওয়া হলো। মনে রাখবেন, এদের রেসপন্সে আইটেমের আইডেন্টিফায়ার হিসেবে package কি-ওয়ার্ডটি ব্যবহার করা হয়।
{
"api_key": "API-TEAMFORHADXXXX1234",
"mode": "instant",
"qty": 2,
"playerid": "18421675737",
"package": "LITE",
"code": "shell",
"orderid": "1012",
"url": "https://yourwebsite.com/api/webhook",
"username": "Shellaccount",
"password": "abc",
"autocode": "FSSGAQXZBSTCNEOC"
}
{
"api_key": "API-TEAMFORHADXXXX1234",
"mode": "async",
"qty": 5,
"playerid": "18421675737",
"package": "LITE",
"code": "shell",
"orderid": "1013",
"url": "https://yourwebsite.com/api/webhook",
"username": "Shellaccount",
"password": "abc",
"autocode": "FSSGAQXZBSTCNEOC"
}
{
"status": "success",
"orderid": "1008",
"content": {
"batch": [
{
"package": "LITE",
"ok": true,
"detail": "Your Details"
}
],
"callback_url": "https://yourwebsite.com/api/callback"
},
"nickname": "PlayerName"
}
{
"status": "failed",
"orderid": "1012",
"content": {
"batch": [
{
"package": "LITE",
"ok": false,
"detail": "invalid id"
}
],
"callback_url": "https://yourwebsite.com/api/callback"
},
"nickname": null
}
এখানে Universal এবং UniPin সার্ভিসের রিকোয়েস্ট পাঠানোর নিয়ম এবং রেসপন্স দেওয়া হলো। মনে রাখবেন, এদের রেসপন্সে আইটেমের আইডেন্টিফায়ার হিসেবে uc কি-ওয়ার্ডটি ব্যবহার করা হয়।
{
"api_key": "API-TEAMFORHADXXXX1234",
"mode": "instant",
"qty": 2,
"orderid": "1026",
"playerid": "18421675",
"code": "BDMB-T-S-02605960 1413-3711-6915-7135",
"url": "https://yourwebsite.com/api/webhook"
}
{
"api_key": "API-TEAMFORHADXXXX1234",
"mode": "async",
"qty": 5,
"orderid": "1027",
"playerid": "18421675",
"code": "BDMB-T-S-02605960 1413-3711-6915-7135",
"url": "https://yourwebsite.com/api/webhook"
}
{
"status": "success",
"orderid": "1008",
"content": {
"batch": [
{
"uc": "UPBD-N-S-16238900 5369-5153-2272-9312",
"ok": true,
"detail": "Success"
}
],
"callback_url": "https://yourwebsite.com/api/callback"
},
"nickname": "PlayerName"
}
{
"status": "failed",
"orderid": "1012",
"content": {
"batch": [
{
"uc": "UPBD-N-S-16238900 5369-5153-2272-9312",
"ok": false,
"detail": "Invalid Voucher ?"
}
],
"callback_url": "https://yourwebsite.com/api/callback"
},
"nickname": null
}
Here are the PHP cURL examples. Make sure to use the correct endpoint URL and data array for your specific service.
<?php
$url = "https://www.teamforhad.com/api/shell.php";
$data = [
"api_key" => "API-TEAMFORHADXXXX1234",
"mode" => "instant",
"qty" => 2,
"playerid" => "18421675737",
"package" => "LITE",
"code" => "shell",
"orderid" => "1012",
"url" => "https://yourwebsite.com/api/webhook",
"username" => "Shellaccount",
"password" => "abc",
"autocode" => "FSSGAQXZBSTCNEOC"
];
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
curl_setopt($ch, CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
$response = curl_exec($ch);
curl_close($ch);
print_r(json_decode($response, true));
?>
<?php
$url = "https://www.teamforhad.com/api/unipin.php";
$data = [
"api_key" => "API-TEAMFORHADXXXX1234",
"mode" => "async",
"qty" => 5,
"orderid" => "1026",
"playerid" => "18421675",
"code" => "BDMB-T-S-02605960 1413-3711-6915-7135",
"url" => "https://yourwebsite.com/api/webhook"
];
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "POST");
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data));
curl_setopt($ch, CURLOPT_HTTPHEADER, ['Content-Type: application/json']);
$response = curl_exec($ch);
curl_close($ch);
print_r(json_decode($response, true));
?>
Use these exact codes in the package_code or package parameter when making a request.
| Package Item | Package Code |
|---|---|
| Weekly Lite Membership | lite |
| Weekly Membership | weekly |
| Monthly Membership | monthly |
| 115 Diamonds | 115 |
| 240 Diamonds | 240 |
| 610 Diamonds | 610 |
| 1240 Diamonds | 1240 |
| 2530 Diamonds | 2530 |
| Full Level Up Pass | fulllevelup |
| Level Up — Tier 6 | lvl6 |
| Level Up — Tier 10 | lvl10 |
| Level Up — Tier 15 | lvl15 |
| Level Up — Tier 20 | lvl20 |
| Level Up — Tier 25 | lvl25 |
| Level Up — Tier 30 | lvl30 |
| Package Item | Package Code |
|---|---|
| Weekly Membership | weekly |
| Monthly Membership | monthly |
| Booyah Pass | bp |
| 5 Diamonds | 5 |
| 50 Diamonds | 50 |
| 70 Diamonds | 70 |
| 140 Diamonds | 140 |
| 355 Diamonds | 355 |
| 720 Diamonds | 720 |
| 7290 Diamonds | 7290 |
| 36500 Diamonds | 36500 |
| 73100 Diamonds | 73100 |
| Full Level Up Pass | fulllevelup |
| Level Up — Tier 6 | lvl6 |
| Level Up — Tier 10 | lvl10 |
| Level Up — Tier 15 | lvl15 |
| Level Up — Tier 20 | lvl20 |
| Level Up — Tier 25 | lvl25 |
| Level Up — Tier 30 | lvl30 |
| Package Item | Package Code |
|---|---|
| Weekly Lite Membership | lite |
| Weekly Membership | weekly |
| Monthly Membership | monthly |
| 25 Diamonds | 25 |
| 100 Diamonds | 100 |
| 310 Diamonds | 310 |
| 520 Diamonds | 520 |
| 1060 Diamonds | 1060 |
| 2180 Diamonds | 2180 |
| 5600 Diamonds | 5600 |
| 11500 Diamonds | 11500 |
| Full Level Up Pass | fulllevelup |
| Level Up — Tier 6 | lvl6 |
| Level Up — Tier 10 | lvl10 |
| Level Up — Tier 15 | lvl15 |
| Level Up — Tier 20 | lvl20 |
| Level Up — Tier 25 | lvl25 |
| Level Up — Tier 30 | lvl30 |
| Package Item | Package Code |
|---|---|
| Weekly Lite Membership | lite |
| Weekly Membership | weekly |
| Monthly Membership | monthly |
| 25 Diamonds | 25 |
| 100 Diamonds | 100 |
| 115 Diamonds | 115 |
| 240 Diamonds | 240 |
| 310 Diamonds | 310 |
| 520 Diamonds | 520 |
| 610 Diamonds | 610 |
| 1060 Diamonds | 1060 |
| 1240 Diamonds | 1240 |
| 2180 Diamonds | 2180 |
| 2530 Diamonds | 2530 |
| 5600 Diamonds | 5600 |
| 11500 Diamonds | 11500 |
| Full Level Up Pass | fulllevelup |
| Level Up — Tier 6 | lvl6 |
| Level Up — Tier 10 | lvl10 |
| Level Up — Tier 15 | lvl15 |
| Level Up — Tier 20 | lvl20 |
| Level Up — Tier 25 | lvl25 |
| Level Up — Tier 30 | lvl30 |