OCS events
Learn about events generated by Transatel's OCS
Introduction
The OCS generates events related to the product lifecycle and their associated resources. Different events are produced depending on the category of the product. These events can then be pushed to your platform by creating webhooks using the Webhooks API. Integrating such events can allow you to trigger automated logic, for example for the sending of end-user notifications.
To discover how to integrate OCS events, please refer to our integration guide.
Events for products
One-off products
Events emitted according to the One-off
product lifecycle
Recurring products
Below are the events emitted according to the Recurring
product lifecycle:
Recurring
with fixed number of occurrences
Recurring
with unlimited number of occurrences
Add-on products
Events emitted according to the Add-on
product lifecycle
Events for resources
Below are available events emitted on a stack of a given resource.
In contrary to the product level resource events (product resource threshold event & product resource exhaustion event) which are emitted relative to the resource instance of a given subscription (product), the below events are emitted considering all instances of a given resource independently of any product.
Resource events
Events for options
Data safeguard
Events emitted according to the data safeguard
option lifecycle
Overspend safeguard
Events emitted according to the overspend safeguard
option lifecycle
Payment safeguard
Events emitted according to the payment safeguard
option lifecycle
Events for credit
Credit events
Product events
Below is the list of all available product events.
Product preload event
This event occurs when a subscription to a product has been preloaded.
Event information: | |
---|---|
Event type definition | OCS/PRODUCT/PRELOADED |
Applicable for | One-off , Recurring |
Product deferred event
This event occurs when a subscription to a product has been added with automatic activation upon a first usage of its resources on the network.
Event information: | |
---|---|
Event type definition | OCS/PRODUCT/DEFERRED |
Applicable for | One-off , Recurring |
Product activation event
This event occurs when a subscription to a product has been activated.
Event information: | |
---|---|
Event type definition | OCS/PRODUCT/ACTIVATED |
Applicable for | One-off , Recurring , Add-on |
Product scheduled activation failure event
This event occurs when a product scheduled activation failed.
Event information: | |
---|---|
Event type definition | OCS/PRODUCT/ACTIVATION/FAILED |
Applicable for | Recurring |
Product renewal event
This event occurs when a subscription to a Recurring
product has been renewed.
This event is emitted once the renewal is executed. Upon a renewal, a Recurring
product starts a new period and its allowances are reset.
Event information: | |
---|---|
Event type definition | OCS/PRODUCT/RENEWED |
Applicable for | Recurring |
Product cancellation event
This event occurs when a subscription to a Recurring
product with unlimited number of occurrences has been canceled.
Once such a product is canceled, its expiration date will be set to the end of the current period and no more renewals will be executed.
Event information: | |
---|---|
Event type definition | OCS/PRODUCT/CANCELED |
Applicable for | Recurring with unlimited number of occurrences |
Product expiration event
This event occurs when a subscription to a product has reached its expiration date. Once a subscription expires, the subscriber will no longer have access to the connectivity services linked to this product.
Event information: | |
---|---|
Event type definition | OCS/PRODUCT/EXPIRED |
Applicable for | One-off , Recurring , Add-on |
Product termination event
This event occurs when a subscription to a product has been manually terminated before its expiration date. Once a subscription is terminated, the subscriber will no longer have access to the connectivity services linked to this product.
Event information: | |
---|---|
Event type definition | OCS/PRODUCT/TERMINATED |
Applicable for | One-off , Recurring , Add-on |
Renewal reminder event
This configurable event serves as a reminder that a subscription is about to renew. By default, this reminder is not active. To activate it, please contact your Transatel account manager to request its configuration. This configuration can be done per product and with a configurable delay in days before the actual renewal.
Event information: | |
---|---|
Event type definition | OCS/PRODUCT/RENEWAL/REMINDER |
Applicable for | Recurring |
Renewal failed event
This event occurs when a subscription to a recurring product has failed its renewal. Upon this failure the product will be automatically terminated.
Event information: | |
---|---|
Event type definition | OCS/PRODUCT/RENEWAL/FAILED |
Applicable for | Recurring |
Expiration reminder event
This configurable event serves as a reminder that a subscription is about to expire. By default, this reminder is not active. To activate it, please contact your Transatel account manager to request the proper configuration. This configuration can be done per product and with a configurable delay in days before the actual expiration.
Event information: | |
---|---|
Event type definition | OCS/PRODUCT/EXPIRATION/REMINDER |
Applicable for | One-off , Recurring |
Product resource threshold event
This configurable event informs that a subscription resource has crossed a defined threshold. By default, threshold events are not active. To activate them, please contact your Transatel account manager to request its configuration. Several thresholds can be configured for the same resource. It exists also two ways to define a threshold:
- by defining a constant value (e.g less than 200MB left)
- by defining a percentage (e.g more than 80% of the allowance used)
Event information: | |
---|---|
Event type definition | OCS/PRODUCT/RESOURCE/THRESHOLD |
Applicable for | One-off , Recurring , Add-on |
Product resource exhausted event
This event occurs when a subscription resource has been exhausted.
Event information: | |
---|---|
Event type definition | OCS/PRODUCT/RESOURCE/EXHAUSTED |
Applicable for | One-off , Recurring , Add-on |
Resource events
Below is the list of all available resource events.
Resource threshold event
This configurable event informs that a threshold defined on the total of all instances of a given resource has been crossed. By default, threshold events are not active. To activate them, please contact your Transatel account manager to request the proper configuration. Several thresholds can be configured for the same resource. Two modes exist to define a threshold:
- Using a constant value (e.g. 200MB)
- Using a percentage of the total of all instances initial allowances (e.g. 80%)
Event information: | |
---|---|
Event type definition | OCS/RESOURCE/THRESHOLD |
Applicable for | Resource |
Resource exhausted event
This event occurs when a resource is exhausted on all its instances. By default, exhaustion events are not active. To activate them, please contact your Transatel account manager to request the proper configuration.
Event information: | |
---|---|
Event type definition | OCS/RESOURCE/EXHAUSTED |
Applicable for | Resource |
Option events
Below is the list of all available option events.
Data safeguard changed event
This event occurs when a data safeguard option has been changed. This occurs when its state has been changed or when its renewal day has been modified.
Event information: | |
---|---|
Event type definition | OCS/OPTION_DSG/CHANGED |
Applicable for | Data safeguard option |
Data safeguard cutoff threshold event
This event occurs when roaming data usages have reached the cutoff alert threshold of the data safeguard option.
Event information: | |
---|---|
Event type definition | OCS/OPTION_DSG/CUTOFF/THRESHOLD |
Applicable for | Data safeguard option |
Data safeguard cutoff reached event
This event occurs when roaming data usages have reached the cutoff limit of the data safeguard option.
Event information: | |
---|---|
Event type definition | OCS/OPTION_DSG/CUTOFF/REACHED |
Applicable for | Data safeguard option |
Overspend safeguard changed event
This event occurs when an overspend safeguard option has been changed. This occurs when its state, its renewal day, its current or next cut-off limits has been changed.
Event information: | |
---|---|
Event type definition | OCS/OPTION_OSG/CHANGED |
Applicable for | Overspend safeguard option |
Overspend safeguard first usage event
This event occurs when a first out-of-bundle usage has been made.
Event information: | |
---|---|
Event type definition | OCS/OPTION_OSG/FIRST_USAGE |
Applicable for | Overspend safeguard option |
Overspend safeguard cutoff alert event
This event occurs when out-of-bundle usages have usage have crossed a subscriber defined alert threshold.
Event information: | |
---|---|
Event type definition | OCS/OPTION_OSG/CUTOFF/ALERT |
Applicable for | Overspend safeguard option |
Overspend safeguard cutoff threshold event
This event occurs when out-of-bundle usages have reached the cutoff alert threshold of the overspend safeguard option.
Event information: | |
---|---|
Event type definition | OCS/OPTION_OSG/CUTOFF/THRESHOLD |
Applicable for | Overspend safeguard option |
Overspend safeguard cutoff reached event
This event occurs when out-of-bundle usages have reached the cutoff limit of the overspend safeguard option.
Event information: | |
---|---|
Event type definition | OCS/OPTION_OSG/CUTOFF/REACHED |
Applicable for | Overspend safeguard option |
Payment safeguard changed event
This event occurs when a payment safeguard option has been changed. This occurs when its state has been changed or when its renewal day has been modified.
Event information: | |
---|---|
Event type definition | OCS/OPTION_PSG/CHANGED |
Applicable for | Payment safeguard option |
Payment safeguard cutoff threshold event
This event occurs when premium usages have reached the cutoff alert threshold of the payment safeguard option.
Event information: | |
---|---|
Event type definition | OCS/OPTION_PSG/CUTOFF/THRESHOLD |
Applicable for | Payment safeguard option |
Payment safeguard cutoff reached event
This event occurs when premium usages have reached the cutoff limit of the payment safeguard option.
Event information: | |
---|---|
Event type definition | OCS/OPTION_PSG/CUTOFF/REACHED |
Applicable for | Payment safeguard option |
Credit events
Below is the list of all available credit events.
Credit adjusted event
This event occurs when the amount and/or expiration date of a credit has been adjusted.
Event information: | |
---|---|
Event type definition | OCS/CREDIT/ADJUSTED |
Applicable for | Credit |
Credit withdrawn event
This event occurs when a withdrawal has been performed following a purchase of a product using credits.
Event information: | |
---|---|
Event type definition | OCS/CREDIT/WITHDRAWN |
Applicable for | Credit |
Credit threshold event
This configurable event informs that a threshold of a credit has been crossed. By default, threshold events are not active. To activate them, please contact your Transatel account manager to request the configuration of a fixed credit amount threshold.
Event information: | |
---|---|
Event type definition | OCS/CREDIT/THRESHOLD |
Applicable for | Credit |
Credit exhausted event
This event occurs when a credit has been exhausted.
Event information: | |
---|---|
Event type definition | OCS/CREDIT/EXHAUSTED |
Applicable for | Credit |