Entitlement changed
Fires when what a customer can do changes: a feature granted, taken away, or with a new value or limit. Caused by a subscription or order (bought, renewed, changed, cancelled or refunded) or by an override (made, removed or expired). A change nobody would notice, such as a renewal that only moves the usage window, sends nothing. Use it to update your app's copy of the customer's access. Events can arrive more than once and out of order: drop an event_id you have seen, and keep the highest data.version per customer. The body is an event object with the change 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""entitlement:changed"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?What changed in what a customer can do: each feature whose value changed, before and after. Values are merged across the customer's purchases (boolean any, number the highest, metered the highest limit), with an active override in place of them.
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/1102611153012EVa7Kp2Wd", "event_id": "1102611153012EVa7Kp2Wd", "test": true, "account_id": "AB1234", "type": "entitlement:changed", "event_subscription": "https://api.comecero.com/api/v1/event_subscriptions/1102610913420ES4f9QmLp", "fingerprint": "q3W8eR5tY1uI7oP2", "status": "delivered", "date_created": "2026-11-15T10:00:01Z", "date_modified": "2026-11-15T10:00:02Z", "environment_variables": null, "data": { "object": "entitlement_change", "customer_id": "0091304300408CuoxY9Pf3", "external_id": "user_8412", "cause": "override", "version": 7, "changes": [ { "feature": "api_calls", "before": { "limit": "10000" }, "after": { "limit": "50000" } }, { "feature": "sso", "before": null, "after": { "value": true } } ] }}{}Automatic top-up cap reached Webhook
Fires when a customer's credit fell below their level but a top-up would go over a monthly cap (the number of top-ups or what they charge, in that currency, across the customer's subscriptions), so none was made and nothing was charged. Sent once per customer, currency, month and caps in force. The top-up stays on and is looked at again when the month resets (`next_reset_at`). No email goes to the customer; their account page says it is paused. Each event has an `occurrence_id` that stays the same if it is sent again, so drop one you have seen. The body is an event object with the caps in `data`.
Invoice created Webhook
Fires when an invoice is created. For an invoice made by a subscription change that needs a payment, it fires only once that payment succeeds. The body is an event object with the invoice in `data`.