TN
TnApi

TnApi

System Operational

Shell Auto TopUp

Automated Garena Shells top-up system via BD & SG backends.

POST /api/topup

Async Topup (Webhook)

Asynchronous top-up. Initial response returns processing. Final result will be sent to your Webhook URL.

Payload Parameters

ParameterTypeRequirementDescription
api_key String Required Your secret API Key (e.g. tn_xxxx)
orderid String Required Your unique transaction ID
playerid String Required In-game player UID
code String Required Backend code (shell or sgshell)
package String Required The package ID (e.g., lvl6, lite)
qty Integer Optional Number of times to topup (e.g. 1)
username String Required Your Garena account username
password String Required Your Garena account password
autocode String Required Your Webhook callback URL
Request Body
JSON
{
  "api_key": "tn_xxxxxxxxxxxxxxxxxxxxx",
  "orderid": "shell-001",
  "playerid": "123456789",
  "code": "shell",
  "package": "lvl6",
  "qty": 1,
  "username": "your_username",
  "password": "your_password",
  "autocode": "https://your-webhook.com/callback"
}
Initial Response
200 OK
{
  "status": "processing"
}

Webhook Callback Responses

1. Success (Single)
{
  "status": "success",
  "orderid": "ORDER123",
  "content": {
    "batch": [
      {
        "package": "LITE",
        "ok": true,
        "detail": "Success"
      }
    ]
  },
  "nickname": "PlayerName"
}
2. Failed (Single)
{
  "status": "failed",
  "orderid": "ORDER123",
  "content": {
    "batch": [
      {
        "package": "LITE",
        "ok": false,
        "detail": "Insufficient Garena shells"
      }
    ]
  },
  "nickname": "PlayerName"
}
3. Batch Success (Multiple Qty)
{
  "status": "success",
  "orderid": "ORDER123",
  "content": {
    "batch": [
      {"package": "LITE", "ok": true, "detail": "Success"},
      {"package": "LITE", "ok": true, "detail": "Success"},
      {"package": "LITE", "ok": true, "detail": "Success"},
      {"package": "LITE", "ok": true, "detail": "Success"},
      {"package": "LITE", "ok": true, "detail": "Success"}
    ]
  },
  "nickname": "PlayerName"
}
4. Batch Failed (Multiple Qty)
{
  "status": "failed",
  "orderid": "ORDER123",
  "content": {
    "batch": [
      {"package": "LITE", "ok": false, "detail": "Insufficient Garena shells"},
      {"package": "LITE", "ok": false, "detail": "Insufficient Garena shells"},
      {"package": "LITE", "ok": false, "detail": "Insufficient Garena shells"},
      {"package": "LITE", "ok": false, "detail": "Insufficient Garena shells"},
      {"package": "LITE", "ok": false, "detail": "Insufficient Garena shells"}
    ]
  },
  "nickname": "PlayerName"
}
POST /api/topup-instant

Instant Topup

Direct synchronous response. Webhook এর পরিবর্তে সরাসরি JSON Response রিটার্ন করবে। এখানেও payload-এ autocode দেওয়া বাধ্যতামূলক।

Request Body
JSON
{
  "api_key": "tn_xxxxxxxxxxxxxxxxxxxxx",
  "orderid": "shell-002",
  "playerid": "123456789",
  "code": "shell",
  "package": "lvl6",
  "qty": 1,
  "username": "your_username",
  "password": "your_password",
  "autocode": "https://your-webhook.com/callback"
}

Direct Responses

1. Success (Single)
{
  "status": "success",
  "orderid": "ORDER123",
  "content": {
    "batch": [
      {
        "package": "LITE",
        "ok": true,
        "detail": "Success"
      }
    ]
  },
  "nickname": "PlayerName"
}
2. Failed (Single)
{
  "status": "failed",
  "orderid": "ORDER123",
  "content": {
    "batch": [
      {
        "package": "LITE",
        "ok": false,
        "detail": "Insufficient Garena shells"
      }
    ]
  },
  "nickname": "PlayerName"
}
3. Batch Success (Multiple Qty)
{
  "status": "success",
  "orderid": "ORDER123",
  "content": {
    "batch": [
      {"package": "LITE", "ok": true, "detail": "Success"},
      {"package": "LITE", "ok": true, "detail": "Success"},
      {"package": "LITE", "ok": true, "detail": "Success"},
      {"package": "LITE", "ok": true, "detail": "Success"},
      {"package": "LITE", "ok": true, "detail": "Success"}
    ]
  },
  "nickname": "PlayerName"
}
4. Batch Failed (Multiple Qty)
{
  "status": "failed",
  "orderid": "ORDER123",
  "content": {
    "batch": [
      {"package": "LITE", "ok": false, "detail": "Insufficient Garena shells"},
      {"package": "LITE", "ok": false, "detail": "Insufficient Garena shells"},
      {"package": "LITE", "ok": false, "detail": "Insufficient Garena shells"},
      {"package": "LITE", "ok": false, "detail": "Insufficient Garena shells"},
      {"package": "LITE", "ok": false, "detail": "Insufficient Garena shells"}
    ]
  },
  "nickname": "PlayerName"
}

Shell Packages & Codes

code: sgshell shop.garena.sg backend
  • Membership:
    weekly, monthly, lite
  • Levelup:
    lvl10, lvl15, lvl20, lvl25, lvl30, lvlall
  • Diamonds:
    25, 100, 310, 520, 1060, 2180, 5600, 11500
code: shell bdgamesbazar.com backend
  • Membership:
    lite
  • Levelup:
    lvl6, lvl10, lvl15, lvl20, lvl25, lvl30, lvlfull

Shell Detail Messages

Possible values for the detail field on shell top-up responses.

Detail MessageDescription
Success Top-up was completed successfully.
Insufficient garena shells The provided Garena account does not have enough shells to complete the purchase.
Wrong OTP The OTP code provided (if applicable) is incorrect.
UID is invalid The provided Player UID doesn't exist in the game database.
Inaccurate region The region selected does not match the server requirements.
UID region mismatch The player's game account region does not match the Garena Shells region.
Garena server error or wrong shell account Garena servers are down, or the username/password provided is incorrect.
Garena transaction error An unknown error occurred on Garena's side during the transaction.
Level up pass not eligible The player has already purchased the Level Up pass or is not eligible for it.

Notice

Shell API হলো Team Nano Technologies কর্তৃক তৈরি একটি Free Fire স্বয়ংক্রিয় টপ-আপ প্রক্রিয়াকরণ সমাধান। এটি সবচেয়ে দ্রুততম গড় গতিতে অর্ডার সম্পন্ন করে — বাজারের অন্য কোনো API এই গতির সাথে পেরে উঠতে পারে না। এটি মূলত তাদের জন্য তৈরি করা হয়েছে যারা নিজেদের স্টকের মাধ্যমে অটোমেটিক টপ-আপ প্রসেসিং চালু করতে চান। আপনি আপনার Voucher এবং UID পাঠালে এটি তাৎক্ষণিকভাবে ট্রানজেকশন সম্পন্ন করে। আপনি আপনার Garena Shell অ্যাকাউন্টের বিস্তারিত তথ্য এবং UID পাঠালে, এটি আপনার Shell অ্যাকাউন্ট ব্যবহার করে নির্ধারিত খেলোয়াড়ের Free Fire UID-এ তাৎক্ষণিকভাবে টপ-আপ প্রক্রিয়া সম্পন্ন করে। এটি মূলত টপ-আপ ওয়েবসাইট, বট এবং অ্যাপের জন্য তৈরি। নির্ভরযোগ্যতার জন্য উভয় Sync এবং Async এন্ডপয়েন্ট সমর্থিত।