Check user eligibility
Request that is sent to the merchant to check if the user is eligible to create an entitlement for the product provided in the request.
Authorizations
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Headers
Request unique identifier. This id should be used for idempotency.
Body
The check eligibility JSON sent to merchant to check is user is eligible for a subscription
Unique identifier which Bango holds that representing a specific customer of the reseller.
"1549053185"
Unique identifier representing a specific customer of the reseller.
"abc@email.co.uk"
Unique reseller identifier as agreed with the merchant
"XYZ_RESELLER"
Entitlement product unique identifier. For example, "BangoMusic".
"BangoMusic"
Entitlement offer unique identifier. For example, "6_MONTHS_ON_US".
"6_MONTHS_ON_US"
Response
Valid User eligibility response
Eligibility status. Possible values are:
- true: The user is eligible for the Entitlement
- false: The user is not eligible for the Entitlement
true
Reason for the eligibility response. This is not a mandatory value to be sent by the merchant. Examples:
- "User has an existing subscription"
"User is eligible for this Entitlement"

