Create a Receipt (Payment)


Does any know how to create a receipt  for a invoice (receive payment) using the .net SDK or using SQL injection? If so could you please provide an example ?  

I looked around in the SDK couldn't find any method which does that... i am guessing the solution would be to insert rows directly into the DB ....