You have this. And most are not good over 2-3amp charging.
This from Grin, but I’d not go over 3. I agree with m@!
DC Jack
The DC barrel connector has been a standard for powering electronic devices with low voltage DC in consumer electronics, and has found its way as a commonly used plug for the charging port of frame mounted ebike batteries. We have also been using it for many years as the DC power port on the Cycle Analyst for running ebike lights, DC-DC converters, and other accessories.
These DC jack plugs are not usually rated for very high currents, and their design makes it easy to accidentally short the pin and ground tabs with a piece of metal. There are some models that have a multi-prong ground connection and are rated for up to 7 amps, but
most of the models are only good for 2-4 amps. This is especially true if the mating contact to the ground sheath is just a single bent metal tab.
The low current rating and vulnerability to shorts make them far from ideal for use as the charge port in an ebike battery pack, but for better or for worse this is a common connector that is in many battery enclosures. Be aware that polarity can vary from device to device and DC plugs are specified by both the diameter of the barrel (OD) and pin (ID). The standard size used in ebikes has a 5.5mm barrel, but the pin can be either 2.5mm (most common) or a smaller 2.1mm (less common).