Create an entitlement
Authorizations
Headers
Optional identifier to support idempotency
Unique request id generated by the reseller. Useful for e2e trouble-shooting. While listed as an optional header, some content providers consider this to be mandatory.
Reseller-generated unique id per operation. Used by some content providers to identify an idempotent retry. While listed as an optional header, some content providers consider this to be mandatory.
Body
Unique, immutable user identifier
"123456789"
Unique identifier for the content provider
"BANGO_US"
Unique identifier for the product/offer
"MUSIC"
The endpoint where Bango will send all notifications regarding this entitlement
"https://notifications.bango.com"
Entitlement offer identifier
"BUNDLE"
Unique identifier for the entitlement provided by the reseller. If the previous attempt to create an entitlement failed, this value can be reused.
"124130d2-2cbc-45a1-ab9b-dfa8b67a2e63"
Entitlement display name, seen in reports.
"30 day free trial for Bango Music"
If set, Bango will schedule a termination request to the content provider on this date. Date format must be ISO 8601
"2024-12-05T07:46:52.000Z"
If set, Bango will schedule a suspension request to the content provider on this date. Date format must be ISO 8601
"2024-09-05T07:46:52.000Z"
Custom key value pairs
Response
Entitlement created and activated successfully
Unique identifier representing a specific entitlement
Unique, immutable user identifier
"123456789"
Bango generated id shared between reseller and merchant for this customer (contact support for setup)
"db2001b5-fde5-4654-9ecd-b3b04ba8f025"
Unique identifier for the content provider
"BANGO_US"
Unique identifier for the product/offer
"MUSIC"
The endpoint where Bango will send all notifications regarding this entitlement
"https://notifications.bango.com"
Entitlement offer identifier
"BUNDLE"
Unique identifier for the entitlement provided by the reseller. If the previous attempt to create an entitlement failed, this value can be reused.
"124130d2-2cbc-45a1-ab9b-dfa8b67a2e63"
Entitlement display name used in reports.
"30 day free trial for Bango Music"
Timestamp for the creation of the entitlement
"2024-06-22T17:35:38.920Z"
Timestamp provided by the content provider when the entitlement is activated
"1901-01-01T00:00:00.000Z"
Timestamp for when the entitlement terminated
"1901-01-01T00:00:00.000Z"
Timestamp for when the entitlement was suspended
null
Timestamp for when the entitlement was last resumed
null
If set, Bango will schedule a termination request to the content provider on this date. Date format must be ISO 8601
"2024-12-05T07:46:52.000Z"
If set, Bango will schedule a suspension request to the content provider on this date. Date format must be ISO 8601
"2024-09-05T07:46:52.000Z"
"OK"
"Success"

