Use the T-Mobile Blacklist checker and verify each IMEI before placing an order:
https://www.t-mobile.com/resources/bring-your-own-phone
NOT SUPPORTED: Lost/Blocked/Blacklisted/Stolen/FRAUD.