today
Self-service credit purchase CTAs in Credit Balance and Credit Utilization widgets
We've made it easier than ever to allow customers to purchase additional credits in a self-service manner, directly from where they monitor their usage.
🆕 What’s New
Vendors can now display a CTA button inside the Credit Balance and Credit Utilization widgets.
The button's styling and text are fully customizable, ensuring a seamless integration with your application's design system
⭐️ Why It Matters
- Ensure customers never run out of credits - allow customers top top-up their credit balance in a self-served manner
- Increase revenue - sell additional credits as one-time credits or recurring add-ons.
⚒️ Get Started
To display the button, simply provide the onAddCredits callback when initializing the widget.
When a customer clicks the button, this callback is triggered, allowing you to seamlessly direct them to your checkout flow or open a top-up modal.
📦 Availability
This functionality is available in the latest versions of our SDKs:
- React: v7.22.1
- Vue: v5.13.0
- Embed: v6.12.0