# Issuing reward points from a script 

**URL:** <https://forum.wixstudio.com/t/issuing-reward-points-from-a-script/6773>\
**Category:** Ask the community\
**Tags:** code, question\
**Created:** [March 18, 2021, 3:21pm UTC](https://forum.wixstudio.com/t/issuing-reward-points-from-a-script/6773 "2021-03-18T15:21:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![joshimayank123](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/joshimayank123/32/27341_2.png) [@joshimayank123](https://forum.wixstudio.com/u/joshimayank123)\
**Post date:** [March 18, 2021, 3:21pm UTC](https://forum.wixstudio.com/t/issuing-reward-points-from-a-script/6773/1 "2021-03-18T15:21:34Z")

</div>

Hello,

I am trying to write a script that when certain conditions are met, it will issue reward points to a user.  
I know I can work with APIs to do operations on a dataset and such but is there a way to interact with the rewards system through code?

Thank you

---

<div class="post-metadata">

**Author:** ![Certified\_Code](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/certified_code/32/80179_2.png) [@Certified\_Code](https://forum.wixstudio.com/u/Certified_Code)\
**Post date:** [March 21, 2021, 5:54am UTC](https://forum.wixstudio.com/t/issuing-reward-points-from-a-script/6773/2 "2021-03-21T05:54:43Z")

</div>

You can use Smile.io , their enterprise plan has API tools access. Of course, you can build your own system.

For example: Wix Store Order Paid: [https://www.wix.com/velo/reference/wix-stores-backend/events/onorderpaid](https://www.wix.com/velo/reference/wix-stores-backend/events/onorderpaid)  
There is lots of other event that can used to trigger the ‘Reward Point to user’ feature. You can also work with Wix Events, reward them if they join your event.
