API Account
Thông tin chung về API
Endpoint:https://portal.trungtamdev.com/api/v19/account
Phương thức HTTP:
POST
Content-Type:application/x-www-form-urlencoded
Định dạng phản hồi:
JSON
Xác thực Authorization:Authorization: Bearer {auth_token}auth_token={token}
Lấy auth_token tại trang profile
🔒 Cảnh báo bảo mật
- auth_token là chìa khóa truy cập tài khoản - vui lòng bảo mật tuyệt đối
- Không chia sẻ auth_token với bất kỳ ai, kể cả nhân viên hỗ trợ
- Thay đổi auth_token thường xuyên để tăng cường bảo mật
- Nếu nghi ngờ bị lộ, hãy thay đổi ngay lập tức
- Thông tin VPS và tài khoản chỉ hiển thị cho chủ tài khoản
Actions hỗ trợ: services, buy
action=services: danh sách account có thể muaaction=buy: tham sốproductId,quantity,coupon(tuỳ chọn)
JSON mẫu
Request (services)
{"auth_token":"YOUR_TOKEN","action":"services"}
Request (buy)
{"auth_token":"YOUR_TOKEN","action":"buy","productId":12,"quantity":5,"coupon":"ACC5"}
Response (success)
{
"status":"success",
"message":"Mua tài khoản thành công",
"data":{"trans_id":"GD...","quantity":5,"accounts":["u1|p1","u2|p2"]}
}