It applies in Wales — but not uniformly within them, because no single national statute governs it.
Where to apply
Your local council runs this, and it does so under its own byelaws or a local Act rather than a national statute. What one council requires, its neighbour may not, and some may not license it at all.
The law behind it
No national statute creates this licence. The note above says why. Your council decides whether you need it.
Duties, penalties and exemptions are summarised from the enabling instrument, not quoted from it. Fees, forms and conditions are set by the issuing authority.