What to check
Use a known-good Micro USB cable if the socket looks intact. Note whether the controller can still pair over USB.
What your result tells you
Charging and data behaviour can be checked separately. The controller’s model marking helps identify parts.
Manufacturer troubleshooting and reference
Get help with this issue
PlayStation controller charging repair