Skip to main content
GET
Get An Entitlement Using Externalentitlementid

Authorizations

x-api-key
string
header
required

Headers

ExternalEntitlementId
string
required

Unique identifier provided for the entitlement by the Reseller

X-RequestIdentifier
string<uuid> | null

Optional identifier to support idempotency

Response

Entitlement retrieved successfully

Entitlement.

entitlementId
string<uuid>
required

Unique identifier representing a specific entitlement.

customerIdentifier
string
required

Unique, immutable user identifier

bangoUserId
string
required

Bango-generated customer identifier.

merchantAccountKey
string
required

Unique identifier for the content provider

productKey
string
required

Unique identifier for the product/offer

entitlementDisplayName
string | null
required

Entitlement display name used in reports.

dateCreated
string<date-time>
required

Timestamp for the creation of the entitlement

responseCode
string
required

Result of entitlement operation. OK on success.

Example:

"OK"

responseMessage
string
required

Response message of entitlement operation. Success if completed successfully.

Example:

"Success"

status
enum<string>
required

The entitlement status. Possible values are:

  • PENDING: The entitlement has been initiated, but the user has not yet completed the activation process.
  • ACTIVE: The entitlement has been successfully activated
  • SUSPENDED: The entitlement has been suspended.
  • ACTIVE-ENDING: The entitlement is ending at the end of the current period.
  • CANCELLED: The entitlement has been cancelled.
  • REVOKED: The entitlement has been revoked.
  • FAILED: The entitlement could not be created.
Available options:
PENDING,
ACTIVE,
SUSPENDED,
ACTIVE-ENDING,
CANCELLED,
REVOKED,
FAILED
sharedCustomerId
string<uuid> | null

Bango generated id shared between reseller and merchant for this customer (contact support for setup)

notificationUrl
string | null

The endpoint where Bango will send all notifications regarding this entitlement

offerKey
string | null

Entitlement offer identifier

externalEntitlementId
string | null

Unique identifier for the entitlement provided by the reseller. If the previous attempt to create an entitlement failed, this value can be reused.

dateActivated
string<date-time>
default:0001-01-01T00:00:00Z

Timestamp provided by the content provider when the entitlement is activated

dateEnded
string<date-time>
default:0001-01-01T00:00:00Z

Timestamp for when the entitlement terminated

dateSuspended
string<date-time> | null

Timestamp for when the entitlement was suspended

dateResumed
string<date-time> | null

Timestamp for when the entitlement was last resumed

dateExpiry
string<date-time>
default:0001-01-01T00:00:00Z

If set, Bango will schedule a termination request to the content provider on this date. Date format must be ISO 8601

dateFailed
string<date-time>
default:0001-01-01T00:00:00Z

Date when the creation of the entitlement failed

dateAutoSuspend
string<date-time> | null

If set, Bango will schedule a suspension request to the content provider on this date. Date format must be ISO 8601

activationCode
string | null

Code or token used for the entitlement activation

extensionData
Extensiondata · object

Custom key value pairs

extraInformation
Extrainformation · object

Entitlement extra information.

financeData
Financedata · object

Finance Data.