API & MCP รีเซลเลอร์ (white-label)
สร้างแบรนด์ VPS ของคุณเองบน EQVPS: แพ็กเกจของคุณ ราคาของคุณ ลูกค้าของคุณ 30 เครื่องมือรีเซลเลอร์บน endpoint MCP เดียวกัน ยืนยันตัวตนด้วยโทเคนรีเซลเลอร์ (rk_)
การยืนยันตัวตน: รับโทเคนรีเซลเลอร์ (rk_…) ในแคบิเน็ตพาร์ทเนอร์ (หน้า API / MCP) แล้วส่งเป็น Authorization: Bearer rk_… endpoint MCP เดียว กรองตามบทบาทด้วยโทเคน — โทเคนรีเซลเลอร์เปิดเผยเครื่องมือ reseller_* จำนวน 30 ตัว
ขั้นตอนทั่วไป
สร้างแพ็กเกจ เพิ่มลูกค้า สั่งซื้อ VM ให้พวกเขา ส่งมอบการเข้าถึงจากแบรนด์ของคุณเอง
// 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 clientos_id ไม่บังคับ — ละไว้เพื่อใช้ OS เริ่มต้นของตำแหน่ง สำหรับ OS ที่เจาะจง ใช้ os_id จากแคตตาล็อก list_plans สาธารณะ มันจะแปลงเป็นอิมเมจที่ถูกต้องต่อตำแหน่ง
ระบบปฏิบัติการและ os_id
มีอิมเมจ Linux 14 ตัว (ด้านล่าง) ส่ง os_id ใน reseller_order_for_client — เอามาจากแคตตาล็อก list_plans สาธารณะ หมายเหตุ: available_os อาจแสดง id ต่างกันต่อตำแหน่ง os_id จาก list_plans จะแปลงเป็นอิมเมจที่ถูกต้องสำหรับตำแหน่งของแพ็กเกจ ละ os_id เพื่อใช้ OS เริ่มต้นของตำแหน่ง
สถานะ VM
active — กำลังทำงาน provisioning — กำลังถูกสร้าง (ช่วง async สั้น ๆ หลังสั่งซื้อ) suspended — ถูกหยุดชั่วคราว (เช่น คุณระงับลูกค้า หรือไม่ชำระเงิน) เปิดใช้งานอีกครั้งด้วย reseller_unsuspend_client cancelled — ถูกยุติ (VM ถูกลบ)
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.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.reseller_order_for_clientOrder a VM for a client by plan_id + client_id. Spends your wholesale balance.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.reseller_list_osList available OS images (os_id + name) for order/reinstall. Resolves per plan location.reseller_check_balanceYour wholesale prepaid balance.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.
ความคิดเห็น
ยังไม่มีความคิดเห็น เป็นคนแรกสิ