Saltar al contenido principal

POST /api/v1/license/verify

Handshake periódico de validación de cliente. Envía Machine ID y token actual, recibiendo vigencia y un nuevo token sellado con la clave privada Ed25519.


Request Body:​

{
"machineId": "REX-08EF-E747-3196-EBDD",
"licenseToken": "eyJhbGciOiJFZDI1NTE5I...",
"companyNit": "900.123.456-7",
"companyName": "Mi Empresa SAS",
"clientVersion": "2026.1",
"isPrimaryHost": true,
"customData": { "seats": 5 },
"features": ["billing_dian", "ai_copilot"],
"platform": "windows"
}

Response (200 OK):​

{
"status": "ACTIVE",
"token": "eyJhbGciOiJFZDI1NTE5I...",
"expiresAt": "2027-08-30T15:30:00.000Z",
"serverMessage": "Licencia comercial activa y al día."
}