Upgrade for phone

So if I want to upgrade my iPhone 7+ for an iPhone XS but still have a $70 balance remaining for my current phone can I just do in and pay the remaining balance for the phone and keep it and get the new phone at the same time or do I have to pay it off and then go in separately? I have att if that makes a difference. I can’t find a clear answer online. (Sorry if this isn’t the right group, didn’t know what group this would go in)