add donations api

Can you clean up the commented lines while you're in there?