Broken 8pin cable tip
Take a look at the AppleCare information on this site:
Apple - Support - AppleCare+ - iPhone
As you can see, if you purchased the phone from the original retailer less than a year ago, you have complimentary AppleCare on your phone. AppleCare covers these items:
AppleCare+ provides repair or replacement coverage, both parts and labor, from Apple-authorized technicians. Coverage includes the following:
Included earphones and accessories
Coverage for up to two incidents of accidental damage,2 each subject to a $79 service fee plus applicable tax
Thanks for using the Apple Support Communities!