Image-user
Trang chủ Kiếm tiền Thông tin HDSD

WEBSITE CHẠY SPIN CỦA NGUYỄN TẤN HƠN

Tài liệu API

Lưu ý: domain thay thành đường dẫn URL của website


1. API lấy số dư
Method GET: domain/api/profile.php?token={token_user_lấy_trong_thông_tin}

2. API lấy danh sách dịch vụ
Method GET: domain/api/service.php?token={token_user_lấy_trong_thông_tin}

3. API mua dịch vụ
Method POST: domain/ajaxs/client/create.php
    FORM-DATA
  • action = order_spin
  • type = (Loại dịch vụ)
  • amount = (Số lượng cần mua)
  • invite_code = (Mã mời)
  • token = (Token user ở thông tin)


4. API lịch sử mua hàng
Method POST: domain/api/history.php?token={token_user_lấy_trong_thông_tin}



5. API check link
Method POST: domain/ajaxs/client/check-link.php
    FORM-DATA
  • action = check_invite_code
  • invite_code = (Mã mời)