docs: api, by function (all purchase-related)