I found a very good existing joomla affiliate extension that quick2cart can be easily integrated with.
http://www.joomlathat.com/documentation/affiliate-tracker/using-the-api-to-create-conversions
It already supports many joomla carts, but not quick2cart.
I think it is a killing feature to have such integration for Q2C, and it is easy too with their API.
If you want it too, please vote for it