How to use the partner cabinet, API, and BOT-T shop integration. Share this link with your partner.
Missing something? Contact the HiddifySales admin.
Open cabinet Login pageIn the cabinet you monitor balance, key issuances, client-facing names, and API settings.
Partner balance is the same as the linked user’s account wallet. Top up in the /partner Balance section with the same methods as regular clients (card, FPS, crypto, etc.), or via the account cabinet / Telegram bot. An admin can also credit manually.
By default Hiddify may show something like “vp26….site default” or the system RushVPN title. You can set your own brand and template so new keys are labeled for your shop or bot.
Settings: cabinet /partner → Key names. Applies to new issuances (API and BOT-T stock). Old links are not renamed.
| Token | What is inserted |
|---|---|
{brand} | Your brand from settings |
{country} | Server country (Germany, Netherlands…) |
{country_code} | Country code (DE, NL…) |
{server} | Server name in the panel |
{id} | Subscription id |
{order} | external_order_id from the request (falls back to subscription id) |
{note} | client_note from the request (falls back to brand) |
{tariff} | Tariff name |
Examples
{brand} {country} → LostTV Germany{brand} · {country_code} → LostTV · DE{brand} · {order} → LostTV · order-1001We set the title on the Hiddify panel user and append #title to subscription_url. Most clients show that name. Sometimes the panel hostname still appears — that is a raw-panel-URL import quirk, not your template.
For a one-off name on a single issuance, pass profile_name in POST /keys (up to 80 characters). It overrides the cabinet template for that key only:
{
"package": "tariff",
"tariff_id": 12,
"profile_name": "VIP Client DE",
"external_order_id": "order-1001"
}
Use the REST API for your own bot or to stock BOT-T warehouse lines.
Base URL: https://v2raysales.site/api/v1/partner
Auth: X-API-KEY: pk_... or Authorization: Bearer pk_...
| Method | Path | Purpose |
|---|---|---|
| GET | /tariffs | Tariff catalog with your discounted price |
| GET | /servers | Servers and countries (id, country_code) |
| GET | /balance | Shared wallet (same as user account) and quotas |
| POST | /keys | Issue a trial or paid key (country, optional profile_name) |
| GET | /keys/{id} | Get issuance by id |
| GET | /keys/by-order?external_order_id=... | Find by external_order_id |
| GET | /keys/{id}/transfer-targets | Servers this key can move to |
| POST | /keys/{id}/transfer | Change key location (server_id or country_code) |
| POST | /keys/{id}/extend | renew a key by the tariff term (same link, partner_price is charged) |
POST /keys: optional profile_name — one-off client title. Without it, the Key names cabinet template is used. Response field: profile_title.
An active issued key can move to another Hiddify server at no charge: expiry and remaining traffic are kept. The old link stops working — give the client the new subscription_url from the response. Partner balance is not charged.
GET https://v2raysales.site/api/v1/partner/keys/123/transfer-targets
X-API-KEY: pk_YOUR_TOKEN
POST https://v2raysales.site/api/v1/partner/keys/123/transfer
X-API-KEY: pk_YOUR_TOKEN
Content-Type: application/json
{
"country_code": "DE"
}
Pass server_id or country_code (same as issue). Available targets: GET /keys/{id}/transfer-targets. Errors: not_active, same_server, server_not_found, transfer_failed.
Create a key without charging immediately and paste subscription_url into a BOT-T unique product line.
POST https://v2raysales.site/api/v1/partner/keys
X-API-KEY: pk_YOUR_TOKEN
Content-Type: application/json
{
"package": "tariff",
"tariff_id": 12,
"billing": "on_sale",
"external_order_id": "stock-1",
"profile_name": "MyBrand Germany"
}
billing=immediate — charge now (your bot). billing=on_sale — charge after BOT-T payment. profile_name — optional Hiddify title for that stock line.
| error | HTTP |
|---|---|
| unauthorized | 401 |
| forbidden | 403 |
| insufficient_balance | 402 |
| quota_exceeded | 429 |
| validation_error | 422 |
| provisioning_failed | 503 |
BOT-T sells keys from its own stock: the buyer gets a ready link from a stock line. Our part is to give you keys for the stock, check a key before payment and charge the partner price after payment. No programming required.
Contact support — we create your partner account, cabinet login and an API key pk_… (shown once, keep it). Top up in the cabinet → "Balance".
In your BOT-T shop create a product of type "Unique product". You set the retail price. One product = one tariff (e.g. "VPN for 30 days"): do not mix keys of different tariffs in one stock.
Open the product → API section and paste two links. Replace pk_YOUR_TOKEN with the full API key you received when joining (the cabinet "API" page shows only its beginning).
Pre-payment checkhttps://v2raysales.site/api/v1/partner/bot-t/check?api_key=pk_YOUR_TOKEN
Post-payment notifyhttps://v2raysales.site/api/v1/partner/bot-t/notify?api_key=pk_YOUR_TOKEN
The key is passed in the URL because BOT-T cannot send custom headers. Do not publish these links.
In the cabinet open "Key issuances" and click "Create BOT-T stock keys":
Paste them into the unique product stock in BOT-T. One link = one line = one buyer:
https://vpN.example/…/sub/… https://vpN.example/…/sub/… https://vpN.example/…/sub/…
Buy the product in your bot. You get a link from the stock; in the cabinet the key becomes "sold" and the partner price is charged. Open the link in Hiddify / Happ / v2rayTun — the VPN works.
When few lines are left, create a new batch. If the links window was closed, select issuances in the table and choose "Download links (.txt)".
Will the stock refill automatically when I buy keys via the API?
No. Create keys in the cabinet (or via the API) and paste them into the BOT-T stock. There is no automatic BOT-T stock refill.
When am I charged?
Only when a buyer pays for the order in BOT-T. Creating stock keys is free.
What if my balance runs out?
BOT-T cannot hand out a key and the order is not created. Top up — sales continue with the same stock.
Where do I get the pk_… API key?
The administrator issues it when you join. If it is lost, contact support for a new one (then update the links in BOT-T).
BOT-T shop does not use your REST catalog; it uses two webhooks on a unique product card.
Stock keys can also be created via the API — POST /keys with billing=on_sale. The subscription_url in the response is the stock line.
POST https://v2raysales.site/api/v1/partner/keys
X-API-KEY: pk_YOUR_TOKEN
Content-Type: application/json
{"package": "tariff", "tariff_id": 12, "billing": "on_sale", "external_order_id": "stock-1"}
HTTP 200 and JSON only:
{"success": true}
{"success": false}
true — line goes to the order; false — next line. Non-JSON / non-200 — order is not created. Limit: up to 20 lines per order.
The buyer already got the link from BOT-T stock. We accept form-urlencoded (id, status, user[telegram_id], product[data]) and respond with any 2xx.
Up to 3 retries are handled idempotently by BOT-T order id.
The questions bot owners usually ask. Read this first, then message the admin only if something specific is still unclear.
| Tariff | Days | Traffic | Devices | Storefront | Partner |
|---|---|---|---|---|---|
| 1 день | 1 | 5 GB | 2 | 50 ₽ | 35 ₽ |
| 1 месяц (старт) | 30 | 100 GB | 5 | 149 ₽ | 104.3 ₽ |
| 1 месяц | 30 | unlimited | 10 | 249 ₽ | 174.3 ₽ |
| 3 месяца | 90 | unlimited | 10 | 499 ₽ | 349.3 ₽ |
| 6 месяцев | 180 | unlimited | 10 | 899 ₽ | 629.3 ₽ |
| 12 месяцев | 365 | unlimited | 10 | 1 499 ₽ | 1 049.3 ₽ |
Current prices at the standard 30% discount. Your exact price is in GET /tariffs and in the cabinet.
30% off the storefront price (a different rate only by separate agreement). There is no minimum package: you pay per issued key. Live prices are in the Partner prices table above; GET /tariffs returns the same (list_price and your partner_price).
Message the admin that you need partner access. We attach the partner role to your account, open /partner, and issue a pk_… key. No large deposit. Top-up starts at 50 RUB, same as a regular customer. No balance — no paid keys. Balance on the wallet — keys issue. That is the whole model.
For a personal network test: register in our sales Telegram bot — welcome trial keys are issued there (usually an EU location). After partner access is on, the API trial is free: POST /keys with package=trial_1d (price 0). There is no free starter pack of many keys.
Any tariff currently sold on the site. GET /tariffs: duration, traffic (empty traffic_gb means unlimited), partner_price. Device limits match the public plan card. If it is not in the API catalog, you cannot issue it.
No. That is not a partner product: there is no such tariff in the API and none is planned. Do not promise that plan to your users.
Yes, the link stays the same. POST /keys/{id}/extend extends an issued key by the tariff term (the same tariff by default, or pass tariff_id). If the key is still active, the term is added to the current expiry; if it has expired, it counts from the moment of renewal. partner_price is charged from your balance. Pass renewal_id (for example, the payment id in your bot): a retry with the same renewal_id is not charged twice. We do not charge the client's card automatically: your bot takes the payment and then calls extend.
Issuance status, expires_at, and the subscription URL — yes: GET /keys/{id} or GET /keys/by-order. There is no live “N GB left” counter in the partner API today. If your bot needs it, ask — we can add it.
Same as a regular user: Balance in /partner, the site account, or the Telegram bot. Minimum 50 RUB. Same methods as on the site (card, FPS, crypto, etc.). Partner wallet and the linked user wallet are one balance.
Yes. In /partner → Key names set your brand and template (e.g. LostTV {country}). New issuances show that title instead of “vp….site default” / RushVPN. For a one-off name on a single key, pass profile_name in POST /keys. Already issued keys are not renamed.
Yes, same as retail clients: GET /keys/{id}/transfer-targets and POST /keys/{id}/transfer with server_id or country_code. Free; expiry and remaining traffic are kept. The old subscription_url stops working — send the client the new one from the response. Balance is not charged.
Yes. Docs and the cabinet are ours. If you have no developer, hire the BizDevOps integration helper for the bot, BOT-T, payments, and VPS. Quote before work; you contract them directly. They are not HiddifySales key support.
Yes, white-label is allowed. The name, prices, bot and shop are yours; you do not have to show the RushVPN or HiddifySales names to clients. The subscription name in the client app is set in /partner → Key names. We do not ship a separate app under your brand: clients connect with Hiddify, Happ, v2rayNG and other VPN clients. You support your own buyers; network and key questions come to us.
Yes. Typical flow: the bot takes payment → POST /keys with external_order_id → sends the client subscription_url. Renewal: POST /keys/{id}/extend, the client keeps the same link. Status and expiry: GET /keys/{id}. If you do not want to code, connect a BOT-T shop with the ready-made guide or order the integration from BizDevOps.
Android, iPhone and iPad, Windows, macOS, Linux and Android TV. A key is a subscription link: it opens in Hiddify (all platforms), Happ, v2rayNG, NekoBox, Streisand and other clients that support subscriptions. How many devices can connect at once depends on the tariff: see device_limit in GET /tariffs and the Devices column in the price table.