json post data from purchases