Skip to content

Webhooks

Webhooks send real-time HTTP POST notifications when events occur in PackEdge.

Setup

  1. Go to Settings > Integrations in the dashboard
  2. Click Add Webhook
  3. Enter a name, URL, and select events to subscribe to
  4. A signing secret is auto-generated for verifying payloads

Events

License Events

EventTrigger
license.createdNew license is created
license.activatedSite activated against a license
license.deactivatedSite deactivated
license.expiredLicense reaches expiration date
license.revokedLicense manually revoked

Customer Events

EventTrigger
customer.createdNew customer created
customer.updatedCustomer details updated

Payment Events

EventTrigger
payment.completedPayment successfully processed
payment.refundedPayment refunded

Subscription Events

EventTrigger
subscription.createdNew subscription started
subscription.cancelledSubscription cancelled
subscription.renewedSubscription renewed

Payload Format

json
{
  "event": "license.created",
  "timestamp": "2025-01-15T12:00:00.000Z",
  "data": {
    "id": "lic_xxx",
    "licenseKey": "MYPLUGIN-XXXX-XXXX-XXXX-XXXX",
    "productId": "prd_xxx",
    "customerEmail": "[email protected]",
    "status": "active",
    "seats": 5
  }
}

Verifying Signatures

Each webhook request includes a signing secret that you can use to verify the payload was sent by PackEdge.

Testing

Use the Test button in the dashboard to send a test payload to your webhook URL. This helps verify your endpoint is receiving and processing events correctly.

Retry Policy

Failed webhook deliveries (non-2xx responses) are not currently retried. Ensure your endpoint returns a 200 status code to acknowledge receipt.