Tài liệu API
Thông Tin Tích Hợp API
Vui Lòng Không Để Lộ APIKEY Tránh Mất Tiền.Ghi Chú
Cần tạo site con ib ngay admin, phí tạo free!Hỗ trợ nhanh qua Telegram: Nguyễn Minh Hiếu
API lấy số dư:
// response
{
"status": "success",
"message": "Th\u00e0nh c\u00f4ng",
"data": {
"username": "dichvuright",
"coin": "100000",
"email": "[email protected]",
"ck": "50"
}
}
API lấy giá server:
// response
{
"status": "success",
"message": "Thành công",
"data": [
{
"id": "1",
"name": "Server 1",
"price": 10000,
"quantity": 89,
"limit_second": "1"
},
{
"id": "2",
"name": "Server 2",
"price": 10000,
"quantity": 0,
"limit_second": "5"
}
]
}
API mua dịch vụ:
// Form Data
linkcron=link cần cron
timeloop=số giây chạy
maychucron=1 (id máy chủ cron)
thoigiangiahan=1 (số tháng cần thuê)
token=aba1f665dbc7a472e2eoinOSi0o49ee (token user, lấy trong thông tin)
// Response
{
"status": "success",
"msg": "Thanh toán đơn hàng thành công",
"data": {
"trans_id": "TLOH1707060491",
"url": "https://cloudre1s.com",
"second": "5",
"price": 50000,
"status": "hoatdong",
"created_at": "2024/02/04 22:28:12",
"expired_date": "2024/07/03 22:28:12",
"expired_timestamp": 1720020492
}
}
API chỉnh sửa cron:
// Form Data
action=edit
url=link cron
second=số giây chạy
trans_id=dsajh3u (mã đơn hàng)
token=aba1f665dbc7a472e2eoinOSi0o49ee (token user, lấy trong thông tin)
// Response
{
"status": "success",
"msg": "Cập nhật thành công"
}
API chạy cron:
// Form Data
action=edit
url=link cron
second=số giây chạy
trans_id=dsajh3u (mã đơn hàng)
token=aba1f665dbc7a472e2eoinOSi0o49ee (token user, lấy trong thông tin)
// Response
{
"status": "success",
"msg": "Cập nhật thành công"
}
API dừng cron:
// Form Data
action=stop
trans_id=dsajh3u (mã đơn hàng)
token=aba1f665dbc7a472e2eoinOSi0o49ee (token user, lấy trong thông tin)
// Response
{
"status": "success",
"msg": "Đã dừng cron thành công"
}
API gia hạn cron:
// Form Data
action=giahan
month=số tháng
trans_id=dsajh3u (mã đơn hàng)
token=aba1f665dbc7a472e2eoinOSi0o49ee (token user, lấy trong thông tin)
// Response
{
"status": "success",
"msg": "Gia hạn thành công",
"expired_date": "2024/11/30 22:28:11",
"expired_timestamp": 1732980491
}
API lấy lịch sử cron:
// response
{
"status": "success",
"message": "Thành công",
"data": [
{
"trans_id": "FJH01707142352",
"url": "https://dichvuright.com/lebao/dz.php",
"server": "1",
"second": "10",
"status": "hoatdong",
"response": null,
"created_at": "2024/02/05 21:12:32",
"expired_date": "2024/03/06 21:12:32",
"expired_timestamp": "1709734352"
}
]
}
API lấy lịch sử theo từng trans_id:
// response
{
"status": "success",
"message": "Thành công",
"data": {
"trans_id": "FJH01707142352",
"url": "https://dichvuright.com/dichvuright/dz.php",
"server": "1",
"second": "10",
"status": "hoatdong",
"response": null,
"created_at": "2024/02/05 21:12:32",
"expired_date": "2024/03/06 21:12:32",
"expired_timestamp": "1709734352"
}
}