Skip to content
User guide

Licence keys for your software

Yarbah creates a unique key for every buyer, your software checks it with one request, and the key is voided automatically on refund.

If you sell software, a plugin or a template that needs activation, Yarbah creates a unique key for every buyer, like ABCD-EFGH-JKLM-NPQR, and your software can check it.

Who can use it?

Available on: Pro and Business, for every type except bundles and memberships.

How do I turn it on?

  1. Open the product page, and under Selling options turn on Licence keys.
  2. Select Save options. A Licence keys section appears.
  3. From now on, every buyer gets a key shown in My library once the payment is confirmed.

How does my software check a key?

The Licence keys section shows the product's check request:

GET https://yarbah.com/api/licenses/verify?product=<product-id>&key=XXXX-XXXX-XXXX-XXXX

The answer is JSON:

{ "valid": true, "product": "Product name", "version": "Commercial licence", "purchased_at": "2026-11-18T10:00:00Z", "buyer": "sa***@gmail.com" }
  • valid: true when the key is active and the order isn't refunded.
  • version: the version bought, if the product has versions.
  • buyer: the buyer's email, partly hidden.

If the key doesn't exist, the answer has status 404 and "valid": false. The request is rate-limited per device, so don't check every second: checking at activation and now and then is enough.

Managing keys

The section lists every key with the buyer's email, order number, version and state (Active or Inactive).

  • Revoke: stops a key, for example one shared publicly.
  • Restore: brings back a key you revoked.

When an order is refunded, its key stops being valid automatically, and the check answers "valid": false.

Updated 19 November 2026

Was this article helpful?