WELCOME BACK

Enter credentials to access panel

Welcome back
Reseller
Online
—
Reseller Account
Wallet balance—
Your discount—

Dashboard

Wallet
Wallet Balance
—
Updated just now
Total
Generated Keys
—
All generated licenses
Active
Active Keys
—
Currently active licenses
Offline
Offline Keys
—
Inactive but not expired
Expired
Expired Keys
—
Total lifetime expired

Generate Key

Generate single key

Generate bulk keys

Key Actions

Reset key

Add validity

Delete key

Manage Keys

Active
Offline
Expired

Add Money

Your wallet

Balance
—
Your discount
—
Deposit & discount

Loading…

Your key prices

Loading…

Add money

UPI, cards, net banking and wallets. Money lands in your balance the moment the payment clears.

Online payment is switched off right now. Use the QR option below, or contact a supplier on Telegram.

Pay by QR

UPI ID

Tap to copy

No gateway fee on this route. Your balance is credited once the payment is confirmed.

Your QR requests

None yet.

Payment in progress

Order —

Finished paying? Press check. It can take a few seconds to confirm.

Recent deposits

Loading…

Updates

Join TG For Latest Updates

API Access v5

Credential created

This is the only time the secret is shown. Copy it now.

How it works

1
Create a credential
You get an API Key and an API Secret.
2
Paste it into your bot or site
Server-side only. Never in JavaScript or an APK.
3
Your customer pays you
You collect the money however you like.
4
Your bot calls create_key
Money leaves your balance, a key comes back.
Keys start counting on first use. A key you generate today and sell next week still gives your customer the full duration. Until their device connects it shows offline and never expires.
Reference

Authentication

Send both values as headers on every call.

X-API-Key:    kd_your_key
X-API-Secret: sk_your_secret

Or as ordinary POST fields api_key and api_secret.

Endpoints
actionWhat it does
pingHealth check, no auth
balanceYour wallet balance in ₹
accountBalance, discount tier and key counts
productsProducts you can issue keys for
plansDurations and your discounted price
priceCost preview before charging
create_keyThe main one. Charges your balance, returns a key
create_bulkUp to 100 keys in one call
key_infoStatus, expiry, device count
list_keysYour keys, filterable by buyer
reset_keyClear device bindings
stop_key / resume_keyBlock or unblock, expiry untouched
extend_keyAdd days, charges again
Pricing

Every price is in rupees and already includes your discount tier.

DurationBaseYour price
Your tier is set by lifetime deposits: ₹1,000 unlocks 10% off, ₹2,000 unlocks 20%, ₹3,000 unlocks 30% — the maximum. Once unlocked a tier is permanent and applies to every product.
create_key
FieldMeaning
product_idrequiredFrom products
daysrequired1, 3, 7, 14, 30
devicesoptionalDevice slots, default 1
order_refoptionalYour order id — blocks double charging
buyer_refoptionalYour customer id, e.g. Telegram user id
key_nameoptionalCustom name, X- added automatically
Always send order_ref. If the same value arrives twice — network retry, double tap, bot restart — you get the original key back with "duplicate": true and no second charge.
Response
{
  "ok": true,
  "data": {
    "key": "X-A7K2M9P4",
    "product": "PUBG Mobile",
    "days": 7,
    "cost": 1.00,
    "balance_left": 147.50,
    "status": "offline",
    "expires_at": null,
    "duplicate": false
  }
}
Error codes
codeHTTPMeaning
AUTH_FAILED401Wrong key/secret, or revoked
IP_BLOCKED403Caller IP not whitelisted
RATE_LIMIT429Too many calls this minute
NO_BALANCE402Wallet balance too low
NO_PRODUCT400product_id missing or disabled
BAD_PLAN400Not a valid duration
MAINTENANCE503Product temporarily off
NAME_TAKEN409Custom key_name exists
NOT_FOUND404Key is not yours
PHP
function keydock($action, $params = []) {
    $ch = curl_init('');
    curl_setopt_array($ch, [
        CURLOPT_POST           => true,
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_TIMEOUT        => 30,
        CURLOPT_HTTPHEADER     => [
            'X-API-Key: '    . KEYDOCK_KEY,
            'X-API-Secret: ' . KEYDOCK_SECRET,
        ],
        CURLOPT_POSTFIELDS => http_build_query(['action' => $action] + $params),
    ]);
    $r = curl_exec($ch);
    curl_close($ch);
    return json_decode($r, true);
}

$res = keydock('create_key', [
    'product_id' => 1,
    'days'       => 7,
    'order_ref'  => 'ORDER-' . $orderId,
    'buyer_ref'  => $telegramUserId,
]);

if ($res['ok']) {
    $key = $res['data']['key'];   // hand this to the buyer
} else {
    error_log('KeyDock: ' . $res['error']);
}
Python — Telegram bot
import requests

BASE   = ""
KEY    = "kd_your_key"
SECRET = "sk_your_secret"

def keydock(action, **params):
    r = requests.post(
        BASE,
        headers={"X-API-Key": KEY, "X-API-Secret": SECRET},
        data={"action": action, **params},
        timeout=30,
    )
    return r.json()

res = keydock("create_key",
              product_id=1,
              days=7,
              order_ref=f"TG-{order_id}",
              buyer_ref=str(user_id))

if res["ok"]:
    await message.reply(f"Your key: `{res['data']['key']}`")
else:
    await message.reply(f"Failed: {res['error']}")
Node.js
const BASE   = "";
const KEY    = "kd_your_key";
const SECRET = "sk_your_secret";

async function keydock(action, params = {}) {
  const res = await fetch(BASE, {
    method: "POST",
    headers: {
      "X-API-Key": KEY,
      "X-API-Secret": SECRET,
      "Content-Type": "application/x-www-form-urlencoded",
    },
    body: new URLSearchParams({ action, ...params }),
  });
  return res.json();
}

const r = await keydock("create_key", {
  product_id: 1, days: 7,
  order_ref: `ORDER-${orderId}`,
  buyer_ref: String(userId),
});

if (r.ok) console.log("Key:", r.data.key);
else      console.error("Failed:", r.error);
cURL — quick test
curl -X POST "" \
  -H "X-API-Key: kd_your_key" \
  -H "X-API-Secret: sk_your_secret" \
  -d "action=balance"
Create a credential

Up to 5 active credentials.

Your credentials

Loading…

Recent calls

Loading…

Settings

Change Password

Menu

Dashboard
Generate Key
Key Actions
Manage Keys
API Access
Add Money
Updates
Settings