VIP Support =>

API Access Token

Sử dụng trong body request: auth_token={token}

WARNING: This Token is absolutely confidential, not shared with anyone.
List of services

Get a list of available VPS services.

Endpoint
https://taivps.net/en/api/v19
Parameter
ParameterObligatoryDescribe
auth_token Có User authentication token
action Có Value: loaivps
Sample JSON response
[
 {
 "type": "vps-gold",
 "name": "VPS Gold"
 },
 {
 "type": "vps-platinum",
 "name": "VPS Platinum"
 },
 {
 "type": "vps-vip",
 "name": "VPS VIP"
 }
]
Sample error response
{
 "status": "error",
 "message": "Loại Vps Không Có"
}

LIVE RESPONSE STATUS
Waiting...
Danh sách gói vps

Get a list of available VPS plans.

Endpoint
https://taivps.net/en/api/v19
Parameter
ParameterObligatoryDescribe
auth_token Có Authentication tokens
action Có Value: services
type Có Value: vps-platinum
Sample JSON response
{
 "status": "success",
 "message": "Danh sách gói VPS khả dụng",
 "data": [
 {
 "id": "1",
 "name": "Plan 1-1-20 | Giờ",
 "price": {
 "hourly": {
 "amount": 1000
 },
 "monthly": {
 "amount": null
 },
 "quarterly": {
 "amount": null
 },
 "semi_annually": {
 "amount": null
 },
 "yearly": {
 "amount": null
 }
 },
 "renew_price": {
 "hourly": {
 "amount": 1858
 },
 "monthly": {
 "amount": null
 },
 "quarterly": {
 "amount": null
 },
 "semi_annually": {
 "amount": null
 },
 "yearly": {
 "amount": null
 }
 },
 "specs": {
 "cpu": 1,
 "ram": 1,
 "ram_raw": 1024,
 "disk": 20,
 "bandwidth": "Không giới hạn",
 "network_speed": 0,
 "network_speed_text": "",
 "upload_speed": 50,
 "upload_speed_text": "50 Mbps",
 "ipv4": 1,
 "ipv6": 0,
 "ipv6_subnet": 0,
 "cpu_model": "",
 "ram_type": "",
 "disk_type": "SSD NVMe",
 "backup_policy": "",
 "virtualization": "KVM",
 "display_network": "Download 10Gbps\/Upload 50Mbps",
 "display_feature": "Ảo hóa KVM"
 },
 "is_hourly": true
 },
 {
 "id": "11",
 "name": "1-1-CTV",
 "price": {
 "hourly": {
 "amount": 0
 },
 "monthly": {
 "amount": 28000
 },
 "quarterly": {
 "amount": 84000
 },
 "semi_annually": {
 "amount": 168000
 },
 "yearly": {
 "amount": 336000
 }
 },
 "renew_price": {
 "hourly": {
 "amount": 0
 },
 "monthly": {
 "amount": 52000
 },
 "quarterly": {
 "amount": 156000
 },
 "semi_annually": {
 "amount": 312000
 },
 "yearly": {
 "amount": 624000
 }
 },
 "specs": {
 "cpu": 1,
 "ram": 1,
 "ram_raw": 1024,
 "disk": 20,
 "bandwidth": "Không giới hạn",
 "network_speed": 0,
 "network_speed_text": "",
 "upload_speed": 244,
 "upload_speed_text": "244 Mbps",
 "ipv4": 1,
 "ipv6": 0,
 "ipv6_subnet": 0,
 "cpu_model": "",
 "ram_type": "",
 "disk_type": "SSD NVMe",
 "backup_policy": "Backup 2 ngày\/ lần",
 "virtualization": "KVM",
 "display_network": "Upload 244Mbps",
 "display_feature": "Backup 2 ngày\/ lần"
 },
 "is_hourly": false
 }
 ]
}
Sample error response
{
 "status": "error",
 "message": "Cloud Vps Không Có"
}

LIVE RESPONSE STATUS
Waiting...
List of operating systems

Get the list of available operating systems.

Endpoint
https://taivps.net/en/api/v19
Parameter
ParameterObligatoryDescribe
auth_token Có Authentication tokens
action Có Value: os
provider Không Mã nguồn image do hệ thống trả về; bỏ trống để dùng image mặc định
Sample JSON response
[
 {
 "id": 100141,
 "name": "windows-2012r2"
 },
 {
 "id": 100150,
 "name": "windows-2019"
 },
 {
 "id": 100151,
 "name": "windows-2022"
 },
 {
 "id": 100152,
 "name": "almalinux-8.4-x86_64"
 }
]
Sample error response
{
 "status": "error",
 "message": "auth_token không hợp lệ"
}

LIVE RESPONSE STATUS
Waiting...
Danh sách Addons

Get the list of available VPS addons.

Endpoint
https://taivps.net/en/api/v19
Parameter
ParameterObligatoryDescribe
auth_token Có Authentication tokens
action Có Value: addons
type Có Value: vps-platinum
Sample JSON response
{
 "status": "success",
 "data": [
 {
 "id": "16",
 "name": "Mua thêm CPU",
 "type_addon": "addon_cpu"
 }
 ]
}
Sample error response
{
 "status": "error",
 "message": "Không có addon VPS nào"
}

LIVE RESPONSE STATUS
Waiting...
[['auth_token', 'String', 'Có', 'Token xác thực'], ['action', 'String', 'Có', 'Giá trị: listvps'], ['type', 'String', 'Có', 'Giá trị: vps-platinum'], ['refresh', 'String', 'Không', 'Gửi 1 hoặc true để bỏ cache 15 giây và đồng bộ provider ngay']], '{ "status": "success", "message": "Danh sách VPS của bạn", "status_sync": { "performed": true, "cached": false, "synced": 1, "errors": [] }, "data": [ { "id": "2", "vps_id": "2138", "status": "active", "provider": "h2cloud", "price": 28000, "paid_price": 28000, "shop_price": 28000, "renew_price": 52000, "ip": "160.250.247.238", "username": "Administrator", "password": "StrongPass123", "os": "windows-2022", "billingcycle": 1, "provider_cycle_id": "monthly", "product_name": "1-1-CTV", "last_provider_sync_at": "2026-09-08 10:15:00", "created_at": "2026-09-06 14:05:26", "expired_at": "2026-10-06 14:05:26" } ] }', '{ "status": "error", "message": "Bạn chưa có VPS nào" }'); ?>
Mua VPS

Buy a new VPS package.

Endpoint
https://taivps.net/en/api/v19
Parameter
ParameterObligatoryDescribe
auth_token Có Token
action Có Value: buy
type Có Giá trị: vps_vn hoặc vps_nn
vpsId Có ID gói VPS lấy từ action=services
osid Có ID hệ điều hành lấy từ action=os; image ID có thể là chuỗi
billingcycle Có Gửi đúng chu kỳ mà gói trả về từ action=services
hostname Không Hostname VPS, ví dụ: server01
location_id Không Mã location được trả về khi chọn gói VPS quốc tế
Sample JSON response
{
 "status": "success",
 "msg": "Mua VPS thành công",
 "vps_id": 1,
 "idvps": "1",
 "ip": "160.250.247.238",
 "username": "Administrator",
 "password": "StrongPass123",
 "data": {
 "vps_id": 1,
 "idvps": "1",
 "provider_vps_id": "2138",
 "ip": "160.250.247.238",
 "username": "Administrator",
 "password": "StrongPass123",
 "user": "Administrator",
 "pass": "StrongPass123",
 "os": "windows-2022",
 "price": 28000,
 "billingcycle": 1,
 "expired_at": "2026-10-06 14:05:26",
 "expired": "2026-10-06 14:05:26"
 }
}
Sample error response
{
 "status": "error",
 "message": "Chu kỳ thanh toán không hợp lệ. Gói theo giờ chỉ nhận billingcycle=0\/hour. Gói theo tháng chỉ nhận 1, 3, 6, 12, 24, 36.",
 "field": "billingcycle",
 "received": "2",
 "allowed": [
 "0",
 "hour",
 "0\/hour",
 "1",
 "3",
 "6",
 "12",
 "24",
 "36"
 ],
 "examples": {
 "hour": {
 "vpsId": 1,
 "billingcycle": "0\/hour"
 },
 "monthly": {
 "vpsId": 11,
 "billingcycle": "1"
 },
 "quarterly": {
 "vpsId": 11,
 "billingcycle": "3"
 },
 "yearly": {
 "vpsId": 11,
 "billingcycle": "12"
 }
 }
}

ID gói VPS lấy từ API action=services, không phải ID VPS đã mua.
ID hệ điều hành lấy từ API action=os, ví dụ Windows Server 2019 dùng đúng ID trả về trong danh sách OS.
Chọn đúng theo gói trong action=services. Gói is_hourly=true chỉ dùng 0/hour, hour hoặc 0. Gói is_hourly=false chỉ dùng 1, 3, 6, 12, 24, 36.
LIVE RESPONSE STATUS
Waiting...
Start VPS

Start a VPS.

Endpoint
https://taivps.net/en/api/v19
Parameter
ParameterObligatoryDescribe
auth_token Có Token
action Có Value: start
type Có VPS type
param Có ID VPS
Sample JSON response
{
 "status": "success",
 "message": "Khởi động VPS thành công"
}
Sample error response
{
 "status": "error",
 "message": "VPS đã hết hạn"
}

LIVE RESPONSE STATUS
Waiting...
Turn off VPS

Shut down a VPS.

Endpoint
https://taivps.net/en/api/v19
Parameter
ParameterObligatoryDescribe
auth_token Có Token
action Có Value: stop
type Có VPS type
param Có ID VPS
Sample JSON response
{
 "status": "success",
 "message": "Tắt VPS thành công"
}
Sample error response
{
 "status": "error",
 "message": "VPS đã hết hạn"
}

LIVE RESPONSE STATUS
Waiting...
Restart the VPS

Restart a VPS.

Endpoint
https://taivps.net/en/api/v19
Parameter
ParameterObligatoryDescribe
auth_token Có Token
action Có Value: restart
type Có VPS type
param Có ID VPS
Sample JSON response
{
 "status": "success",
 "message": "Khởi động lại VPS thành công"
}
Sample error response
{
 "status": "error",
 "message": "VPS đã hết hạn"
}

LIVE RESPONSE STATUS
Waiting...
Reinstall VPS

Reinstall the operating system.

Endpoint
https://taivps.net/en/api/v19
Parameter
ParameterObligatoryDescribe
auth_token Có Token
action Có Value: rebuild
type Có VPS type
param Có ID VPS
os Có ID trả về từ action=os. Ví dụ Windows Server 2019 dùng đúng id API trả về
Sample JSON response
{
 "status": "success",
 "message": "Cài lại HĐH thành công, chờ ít phút thông tin sẽ gửi về"
}
Sample error response
{
 "status": "error",
 "message": "OS hoặc VPS không hợp lệ",
 "valid_os_ids": [
 {
 "id": 100150,
 "name": "windows-2019"
 }
 ]
}

LIVE RESPONSE STATUS
Waiting...
Renew VPS

Gia hạn VPS đã mua. Không dùng action=buy để gia hạn vì action=buy sẽ tạo VPS mới. Tiền gia hạn tính theo giá gói hiện tại cộng addon CPU/RAM/Disk đang có trên VPS.

Endpoint
https://taivps.net/en/api/v19
Parameter
ParameterObligatoryDescribe
auth_token Có Token
action Có Value: extend
type Có VPS type
param Có ID VPS đã mua, lấy trường id từ action=listvps. Đây không phải ID gói vpsId trong action=services.
billingcycle Không Chỉ nhập một giá trị: 0/hour nếu VPS theo giờ; hoặc 1, 3, 6, 12, 24, 36 nếu VPS theo tháng. Bỏ trống thì dùng chu kỳ hiện tại của VPS.
Sample JSON response
{
 "status": "success",
 "message": "Gia hạn VPS thành công",
 "id": 229,
 "amount": 100000,
 "expired_at": "2026-10-07 12:00:00"
}
Sample error response
{
 "status": "error",
 "message": "Chu kỳ thanh toán không hợp lệ. billingcycle chỉ nhận một trong các giá trị: 0, hour hoặc 0\/hour cho gói theo giờ; 1, 3, 6, 12, 24, 36 cho gói theo tháng.",
 "field": "billingcycle",
 "received": "2",
 "allowed": [
 "0",
 "hour",
 "0\/hour",
 "1",
 "3",
 "6",
 "12",
 "24",
 "36"
 ]
}

ID VPS đã mua lấy từ trường id trong action=listvps. Không dùng vpsId của gói; muốn gia hạn phải dùng action=extend, không dùng action=buy.
Chọn đúng theo gói trong action=services. Gói is_hourly=true chỉ dùng 0/hour, hour hoặc 0. Gói is_hourly=false chỉ dùng 1, 3, 6, 12, 24, 36.
LIVE RESPONSE STATUS
Waiting...
Transfer VPS rights

Transfer VPS to another user.

Endpoint
https://taivps.net/en/api/v19
Parameter
ParameterObligatoryDescribe
auth_token Có Token
action Có Value: transfer
type Có VPS type
param Có ID VPS
email Có Email received
Sample JSON response
{
 "status": "success",
 "message": "Chuyển quyền thành công"
}
Sample error response
{
 "status": "error",
 "message": "Email không hợp lệ"
}

LIVE RESPONSE STATUS
Waiting...
Upgrade VPS

Upgrade CPU, RAM, Disk.

Endpoint
https://taivps.net/en/api/v19
Parameter
ParameterObligatoryDescribe
auth_token Có Token
action Có Value: upgrade
type Có VPS type
param Có ID VPS
cpu Không Số core cộng thêm
ram Không Số GB RAM cộng thêm, ví dụ 1 = +1GB
disk Không Số GB disk cộng thêm, phải theo block 10GB
Sample JSON response
{
 "status": "success",
 "message": "Nâng cấp VPS thành công"
}
Sample error response
{
 "status": "error",
 "message": "Số dư không đủ"
}

LIVE RESPONSE STATUS
Waiting...
Thông tin Profile

Get account information.

Endpoint
https://taivps.net/en/api/v19
Parameter
ParameterObligatoryDescribe
auth_token Có Token
action Có Value: profile
Sample JSON response
{
 "status": "success",
 "data": {
 "money": "800",
 "username": "admin",
 "email": "[email protected]"
 }
}
Sample error response
{
 "status": "error",
 "message": "Token không hợp lệ"
}

LIVE RESPONSE STATUS
Waiting...
Poweroff VPS

Tắt nguồn VPS.

Endpoint
https://taivps.net/en/api/v19
Parameter
ParameterObligatoryDescribe
auth_token Có Token
action Có Giá trị: poweroff
type Có VPS type
param Có ID VPS
Sample JSON response
{
 "status": "success",
 "message": "Lệnh poweroff thao tác máy chủ thành công"
}
Sample error response
{
 "status": "error",
 "message": "VPS không hợp lệ"
}

LIVE RESPONSE STATUS
Waiting...
Đổi mật khẩu VPS

Đổi mật khẩu VPS.

Endpoint
https://taivps.net/en/api/v19
Parameter
ParameterObligatoryDescribe
auth_token Có Token
action Có Giá trị: change_password
type Có VPS type
param Có ID VPS
password Có Mật khẩu mới, tối thiểu 8 ký tự
Sample JSON response
{
 "status": "success",
 "message": "Đổi mật khẩu VPS thành công"
}
Sample error response
{
 "status": "error",
 "message": "Mật khẩu tối thiểu 8 ký tự"
}

LIVE RESPONSE STATUS
Waiting...
Đổi hostname VPS

Đổi hostname VPS.

Endpoint
https://taivps.net/en/api/v19
Parameter
ParameterObligatoryDescribe
auth_token Có Token
action Có Giá trị: change_hostname
type Có VPS type
param Có ID VPS
hostname Có Hostname mới
Sample JSON response
{
 "status": "success",
 "message": "Đổi hostname VPS thành công"
}
Sample error response
{
 "status": "error",
 "message": "Hostname không hợp lệ"
}

LIVE RESPONSE STATUS
Waiting...
Bật/tắt auto renew VPS

Bật hoặc tắt tự động gia hạn VPS. Bắt buộc truyền enabled, VPS theo giờ không hỗ trợ bật auto renew.

Endpoint
https://taivps.net/en/api/v19
Parameter
ParameterObligatoryDescribe
auth_token Có Token
action Có Giá trị: auto_renew
type Có VPS type
param Có ID VPS
enabled Có 1/true/on để bật, 0/false/off để tắt
Sample JSON response
{
 "status": "success",
 "message": "Cập nhật auto renew thành công"
}
Sample error response
{
 "status": "error",
 "message": "VPS theo giờ không hỗ trợ bật auto_renew"
}

LIVE RESPONSE STATUS
Waiting...
Hủy VPS

Gửi lệnh hủy VPS và cập nhật local.

Endpoint
https://taivps.net/en/api/v19
Parameter
ParameterObligatoryDescribe
auth_token Có Token
action Có Giá trị: cancel
type Có VPS type
param Có ID VPS
Sample JSON response
{
 "status": "success",
 "message": "Hủy VPS thành công"
}
Sample error response
{
 "status": "error",
 "message": "Không hủy được VPS"
}

LIVE RESPONSE STATUS
Waiting...
Danh sách gói Reseller Hosting

Lấy danh sách gói Reseller Hosting đang bán cho khách tạo hosting con qua WHM/cPanel.

Endpoint
https://taivps.net/en/api/v19
Parameter
ParameterObligatoryDescribe
auth_token Có Token
action Có Giá trị: reseller_packages
Sample JSON response
{
 "status": "success",
 "message": "Danh sách gói reseller hosting",
 "data": [
 {
 "id": 1,
 "name": "Reseller 10GB",
 "price": 28000
 }
 ]
}
Sample error response
{
 "status": "error",
 "message": "Thông tin xác thực không hợp lệ"
}

LIVE RESPONSE STATUS
Waiting...
Danh sách server cấp Reseller

Lấy trạng thái máy chủ dùng để cấp tài khoản WHM Reseller.

Endpoint
https://taivps.net/en/api/v19
Parameter
ParameterObligatoryDescribe
auth_token Có Token
action Có Giá trị: reseller_servers
check_whm Không 1 để kiểm tra WHM realtime
Sample JSON response
{
 "status": "success",
 "message": "Danh sách server cấp Reseller Hosting",
 "data": [
 {
 "id": 1,
 "server_name": "WHM-1",
 "health": {
 "status": "online"
 }
 }
 ]
}
Sample error response
{
 "status": "error",
 "message": "Thông tin xác thực không hợp lệ"
}

LIVE RESPONSE STATUS
Waiting...
Danh sách đơn Reseller Hosting

Lấy danh sách gói Reseller Hosting của tài khoản API.

Endpoint
https://taivps.net/en/api/v19
Parameter
ParameterObligatoryDescribe
auth_token Có Token
action Có Giá trị: reseller_orders
Sample JSON response
{
 "status": "success",
 "message": "Danh sách đơn Reseller Hosting",
 "data": [
 {
 "id": 1,
 "domain": "example.com",
 "username": "example",
 "status": "active"
 }
 ]
}
Sample error response
{
 "status": "error",
 "message": "Thông tin xác thực không hợp lệ"
}

LIVE RESPONSE STATUS
Waiting...
Chi tiết đơn Reseller Hosting

Lấy chi tiết một đơn Reseller Hosting.

Endpoint
https://taivps.net/en/api/v19
Parameter
ParameterObligatoryDescribe
auth_token Có Token
action Có Giá trị: reseller_detail
order_id Có ID đơn Reseller Hosting
Sample JSON response
{
 "status": "success",
 "message": "Chi tiết đơn Reseller Hosting",
 "data": {
 "id": 1,
 "domain": "example.com",
 "username": "example"
 }
}
Sample error response
{
 "status": "error",
 "message": "Không tìm thấy đơn Reseller Hosting"
}

LIVE RESPONSE STATUS
Waiting...
Mua Reseller Hosting

Tạo tài khoản WHM Reseller để khách tự tạo và bán hosting con.

Endpoint
https://taivps.net/en/api/v19
Parameter
ParameterObligatoryDescribe
auth_token Có Token
action Có Giá trị: reseller_buy
product_id Có ID gói Reseller Hosting
domain Có Domain chính của tài khoản reseller
username Có User WHM Reseller 1-16 ký tự
password Có Mật khẩu WHM Reseller
billing_cycle Không Số tháng: 1, 3, 6, 12
server_id Không Chỉ định server cấp reseller
Sample JSON response
{
 "status": "success",
 "message": "Tạo Reseller Hosting thành công",
 "data": {
 "order_id": 1,
 "domain": "example.com",
 "username": "example"
 }
}
Sample error response
{
 "status": "error",
 "message": "Số dư không đủ"
}

LIVE RESPONSE STATUS
Waiting...
SSO WHM/cPanel

Tạo link đăng nhập nhanh vào WHM/cPanel của gói Reseller Hosting.

Endpoint
https://taivps.net/en/api/v19
Parameter
ParameterObligatoryDescribe
auth_token Có Token
action Có Giá trị: reseller_sso
order_id Có ID đơn Reseller Hosting
app Không filemanager, mysql, email, wordpress
Sample JSON response
{
 "status": "success",
 "message": "Tạo phiên SSO thành công",
 "data": {
 "url": "https:\/\/..."
 }
}
Sample error response
{
 "status": "error",
 "message": "Không tạo được phiên SSO"
}

LIVE RESPONSE STATUS
Waiting...
Đổi mật khẩu Reseller

Đổi mật khẩu tài khoản WHM Reseller.

Endpoint
https://taivps.net/en/api/v19
Parameter
ParameterObligatoryDescribe
auth_token Có Token
action Có Giá trị: reseller_change_password
order_id Có ID đơn Reseller Hosting
password Có New password
Sample JSON response
{
 "status": "success",
 "message": "Đổi mật khẩu Reseller Hosting thành công"
}
Sample error response
{
 "status": "error",
 "message": "Mật khẩu tối thiểu 8 ký tự"
}

LIVE RESPONSE STATUS
Waiting...
Đổi domain Reseller

Đổi domain chính của tài khoản WHM Reseller.

Endpoint
https://taivps.net/en/api/v19
Parameter
ParameterObligatoryDescribe
auth_token Có Token
action Có Giá trị: reseller_change_domain
order_id Có ID đơn Reseller Hosting
domain Có Domain mới
Sample JSON response
{
 "status": "success",
 "message": "Đổi domain chính thành công"
}
Sample error response
{
 "status": "error",
 "message": "Domain không hợp lệ"
}

LIVE RESPONSE STATUS
Waiting...
Khóa/mở Reseller

Suspend hoặc unsuspend tài khoản WHM Reseller.

Endpoint
https://taivps.net/en/api/v19
Parameter
ParameterObligatoryDescribe
auth_token Có Token
action Có Giá trị: reseller_suspend
order_id Có ID đơn Reseller Hosting
Sample JSON response
{
 "status": "success",
 "message": "Suspend Reseller Hosting thành công"
}
Sample error response
{
 "status": "error",
 "message": "Không suspend được Reseller Hosting"
}

LIVE RESPONSE STATUS
Waiting...
Mở khóa Reseller

Mở khóa tài khoản WHM Reseller bị suspend.

Endpoint
https://taivps.net/en/api/v19
Parameter
ParameterObligatoryDescribe
auth_token Có Token
action Có Giá trị: reseller_unsuspend
order_id Có ID đơn Reseller Hosting
Sample JSON response
{
 "status": "success",
 "message": "Mở khóa Reseller Hosting thành công"
}
Sample error response
{
 "status": "error",
 "message": "Không mở khóa được Reseller Hosting"
}

LIVE RESPONSE STATUS
Waiting...
Xóa Reseller

Terminate tài khoản WHM Reseller trên server cấp dịch vụ.

Endpoint
https://taivps.net/en/api/v19
Parameter
ParameterObligatoryDescribe
auth_token Có Token
action Có Giá trị: reseller_terminate
order_id Có ID đơn Reseller Hosting
Sample JSON response
{
 "status": "success",
 "message": "Xóa Reseller Hosting thành công"
}
Sample error response
{
 "status": "error",
 "message": "Không xóa được Reseller Hosting"
}

LIVE RESPONSE STATUS
Waiting...
Thống kê Reseller

Lấy disk/quota/accountsummary của tài khoản WHM Reseller.

Endpoint
https://taivps.net/en/api/v19
Parameter
ParameterObligatoryDescribe
auth_token Có Token
action Có Giá trị: reseller_stats
order_id Có ID đơn Reseller Hosting
Sample JSON response
{
 "status": "success",
 "message": "Thống kê Reseller Hosting",
 "data": {
 "disk_used": "0M",
 "disk_limit": "10240M"
 }
}
Sample error response
{
 "status": "error",
 "message": "Không lấy được thống kê Reseller Hosting"
}

LIVE RESPONSE STATUS
Waiting...
Get the list of VPS Plans POST

Get service package information.

Endpoint
https://taivps.net/en/api/get-products.php
Body parameter
KeyTypeRequestDescribe
token String Obligatory Token API

RESPONSE JSON STATUS
Waiting...
Get the OS list POST

Get the list of operating systems.

Endpoint
https://taivps.net/en/api/get-os.php
Body parameter
KeyTypeRequestDescribe
token String Obligatory Token API

RESPONSE JSON STATUS
Waiting...
Buy New VPS POST

Create a VPS purchase order.

Endpoint
https://taivps.net/en/api/buy-vps.php
Body parameter
KeyTypeRequestDescribe
token String Obligatory Token API
product_id Int Obligatory ID gói từ get-products.php
os_id Int Obligatory ID OS
billing_cycle String Obligatory Gói giờ dùng 0 hoặc 0/hour; gói tháng dùng 1,3,6,12,24,36
quantity Int Options Quantity

RESPONSE JSON STATUS
Waiting...
Thao tác VPS POST

Enable/Disable/Restart/Renew.

Endpoint
https://taivps.net/en/api/vps-action.php
Body parameter
KeyTypeRequestDescribe
token String Obligatory Token API
vps_id Int Obligatory Order ID
action String Obligatory on|off|restart|renew
cycle Int Options Number of months

RESPONSE JSON STATUS
Waiting...
Upgrade VPS POST

Mua thêm tài nguyên.

Endpoint
https://taivps.net/en/api/upgrade-vps.php
Body parameter
KeyTypeRequestDescribe
token String Obligatory Token API
vps_id Int Obligatory ID VPS
cpu Int Options Core thêm
ram Int Options RAM thêm
disk Int Options Disk thêm

RESPONSE JSON STATUS
Waiting...
Reinstall OS POST

Newly install the operating system.

Endpoint
https://taivps.net/en/api/reinstall-vps.php
Body parameter
KeyTypeRequestDescribe
token String Obligatory Token API
vps_id Int Obligatory ID VPS
os_id Int Obligatory New OS ID

RESPONSE JSON STATUS
Waiting...
Thông tin User POST

Get account balance.

Endpoint
https://taivps.net/en/api/get-user-info.php
Body parameter
KeyTypeRequestDescribe
token String Obligatory Token API

RESPONSE JSON STATUS
Waiting...