AuthServer API - Endpoint de Autenticação

Use POST para autenticar licenças

📡 Informações

POST /v1/auth.php

Este endpoint aceita apenas requisições POST.

🧪 Testar com curl

curl -X POST /v1/auth.php \
  -H "Content-Type: application/json" \
  -H "X-API-Key: sua_chave_secreta" \
  -d '{"customer_name":"GBSOficial","hardware_id":"12345678-1234-1234-1234-123456789ABC","server_type":"game_server"}'

📦 Resposta de Sucesso

{
  "status": "success",
  "valid": 1,
  "package_type": 1,
  "plan_type": 1,
  "customer_name": "GBSOficial",
  "hardware_id": "1234...ABC"
}

📝 Campos