After you have created your first offer, you are ready for the actual integration. At the core of Cleeng is the entitlement engine. Whenever your client registers (and purchases) a given offer, entitlements are automatically added. Via the Cleeng Dashboard these entitlements (access rights) can be updated manually, and when refunds or chargebacks occur these entitlements are revoked. Also when your subscriber is automatically billed for another period, the entitlement is extended, and when it fails, the entitlement is revoked.
The main API method to validate entitlements is getAccessStatus() - it requires only two input parameters: the CustomerToken (to identify the user, handled by the SDK automatically), and the Offer Id (to identify the package/video). When the method returns positive, you can allow playback and show the actual video content.
Although this API method will respond extremely fast around the world - you might consider caching this for a few hours on your server to further optimize loading times.