Low latency credit balance checks
We’ve introduced a lightning-fast way for developers to retrieve and display customer credit balances, ensuring your in-app experiences remain snappy and scalable.
🆕 What’s New
Developers can now utilize the new getCreditEntitlement() endpoint to instantly retrieve a customer's current credit balance. When recurring grants are included in plans and add-ons the response will include their next reset date.
Built on top of Stigg's highly scalable infrastructure, this endpoint is served directly from the Edge. For maximum performance, when integrated with Stigg's persistent cache, this data can be accessed with < 10ms latency.
⭐️ Why It Matters
- Exceptional User Experience: Presenting real-time credit balances and reset dates to your customers is crucial for transparency.
- Built for Scale: By serving requests from the Edge and for persistent cahce, this endpoint is designed to handle massive traffic spikes effortlessly.
⚒️ Get Started
To implement this, simply update your Stigg SDK to the latest version and call the getCreditEntitlement() method for the relevant customer.
For detailed implementation instructions, check out the SDK documentation, as well as our guides on leveraging Persistent Caching.
📦 Availability
This functionality is available now in the following SDK and service versions:
- Node SDK: v4.30.1
- Python / Ruby / Java / Go / .NET SDKs: v6.40.0
- JavaScript SDK: v3.99.1
- Sidecar SDK: v6.7.3
- Persistent Cache Service: v3.1.1