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).
You must always set the notificationUrl
. Invalid URLs trigger an HTTP 400 BAD_REQUEST
response.
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 status will be ACTIVE | ACTIVATION_SUCCESS |
The customers entitlement is pending termination at a future date. The status will be ACTIVE-ENDING . You will receive a TERMINATION_SUCCESS notification when the termination date has been reached | TERMINATION_PENDING |
The customers entitlement has ended. The status will be CANCELLED or REVOKED | TERMINATION_SUCCESS |
The product that the customer has access to has changed. The productKey parameter reflects the new productKey on the customers entitlement | PRODUCT_UPDATE |
The customers entitlement has been suspended. The status will be SUSPENDED | SUSPENSION_SUCCESS |
The customers entitlement has been resumed. The status will be ACTIVE | RESUMPTION_SUCCESS |
Metadata on the entitlement has been changed. | METADATA_UPDATE |
Loading...