License key expired
Fires once for each expiry that passes while a generated key is active: when the hourly expiry check finds it, or straight away when a refund or chargeback moves the expiry into the past. A key renewed after its expiry passed, but before the hourly check ran, works again and gets only license:extended. When the check first runs it looks back one day only. It also follows license:reinstated straight away when the key's expiry passed while it was revoked. An expiry does not change the key, so this event carries the version of the key when its expiry passed, which can be the same as an earlier event's (license:issued, license:reinstated): skip repeats by event_id, not by version. If the hourly check saw the expiry before a late renewal was announced, this event comes first, with the key as it was then, and license:extended follows. Made once per change, in the background, so it may come a little after the payment or refund. Like any event it can be delivered more than once (skip an event_id you have seen), and events can arrive out of order: keep the license with the highest version and ignore one with a lower version. Changes made close together can be sent as one event with the latest state. The key itself is never sent: text and html are null, at any expand depth, and key_last4 tells keys apart. The body is an event object with the license in data.
X-Comecero-Signature?stringProof the delivery comes from Comecero and was not changed. It is the HMAC-SHA256 of the raw request body (UTF-8), keyed with the signature key as UTF-8, written as 64 lowercase hex characters. The key is the event subscription's signature_key, or the account's signature key (Settings, Technical) when the subscription has none. Every account gets one when it is created, so deliveries are signed unless the key was removed. To check it, compute the HMAC over the body exactly as received, before you parse it, and compare the two strings in constant time. Reject the delivery when they differ. The signature has no timestamp, so to guard against a replayed delivery also skip any event_id you already handled. If you cannot check signatures, use the event only as a hint: get the object by its id from the API before you act on it.
^[0-9a-f]{64}$User-Agent?stringAlways Comecero-Event (+https://comecero.com).
The event, sent by POST to your event subscription's destination as JSON (Content-Type: application/json), XML or an HTML table, following its format.
application/json- body
One delivery of one event to one event subscription. When something happens (an order is created, a payment completes), Comecero makes one event for each active event subscription to that event type, each with its own event_id and the same fingerprint. This is also the body Comecero POSTs to your webhook URL.
object?"event"Always event.
"event"type?event_typeThe kind of event. See the Webhooks section of this reference for when each one fires and what its data holds.
"account:modified""cart:payment_completed""gateway:created""gateway:modified""event_subscription:created""event_subscription:modified""event_subscription:deleted""license:issued""license:extended""license:expiry_changed""license:limit_changed""license:revoked""license:reinstated""license:expired""license_service:low_licenses""invoice:created""invoice:published""invoice:paid""invoice:payment_completed""order:created""order:payment_completed""order:fulfilled""order:licenses_assigned""payment:completed""payment:created_success""payment:created_failure""payment:captured_success""payment:captured_failure""payment:voided""product:created""product:modified""product:deleted""product:low_inventory""refund:created_success""refund:created_failure""refund:deleted""user:created""user:modified""shipment:created""shipment:modified""shipment:deleted""subscription:created""subscription:modified""subscription:cancelled""subscription:cancellation_scheduled""subscription:cancellation_unscheduled""subscription:completed""subscription:converted""subscription_item:added""subscription_item:cancelled""subscription_item:cancellation_scheduled""subscription_item:cancellation_unscheduled""subscription_item:modified""subscription:renewal_success""subscription:renewal_failure""usage:threshold_reached""usage:balance_low""usage:balance_depleted""usage:spend_limit_reached""usage:auto_top_up_succeeded""usage:auto_top_up_failed""usage:auto_top_up_cap_reached""usage:spend_limit_changed""usage:burst_opted_in""usage:burst_revoked"event_subscription?|The event subscription this delivery is for: its URL, or the full object when you send expand=event_subscription. Left out when the token may not read event subscriptions.
environment_variables?|The name and value pairs set on the event subscription when the event was made, passed through so your endpoint can read its own settings.
data?The license the event is about, shaped like a GET of it but without the key, with the event subscription's expand, show and hide applied, so only the fields they keep are sent. If you use show or hide, keep license_id and version, which you need to order events.
Answer with any 2xx status within 60 seconds to mark the event delivered; the body is ignored. Anything else counts as a failure: another status (redirects are not followed), a timeout, or no connection. After a failure Comecero retries on a growing schedule: three times 2 minutes apart, then every 15 minutes, every hour, every 2 hours, every 4 hours and every 8 hours, 23 attempts over about 56 hours in all. Then the event is failed and is not tried again by itself; you can send it again with POST /events/{event_id}/retry while it is kept. Events are kept for 30 days after their last change, and for 7 days once delivered or in test mode. Deliveries can arrive more than once and out of order, so use event_id to skip repeats and compare date_created or get the object fresh before you overwrite newer data. Each event subscription gets its own copy: the same occurrence shares one fingerprint across subscriptions.
{ "object": "event", "url": "https://api.comecero.com/api/v1/events/1102611073847EVt7Kq2Za", "event_id": "1102611073847EVt7Kq2Za", "test": true, "account_id": "AB1234", "type": "license:expired", "event_subscription": "https://api.comecero.com/api/v1/event_subscriptions/1102610913420ES4f9QmLp", "fingerprint": "license:0142130710581LiRr8sT2c:v2:license:expired", "status": "delivered", "date_created": "2026-11-09T10:02:45Z", "date_modified": "2026-11-09T10:02:46Z", "environment_variables": { "store": "main" }, "data": { "object": "license", "url": "https://api.comecero.com/api/v1/licenses/0142130710581LiRr8sT2c", "license_id": "0142130710581LiRr8sT2c", "date_created": "2026-11-02T00:45:11Z", "date_modified": "2026-11-09T10:02:44Z", "test": true, "item_id": "widget-pro.test", "account_id": "AB1234", "label": "License Key", "license_service": "https://api.comecero.com/api/v1/license_services/0095012789659LsuOeAWLC", "order": "https://api.comecero.com/api/v1/orders/6622-NXKHE-858", "product": "https://api.comecero.com/api/v1/products/widget-pro.test", "text": null, "html": null, "instructions": "Open Widget Pro, choose Help, then Enter License, and paste the key.", "key_last4": "YV8J", "status": "active", "revoked_reason": null, "date_revoked": null, "activation_limit": 2, "expires_at": "2026-11-09T00:45:11Z", "customer_id": "0142130710211CuQx7Ze3k", "subscription_id": null, "source": "generated", "version": 2 }}{}License key reinstated Webhook
Fires when the cause of a revoke goes away, for example a chargeback you won or a refund that failed afterwards, and the key is `active` again. If its `expires_at` passed meanwhile, `license:expired` follows with the same `version`. Made once per change, in the background, so it may come a little after the payment or refund. Like any event it can be delivered more than once (skip an `event_id` you have seen), and events can arrive out of order: keep the license with the highest `version` and ignore one with a lower `version`. Changes made close together can be sent as one event with the latest state. The key itself is never sent: `text` and `html` are null, at any `expand` depth, and `key_last4` tells keys apart. The body is an event object with the license in `data`.
License service low on licenses Webhook
Fires when a license key is taken from a list-based license service and the number left is at or below its `notify_at_count`, or the list is empty. The keys themselves are not sent: `list.licenses` holds a note instead. New accounts get an email subscription to this event by default. The body is an event object with the license service in `data`.