Can I Create a Credit or Reward Based System?

Do you have documentation on how to run a credit or rewards based website? In other words, people purchase items with reward points vs. dollars?