You can’t - that’s not how it works.
Check this from @baileyherbert How to verify a purchase code using the Envato API