Do all pens work on all surface devices?

Today I bought a surface go off eBay and a pen from CEX. Now I'm home I don't know if it's not working due to a flat pen battery or due to getting the wrong pen. My receipt says that it's a " surface pro 4 pen".

Have I bought the wrong pen?

Photo: https://i.imgur.com/pIiXOQk.jpg