Keylance / Developer documentation
Integrate Keylance. Keep control.
Validate, activate and manage software licenses from Unreal Engine, PHP, JavaScript or any environment capable of sending HTTP requests.
Quick start
Keylance is a lightweight license management system. Use the REST API directly or use the Unreal Engine SDK, which handles the same verification flow for you.
Never expose a private administrative key inside a public client build. Use project keys for runtime verification.
https://aukkeproduction.fr/wp-json/keylance/v1| Header | Value |
|---|---|
X-Keylance-Key | <API_KEY> |
Authorization | Bearer <API_KEY> |
Verify a license key
Validate a user API key against a project key. The response describes the current protection, activation and expiration state.
https://aukkeproduction.fr/Keylance_Api/VerifKey.php?key=API_KEY&project=PROJECT_KEY| Parameter | Description |
|---|---|
key | Your user API key |
project | The unique project license key |
curl "https://aukkeproduction.fr/Keylance_Api/VerifKey.php?key=abc123&project=def456"Response structure
{
"success": true,
"is_protected": true,
"active": true,
"expiration_date": "2025-12-31"
}| Field | Description |
|---|---|
success | Whether the request was valid |
is_protected | Whether the project uses Keylance protection |
active | Whether the license is currently active |
expiration_date | Expiration date used for online and offline checks |
License routes
Create a key
POST /keys
{
"project_name": "MyProject",
"expiration_date": "2025-12-31"
}Activate a key
POST /keys/{project_key}/activateDeactivate a key
POST /keys/{project_key}/deactivateChange expiration date
POST /keys/{project_key}/expire
{
"expiration_date": "YYYY-MM-DD"
}Integration examples
Unreal Engine C++
FHttpModule::Get()
.CreateRequest()
->SetURL("...VerifKey.php?key=XXX&project=YYY");PHP
$response = file_get_contents(
"https://aukkeproduction.fr/Keylance_Api/VerifKey.php?key=XXX&project=YYY"
);
$data = json_decode($response, true);
if ($data["success"] && $data["active"]) {
// Access granted
}JavaScript
fetch("https://aukkeproduction.fr/Keylance_Api/VerifKey.php?key=XXX&project=YYY")
.then(response => response.json())
.then(data => {
if (data.success && data.active) {
console.log("Access granted");
}
});Errors and fallback
success = false: invalid or unknown key.active = false: the license is disabled.- Expired
expiration_date: deny access or use your offline policy. - Server unreachable: rely on securely stored local data for the allowed fallback duration.
The SDK is the fastest native route for Unreal Engine. The REST API is universal and can be used from any language or framework.
Stripe, limits and support
Stripe webhooks can activate, deactivate or extend licenses automatically when a subscription changes. Store the project_key in Stripe metadata to link the customer to the correct license.
Need integration help? Contact jean@aukkeproduction.fr.
