Hi najwa260,
Before any decision is made, regarding the service options, the charging cable will need to be evaluated in person. From the Using Apple power adapters, cables, and duckheads with Apple products article, you'll find the following information from the "Identifying damaged AC power adapters or cables," section:
"If your power adapter, AC wall adapter, or AC power cable has been damaged, stop using it. If you're unsure about whether an accessory is damaged, take it to an Apple Retail Store or Apple Authorized Service Provider for evaluation, or contact Apple Support.
Signs of damage include but aren’t limited to:
- Any breakage or visible wear on a cable’s outer layer
- Bent, missing, loose, or broken AC prongs or blades
- AC blades that won’t lock into place, or that have black marks or other visible damage
- Sparks issuing from somewhere other than the blades of a plug
- Breakage, visible damage, or discoloration of the adapter casing
- Popping sounds from within the AC wall adapter or anywhere on the AC power cable
- AC adapters that don’t power your device
Note: If the blade or prong on a power adapter or prong on an AC power cable is visibly loose, bent, or broken off and stuck inside an electrical outlet, there’s a safety risk. Follow these steps:
- If a blade or prong on an AC wall adapter or AC power cable seems damaged or gets stuck in a wall outlet, don’t repair, touch, or remove it, and don’t touch or use the electrical outlet.
- Remove the risk of electric shock from the affected outlet by turning off all power to that outlet from your circuit breaker or fuse box. If you’re unable to turn off the power to the electrical outlet, or can't confirm the power has been turned off, contact a qualified electrician."
Only after the evaluation will they be able to tell you if there is a cost, and how much, regarding replacing the charger. You'll want to be sure to schedule an appointment with the Apple Store or Apple Authorized Service Provider that you decide to go to for the evaluation. This article will help you locate the service providers in your area: Apple - Find Locations - Location Selector.
Cheers.