Credit Deduction

Modified on Mon, 09 Oct 2023 at 06:31 PM

AtomChat allows you to deduct credits when your users use text chat or audio/video calling features. 

If a user runs out of credits, then they will no longer be able to send messages or connect on calls (until they add more credits). This feature is ideal for monetization!

Please note: Your website should have a Credits Management functionality which basically means your users should be able to buy points/credits on your website. 

With AtomChat's credit deduction feature, we can then check if a user has sufficient credits to send a message or connect on a video call. 

1. Use our Restful API to add and deduct credits for a user. Please click here to learn how.

2. Configure the credits you want to deduct from your AtomChat Admin Panel -> Settings -> Role-Based Access Control

For example, 10 credits for 10 messages. And, 50 credits for 10 minutes of video calling. 

Set the number of credits you want to deduct 

Step 1:  Login to AtomChat Admin Panel.

Step 2:  Click on Settings -> Role Base Access from the navigation menu.

Document image

Step 3:  Now you can view all your user roles. Select any role and look out for "Charge Credits when using certain features for this role".

Document image

Step 4: Modify the number of credits you would like to charge and hit the Update button.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article