List Licenses

Retrieves a paginated list of all license keys stored in the PaddlePay License Manager.

Returns license details including key, product association, status, activation count, and expiry date.

This endpoint requires Basic Auth with an account that has the manage_options capability.

GET List Licenses

curl --location 'http://paddle-checkout.local/wp-json/paddlepay/v2/licenses'

Response

{
  "success": true,
  "data": [
    {
      "id": 1,
      "orderId": 65,
      "productId": 61,
      "userId": 1,
      "licenseKey": "SFSS-577F-S6DA-674D-F447-4FDA-5D5S-5SA4-755D-D5A7-AS6D-A7DA",
      "expiresAt": null,
      "validFor": 0,
      "source": 1,
      "status": 1,
      "timesActivated": null,
      "timesActivatedMax": 1,
      "createdAt": "2025-08-04 04:09:46",
      "createdBy": 1,
      "updatedAt": null,
      "updatedBy": null,
      "activationData": []
    },
    {
      "id": 2,
      "orderId": 72,
      "productId": 61,
      "userId": 1,
      "licenseKey": "SUPER_LICENSE",
      "expiresAt": null,
      "validFor": 90,
      "source": 2,
      "status": 2,
      "timesActivated": null,
      "timesActivatedMax": 1,
      "createdAt": "2025-08-04 05:59:37",
      "createdBy": 1,
      "updatedAt": null,
      "updatedBy": null,
      "activationData": []
    },
    {
      "id": 3,
      "orderId": null,
      "productId": 73,
      "userId": 1,
      "licenseKey": "LANZU_DA_GAMA",
      "expiresAt": "2025-11-04 00:00:00",
      "validFor": null,
      "source": 3,
      "status": 3,
      "timesActivated": null,
      "timesActivatedMax": 1,
      "createdAt": "2025-08-04 08:43:51",
      "createdBy": 1,
      "updatedAt": null,
      "updatedBy": null,
      "activationData": []
    }
  ]
}