The seller may refuse warranty if it has been deemed physically damaged or user damage.
That is the first option, however if it fails, you can get it replaced. This can be done by any tablet or phone repair shop for around £20-£30. The charging port will need replacing, the device needs to be disassembled, the old port removed and a new port must be soldered onto the board.