HỆ THỐNG TĂNG SPIN COIN MASTER GIÁ RẺ - TIỆN LỢI

Tài liệu API phiên bản SPIN V1

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


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


2. API lấy danh sách dịch vụ

hiện tại chỉ sử dụng được dịch vụ "extra" và "extra_vip" thông qua API

Method GET: domain/api/v1/service.php?token={token_user_lấy_trong_thông_tin}


3. API mua dịch vụ
Method POST: domain/api/v1/create.php
    FORM-DATA
  • action = order_spin
  • type = (Loại dịch vụ) chỉ hỗ trợ "extra" và "extra_vip"
  • 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 GET: domain/api/v1/history.php?token={token_user_lấy_trong_thông_tin}&limit={số_lượng_cần_hiển_thị}



5. API lấy lịch sử theo từng trans_Id
Method GET: domain/api/v1/get-history.php?token={token_user_lấy_trong_thông_tin}&invite_code={invite_code cần kiểm tra, nếu cần lấy 1 lúc nhiều invite_code thì mỗi trans_Id ngăn cách bằng dấu phẩy (,) ví dụ invite_code1,invite_code2}



6. API check link
Method POST: domain/api/v1/view.php
    FORM-DATA
  • action = check_invite_code
  • invite_code = (Mã mời)