API handler eased up for handling refunds