Check access keys from your server
Before your service answers, it asks WEFARO whether the buyer's key is valid. WEFARO never tells it who the buyer is.
Send a POST request with your creation's name, as it appears at the end of your page's address, and the buyer's key. The editor shows this request with your creation's name filled in.
POST https://wefaro.com/api/access/verify
{ "creation": "your-creation", "key": "the buyer's key" }When the key is valid, WEFARO answers:
{ "valid": true, "holder": "h_…", "license": "…", "since": "…" }- holder: a pseudonymous id for this buyer's access. It never says who they are.
- license: the name of the license they hold.
- since: when the key was created.
Otherwise, it answers { "valid": false }: for example, once the buyer has replaced the key, or when their access has ended or is paused.
Based on the Creator Terms, section 15.
Related
Still need help?
Write to hello@wefaro.com. Someone on the WEFARO team reads every email.