Use POST para autenticar licenças
POST /v1/auth.php
Este endpoint aceita apenas requisições POST.
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"}'
{
"status": "success",
"valid": 1,
"package_type": 1,
"plan_type": 1,
"customer_name": "GBSOficial",
"hardware_id": "1234...ABC"
}
customer_name - Nome do cliente (ex: GBSOficial)hardware_id - Hardware ID no formato GUIDserver_type - Tipo: connect_server, join_server, data_server, game_server