A membrane enzyme that uses the energy of ATP to transport Na+ and K+ ions against their respective electrochemical gradients.