Credit-based access to a database of leads

I want to build a site where I can upload leads to a database from a back-end using Excel-format files. The leads will be visible through the front-end, i.e. the website, to logged-in members. Some of the critical information about the leads, such as contact information, will have to be blurred or otherwise invisible. Members can sign-up and use their credit cards to buy credits. With each viewing of the contact information of leads, some of the credit will have to be used up. The amount of credits used up with each viewing of the lead’s contact information by members will vary according to the number of members who have viewed that lead. (So, for example, the first person to view a lead will spend $10, while the second person to view the same lead will spend $8, with the idea being that the value of the lead goes down according to the number of times it has been viewed). I would also need the lead data to be filtered according to certain ‘tags’ that represent the attributes of the leads. Ability to sort according to certain attributes would also be a plus.

Can all these requirements be met by using WixCode’s database feature? Thanks.