EQVPS

API i MCP resellera (white-label)

Zbuduj własną markę VPS na EQVPS: własne plany, ceny i klienci. 30 narzędzi resellera na tym samym endpoincie MCP, uwierzytelnianie tokenem resellera (rk_).

Auth: pobierz token resellera (rk_…) w panelu Partners (strona API / MCP) i wysyłaj jako Authorization: Bearer rk_…. Jeden endpoint MCP, filtrowany rolą wg tokenu — token resellera odsłania 27 narzędzi reseller_*.

Typowy przepływ

Utwórz plan, dodaj klienta, zamów mu VM; przekaż dostęp pod własną marką.

// Reseller token (rk_...) from the Partners cabinet -> Authorization: Bearer rk_...
// One MCP endpoint, role-filtered: a reseller token exposes the 30 reseller_* tools.
reseller_create_plan({ name, cores, ram_gb, disk_gb, ipv4, location, markup })
reseller_add_client({ email }) -> { client_id }
reseller_order_for_client({ plan_id, client_id, os_id? })   // os_id: see list_plans catalog
reseller_vm_details({ service_id }) -> { access, password }  // deliver to your client

os_id jest opcjonalny — bez niego instalowany jest domyślny system lokalizacji. Dla konkretnego systemu użyj os_id z publicznego katalogu list_plans; rozwiązuje się do właściwego obrazu wg lokalizacji.

Systemy operacyjne i os_id

Dostępnych jest 14 obrazów Linux (poniżej). Przekaż os_id w reseller_order_for_client — pobierz go z publicznego katalogu list_plans. Uwaga: available_os może pokazywać różne id zależnie od lokalizacji; os_id z list_plans rozwiązuje się do właściwego obrazu dla lokalizacji planu. Pomiń os_id, aby użyć domyślnego systemu lokalizacji.

Ubuntu 24.04Ubuntu 22.04Ubuntu 20.04Debian 13Debian 12Debian 11AlmaLinux 9Rocky Linux 9CentOS 7Fedora 41openSUSE Leap 15.6Alpine LinuxArch LinuxCachyOS

Statusy VM

active — działa. provisioning — tworzona (krótkie okno asynchroniczne zaraz po zamówieniu). suspended — wstrzymana (np. zawiesiłeś klienta lub brak płatności); reaktywuj przez reseller_unsuspend_client. cancelled — zakończona (VM usunięta).

Plany
reseller_list_plansList your white-label plans.
reseller_create_planCreate a plan (vCPU/RAM/NVMe/IPv4 + your markup + location).
reseller_edit_planEdit a plan's spec or markup.
reseller_archive_planArchive a plan (hidden from ordering).
reseller_restore_planRestore an archived plan.
Klienci
reseller_list_clientsList your end-clients.
reseller_add_clientAdd an end-client (returns client_id).
reseller_edit_clientEdit an end-client.
reseller_suspend_clientSuspend an end-client.
reseller_unsuspend_clientUnsuspend an end-client.
Zamówienie
reseller_order_for_clientOrder a VM for a client by plan_id + client_id. Spends your wholesale balance.
VM
reseller_list_vmsList client VMs (your plan name + status).
reseller_service_statusProvisioning status of client VMs (active/provisioning/suspended).
reseller_vm_detailsVM details: IP/hostname/root password (white-label delivery). Reveals password once.
reseller_vm_powerStart/stop/reboot a client VM.
reseller_vm_set_hostnameSet a client VM hostname.
reseller_vm_reset_passwordReset a client VM root password (returns a new one).
reseller_vm_metricsCPU/RAM/network/disk over time.
reseller_vm_reinstallReinstall the OS on a client VM (destructive — wipes all data). Pick a new os_id from reseller_list_os.
reseller_vm_cancelTerminate a client VM.
System
reseller_list_osList available OS images (os_id + name) for order/reinstall. Resolves per plan location.
Saldo
reseller_check_balanceYour wholesale prepaid balance.
Zgłoszenia
reseller_create_ticketOpen a support ticket (optional service_id).
reseller_list_ticketsList your tickets.
reseller_get_ticketRead a ticket thread.
reseller_reply_ticketReply on a ticket.
reseller_close_ticketClose a ticket.

Komentarze

Brak komentarzy. Bądź pierwszy.

Zostaw komentarz

Komentarze są moderowane przed pojawieniem się.