# Package events Signed POST requests to your webhook endpoint for package events. See the Webhooks overview for signature verification. ## `package.created` — Package Created Triggered when a package order is accepted. Provisioning may still be pending; package.activated confirms completion. | Field | Type | Optional | Description | | --- | --- | --- | --- | | `type` | string | No | | | `timestamp` | string | No | When the event was recorded. This can be later than the change it reports: usage reported by the network can describe consumption that happened earlier. | | `data` | object | No | | | `data.packageReference` | string | No | Package reference | | `data.subscription` | object | Yes | **Experimental.** Subscription ownership. Omitted for standalone packages. | | `data.subscription.subscriptionReference` | string | No | Subscription reference, stable across plan changes. | | `data.subscription.periodNumber` | integer | No | | | `data.profileReference` | string | No | Profile reference | | `data.esimReference` | string | No | eSIM reference | | `data.iccid` | string | Yes | | | `data.planReference` | string | No | Plan reference | ```json { "type": "package.created", "timestamp": "2026-01-24T14:30:00Z", "data": { "packageReference": "OV89DVPL5XS7QN_A1B2C3D4E5F6", "subscription": { "subscriptionReference": "K7Q2M9XAB4N8C2VD3F", "periodNumber": 0 }, "profileReference": "1234567890123456", "esimReference": "123456000000000001", "iccid": "89012345678901234567", "planReference": "OV89DVPL5XS7QN" } } ``` ## `package.activated` — Package Activated Triggered once, when the package becomes usable on the network. A package that ends, or whose allowance is used up, before it became usable never sends it: `package.exhausted` or `package.ended` can then arrive without a preceding `package.activated`. | Field | Type | Optional | Description | | --- | --- | --- | --- | | `type` | string | No | | | `timestamp` | string | No | When the event was recorded. This can be later than the change it reports: usage reported by the network can describe consumption that happened earlier. | | `data` | object | No | | | `data.packageReference` | string | No | Package reference | | `data.subscription` | object | Yes | **Experimental.** Subscription ownership. Omitted for standalone packages. | | `data.subscription.subscriptionReference` | string | No | Subscription reference, stable across plan changes. | | `data.subscription.periodNumber` | integer | No | | | `data.profileReference` | string | No | Profile reference | | `data.esimReference` | string | No | eSIM reference | | `data.iccid` | string | Yes | | | `data.planReference` | string | No | Plan reference | ```json { "type": "package.activated", "timestamp": "2026-01-24T14:30:00Z", "data": { "packageReference": "OV89DVPL5XS7QN_A1B2C3D4E5F6", "subscription": { "subscriptionReference": "K7Q2M9XAB4N8C2VD3F", "periodNumber": 0 }, "profileReference": "1234567890123456", "esimReference": "123456000000000001", "iccid": "89012345678901234567", "planReference": "OV89DVPL5XS7QN" } } ``` ## `package.throttled` — Package Throttled Triggered when a package can no longer use its full-speed allowance and keeps service at reduced speed. The package transitions from active to throttled. This applies to recurring packages, which stay throttled until `package.renewed` restores the allowance, and to one-off plans with a reduced-speed tail (`throttleSpeedKbps` on the plan), which never renew and stay throttled until `package.ended` with `reason: expired`. Other one-off packages send `package.exhausted` instead. Usually the allowance was used up: usedAmount is at the plan capacity, remainingAmount 0 and percentageUsed 100. It also fires when the network withdraws the allowance before it is used up; the figures then report what was actually used. Fires at most once per cycle. | Field | Type | Optional | Description | | --- | --- | --- | --- | | `type` | string | No | | | `timestamp` | string | No | When the event was recorded. This can be later than the change it reports: usage reported by the network can describe consumption that happened earlier. | | `data` | object | No | | | `data.packageReference` | string | No | Package reference | | `data.subscription` | object | Yes | **Experimental.** Subscription ownership. Omitted for standalone packages. | | `data.subscription.subscriptionReference` | string | No | Subscription reference, stable across plan changes. | | `data.subscription.periodNumber` | integer | No | | | `data.profileReference` | string | No | Profile reference | | `data.esimReference` | string | No | eSIM reference | | `data.iccid` | string | No | | | `data.planReference` | string | No | Plan reference | | `data.usedAmount` | number | No | Amount consumed when the event fired, in `unit`. Equal to the plan capacity when the allowance was used up; what was actually used when the network withdrew the allowance before it was used up. | | `data.remainingAmount` | number | No | Amount left when the event fired, in `unit`. Zero when the allowance was used up, or for an unlimited package. | | `data.unit` | string | No | [Extensible enum](https://opensource.zalando.com/restful-api-guidelines/#112). Unit a package's amounts are expressed in, determined by the package type: `mb` for data, `seconds` for voice, `sms` for text messages and `units` for voice and SMS, where a call minute and a text message each count as one unit. A package's amounts and its plan's allowance count the same megabyte, so they compare directly. | | `data.percentageUsed` | integer | No | Share of the allowance consumed when the event fired, 0-100. 100 when it was used up. | ```json { "type": "package.throttled", "timestamp": "2026-01-24T14:30:00Z", "data": { "packageReference": "OV89DVPL5XS7QN_A1B2C3D4E5F6", "subscription": { "subscriptionReference": "K7Q2M9XAB4N8C2VD3F", "periodNumber": 0 }, "profileReference": "1234567890123456", "esimReference": "123456000000000001", "iccid": "89012345678901234567", "planReference": "OV89DVPL5XS7QN", "usedAmount": 5120, "remainingAmount": 0, "unit": "mb", "percentageUsed": 100 } } ``` ## `package.exhausted` — Package Exhausted Triggered when a one-off package's allowance is gone and the package no longer provides service. Recurring packages and one-off plans with a reduced-speed tail send `package.throttled` instead. Usually the allowance was used up: usedAmount is at the plan capacity, remainingAmount 0 and percentageUsed 100. It also fires when the network withdraws the allowance before it is used up; the figures then report what was actually used. Terminal and sent once, always together with `package.ended` with `reason: exhausted`. | Field | Type | Optional | Description | | --- | --- | --- | --- | | `type` | string | No | | | `timestamp` | string | No | When the event was recorded. This can be later than the change it reports: usage reported by the network can describe consumption that happened earlier. | | `data` | object | No | | | `data.packageReference` | string | No | Package reference | | `data.subscription` | object | Yes | **Experimental.** Subscription ownership. Omitted for standalone packages. | | `data.subscription.subscriptionReference` | string | No | Subscription reference, stable across plan changes. | | `data.subscription.periodNumber` | integer | No | | | `data.profileReference` | string | No | Profile reference | | `data.esimReference` | string | No | eSIM reference | | `data.iccid` | string | No | | | `data.planReference` | string | No | Plan reference | | `data.usedAmount` | number | No | Amount consumed when the event fired, in `unit`. Equal to the plan capacity when the allowance was used up; what was actually used when the network withdrew the allowance before it was used up. | | `data.remainingAmount` | number | No | Amount left when the event fired, in `unit`. Zero when the allowance was used up, or for an unlimited package. | | `data.unit` | string | No | [Extensible enum](https://opensource.zalando.com/restful-api-guidelines/#112). Unit a package's amounts are expressed in, determined by the package type: `mb` for data, `seconds` for voice, `sms` for text messages and `units` for voice and SMS, where a call minute and a text message each count as one unit. A package's amounts and its plan's allowance count the same megabyte, so they compare directly. | | `data.percentageUsed` | integer | No | Share of the allowance consumed when the event fired, 0-100. 100 when it was used up. | ```json { "type": "package.exhausted", "timestamp": "2026-01-24T14:30:00Z", "data": { "packageReference": "OV89DVPL5XS7QN_A1B2C3D4E5F6", "subscription": { "subscriptionReference": "K7Q2M9XAB4N8C2VD3F", "periodNumber": 0 }, "profileReference": "1234567890123456", "esimReference": "123456000000000001", "iccid": "89012345678901234567", "planReference": "OV89DVPL5XS7QN", "usedAmount": 5120, "remainingAmount": 0, "unit": "mb", "percentageUsed": 100 } } ``` ## `package.ended` — Package Ended Triggered when a package has ended. Terminal and sent at most once per package; act on this event for the end of a package's life. `reason: exhausted` comes together with `package.exhausted`; `reason: expired` means the validity period ended, for a throttled package as well; `reason: removed` covers both a package removal and the termination of its eSIM. | Field | Type | Optional | Description | | --- | --- | --- | --- | | `type` | string | No | | | `timestamp` | string | No | When the event was recorded. This can be later than the change it reports: usage reported by the network can describe consumption that happened earlier. | | `data` | object | No | | | `data.packageReference` | string | No | Package reference | | `data.subscription` | object | Yes | **Experimental.** Present when the package belongs to a subscription. A package the subscription removes reports a `subscription_*` `reason`; its removal from the mobile network may still be pending. | | `data.subscription.subscriptionReference` | string | No | Subscription reference, stable across plan changes. | | `data.subscription.periodNumber` | integer | No | | | `data.profileReference` | string | No | Profile reference | | `data.esimReference` | string | No | eSIM reference | | `data.iccid` | string | No | | | `data.planReference` | string | No | Plan reference | | `data.reason` | string | No | [Extensible enum](https://opensource.zalando.com/restful-api-guidelines/#112). Why the package ended. `expired` means its validity period ended. `exhausted` means its allowance is gone; it comes together with `package.exhausted`. `removed` means the package was removed, or its eSIM was terminated. `subscription_renewal`, `subscription_suspension` and `subscription_cancellation` mean its subscription renewed, was suspended or was terminated. | ```json { "type": "package.ended", "timestamp": "2026-01-24T14:30:00Z", "data": { "packageReference": "OV89DVPL5XS7QN_A1B2C3D4E5F6", "subscription": { "subscriptionReference": "K7Q2M9XAB4N8C2VD3F", "periodNumber": 0 }, "profileReference": "1234567890123456", "esimReference": "123456000000000001", "iccid": "89012345678901234567", "planReference": "OV89DVPL5XS7QN", "reason": "expired" } } ``` ## `package.usage` — Package Usage Updated Triggered as consumption advances: whenever the package's total usage grows by at least one whole unit (MB, second or SMS), and on each usage threshold crossing. Each update reports the running total, not a delta. The end of the allowance is signalled by package.throttled or package.exhausted, which carry the figures for that moment. Usage updates continue afterwards while the package keeps consuming at the reduced speed: usedAmount grows past the plan capacity, remainingAmount stays 0 and percentageUsed stays at 100 until the next renewal. | Field | Type | Optional | Description | | --- | --- | --- | --- | | `type` | string | No | | | `timestamp` | string | No | When the event was recorded. This can be later than the change it reports: usage reported by the network can describe consumption that happened earlier. | | `data` | object | No | | | `data.packageReference` | string | No | Package reference | | `data.subscription` | object | Yes | **Experimental.** Subscription ownership. Omitted for standalone packages. | | `data.subscription.subscriptionReference` | string | No | Subscription reference, stable across plan changes. | | `data.subscription.periodNumber` | integer | No | | | `data.profileReference` | string | No | Profile reference | | `data.esimReference` | string | No | eSIM reference | | `data.iccid` | string | No | | | `data.planReference` | string | No | Plan reference | | `data.usedAmount` | number | No | Amount used, in `unit` | | `data.remainingAmount` | number | null | No | Amount remaining, same unit as usedAmount. Null for an unlimited package, or when the remaining amount cannot be determined. | | `data.unit` | string | No | [Extensible enum](https://opensource.zalando.com/restful-api-guidelines/#112). Unit a package's amounts are expressed in, determined by the package type: `mb` for data, `seconds` for voice, `sms` for text messages and `units` for voice and SMS, where a call minute and a text message each count as one unit. A package's amounts and its plan's allowance count the same megabyte, so they compare directly. | | `data.percentageUsed` | integer | No | Share of the allowance used, 0-100; 0 for an unlimited package. Stays at 100 while a throttled package keeps consuming at reduced speed. The moment the allowance is used up is signalled by package.throttled or package.exhausted. | ```json { "type": "package.usage", "timestamp": "2026-01-24T14:30:00Z", "data": { "packageReference": "OV89DVPL5XS7QN_A1B2C3D4E5F6", "subscription": { "subscriptionReference": "K7Q2M9XAB4N8C2VD3F", "periodNumber": 0 }, "profileReference": "1234567890123456", "esimReference": "123456000000000001", "iccid": "89012345678901234567", "planReference": "OV89DVPL5XS7QN", "usedAmount": 2560, "remainingAmount": 2560, "unit": "mb", "percentageUsed": 66 } } ``` ## `package.usage.threshold` — Package Usage Threshold Crossed Triggered when a package's cumulative usage crosses a usage threshold. Fires at the thresholds of the webhook endpoint (`configuration` in `/management/webhooks`), 33% and 66% unless it sets its own, at most once per threshold per renewal cycle. A single usage update that crosses several thresholds sends only the highest. The 100% case is signalled by package.throttled or package.exhausted; a single usage update that uses up the allowance sends only that event, so a threshold it jumps over is not reported. | Field | Type | Optional | Description | | --- | --- | --- | --- | | `type` | string | No | | | `timestamp` | string | No | When the event was recorded. This can be later than the change it reports: usage reported by the network can describe consumption that happened earlier. | | `data` | object | No | | | `data.packageReference` | string | No | Package reference | | `data.subscription` | object | Yes | **Experimental.** Subscription ownership. Omitted for standalone packages. | | `data.subscription.subscriptionReference` | string | No | Subscription reference, stable across plan changes. | | `data.subscription.periodNumber` | integer | No | | | `data.profileReference` | string | No | Profile reference | | `data.esimReference` | string | No | eSIM reference | | `data.iccid` | string | No | | | `data.planReference` | string | No | Plan reference | | `data.thresholdPercent` | integer | No | Threshold percentage that was crossed: one of the webhook endpoint's thresholds. | | `data.usedAmount` | number | No | Cumulative amount used, in `unit`. | | `data.remainingAmount` | number | null | No | Amount remaining in the same unit as usedAmount. | | `data.capacityTotal` | number | No | Total plan capacity in the same unit as usedAmount | | `data.unit` | string | No | [Extensible enum](https://opensource.zalando.com/restful-api-guidelines/#112). Unit a package's amounts are expressed in, determined by the package type: `mb` for data, `seconds` for voice, `sms` for text messages and `units` for voice and SMS, where a call minute and a text message each count as one unit. A package's amounts and its plan's allowance count the same megabyte, so they compare directly. | ```json { "type": "package.usage.threshold", "timestamp": "2026-01-24T14:30:00Z", "data": { "packageReference": "OV89DVPL5XS7QN_A1B2C3D4E5F6", "subscription": { "subscriptionReference": "K7Q2M9XAB4N8C2VD3F", "periodNumber": 0 }, "profileReference": "1234567890123456", "esimReference": "123456000000000001", "iccid": "89012345678901234567", "planReference": "OV89DVPL5XS7QN", "thresholdPercent": 66, "usedAmount": 660, "remainingAmount": 340, "capacityTotal": 1000, "unit": "mb" } } ``` ## `package.renewed` — Package Renewed Triggered when a recurring package is renewed for a new cycle. Usage counters are reset and the package transitions back to active. | Field | Type | Optional | Description | | --- | --- | --- | --- | | `type` | string | No | | | `timestamp` | string | No | When the event was recorded. This can be later than the change it reports: usage reported by the network can describe consumption that happened earlier. | | `data` | object | No | | | `data.packageReference` | string | No | Package reference | | `data.subscription` | object | Yes | **Experimental.** Subscription ownership. Omitted for standalone packages. | | `data.subscription.subscriptionReference` | string | No | Subscription reference, stable across plan changes. | | `data.subscription.periodNumber` | integer | No | | | `data.profileReference` | string | No | Profile reference | | `data.esimReference` | string | No | eSIM reference | | `data.iccid` | string | No | | | `data.planReference` | string | No | Plan reference | | `data.nextRenewalAt` | string | null | No | When the next renewal cycle is scheduled | | `data.remainingAmount` | number | null | No | Allowance remaining after the renewal, in the package's unit (`PackageUsageUnit`); null for an unlimited package | ```json { "type": "package.renewed", "timestamp": "2026-01-24T14:30:00Z", "data": { "packageReference": "OV89DVPL5XS7QN_A1B2C3D4E5F6", "subscription": { "subscriptionReference": "K7Q2M9XAB4N8C2VD3F", "periodNumber": 0 }, "profileReference": "1234567890123456", "esimReference": "123456000000000001", "iccid": "89012345678901234567", "planReference": "OV89DVPL5XS7QN", "nextRenewalAt": "2026-01-15T09:30:00Z", "remainingAmount": 0 } } ```