Added ability to use refund API endpoint