finish transfer api