Hi @marwaelmanawy and @rmslab!
Please have a look at my post here: How to verify a purchase code using the Envato API
It has all the information you’ll need to verify purchases with the Envato API, including a working example in PHP. You will need to know a little bit of PHP in order to customize it to your needs, though.
Let me know if you have any questions or need help with it!