Custom validation check
This is a way to validate your licenses with one custom stem by using webhook.
Explanation
During license validation after all the default mLicense steps, a webhook is sent to the specified endpoint in the License validation tab, which sends all the license validation data to the specified webook and rows the response in the specified Json format.
If your webhooks is not responding system will be skipped your custom check.
While you receive a license verification request you will receive an Access-Key header from the webhook, which you can use to verify the request.
Webhook
Use POST method to receive this data.
json
{
"key": "",
"product": "",
"version": "",
"hardwareId": "",
"enabledAddons": [],
"uniqueId": "00000000-0000-0000-0000-000000000000",
"requestType": "BASIC",
"discordId": 0,
"address": ""
}Response
json
{
"valid": true,
"code": "CODE",
"message": "MESSAGE"
}Codes
For successfully response you need to return 200 status code.