There are two major options to buy used or second hand iphones in Sri Lanka. First of all you can buy it from any mobile shop and other option is to buy online. There are many sites available which do business of selling used mobiles in Sri Lanka.Best one is mentioned below.
https://ikman.lk/en/ads/sri-lanka/mobile-phones/apple