Issuing reward points from a script

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

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
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.