And it doesn't have to be an Apple product. Their program allows trade-ins on other popular brands like Google, LG, Dell, Samsung, HP, and more.
HOW DO I TRADE IN MY USED DEVICES FOR APPLE CREDIT IN THE GIVEBACK PROGRAM?
Follow these few simple steps to get an estimate on the value of the items, and you’re on your way to some spending money at the Apple Store! Even if your old hardware isn’t eligible for a monetary return, you can still send it in (for free!) to have it properly recycled.
Smartphone, computers, tablets, and Apple Watches are the only items that can be traded in for Apple Store credit. However, you can still send in other electronics for recycling.