If you’re picking it up from the Apple store, they will ship your old device out for you. Just make sure you take pics or videos just case the trade in partner dispute it.
This will close out your existing loan for the new loan with the device you will be receiving. They could help you to transfer and set it up too.