Identify Success/ Failed keypad usage from webhooks

Dear team,

Given we have webhooks enabled for our devices and we are using keypads.
And given our keypad codes are all generated with a time limit.

How can we know from the “DEVICE_LOGS” webhook, if the lock was successfully triggered by the code that was entered or failed?
(for example, the code used before the defined time limit)