Added partially refunded option. Closes #79