Question about a fountain pump… The fountain pump will be hardwired. Is it okay by code to feed a GFCI receptacle (line side) from the circuit breaker and then wire load side to the pump. Will this suffice for GFCI protection?
That's a fine way to do that, provided Code allows a receptacle on the fountain circuit.
(In some cases it does not; for instance a dishwasher circuit is not allowed to have receptacles in a kitchen, and any circuit with hardwired loads > 50% of circuit ampacity is not allowed to have any sockets at all.)
If you are not allowed to have sockets on the circuit, then you can use a GFCI breaker or a standalone GFCI (called a GFCI Deadfront or blankface). They also make GFCI switches, which are a deadfront rated for daily switching duty.
Most likely yes.
What size pump motor what size circuit? 15 or 20 amp. Will be needed to properly answer but a sure fire way to get a yes answer is to install a “dead face GFCI”.
What is a dead face GFCI? It is a device that has no receptacle just the test and reset buttons.
I use these in locations where I want GFCI protection locally but do not want receptacles like on the surround of a jetted tub or when I want a under/ inside cabinet receptacle to have an easy access reset on the face of the cabinet (higher end homes usually).
There are ways to do it but depending on the answer to the pump size and circuit size a dead face may required.