You cannot sell your iPhone as such back to Apple for money. But can exchange with the company for instant credit towards a newer iPhone model on the market. You can do this by reaching out to an authorized Apple dealer.