Updates sent by the Bango Platform
The Bango Resale API is a RESTful API: you make requests, and the Bango Platform returns responses. However, in some cases the Bango Platform can send you updates without an explicit request from your code. There are three main use cases:
To receive a notification from the Bango Platform whenever a merchant or the Bango Platform changes an entitlement's status for any reason, set the
notificationUrl parameter when you create the entitlement (or later, by updating the entitlement).
Bango recommends you always set the
notificationUrl. Invalid URLs trigger an HTTP 400
The Bango Platform does not add or remove any query parameters from the URL you supply.
|Entitlement Event||Notification Reason|
|The customers entitlement has been activated. The ||ACTIVATION_SUCCESS|
|The customers entitlement has ended. The ||TERMINATION_SUCCESS|
|The product that the customer has access to has changed. The ||PRODUCT_UPDATE|
|The customers entitlement has been suspended. The ||SUSPENSION_SUCCESS|
|The customers entitlement has been resumed. The ||RESUMPTION_SUCCESS|