Do apple fix or change iPhone if you bought it from eBay?

I just want to know if apple can change or fix my iPhone 5, it's under apple warranty till November. I bought it from eBay about 7 months ago but now it won't charge, the charger is fine I tested. Just want to know if they can help me because I purchested it from eBay

If it's under apple warrantee they honor it. Most phones are purchased at places other than the Apple store. They actually replaced my whole phone. If yours is replaced make sure and ask about the warrantee as mine started over with the new phone.