An acid phosphatase (HppA) activated by $NH_4Cl$ was purified 192- and 34-fold from the periplasmic and membrane fractions of Helicobacter pylori, respectively. SDS-polyacrylamide gel electrophoresis revealed that HppA from the latter appears to be several kilodaltons larger in molecular mass than from the former by about 24 kDa. Under acidic conditions (pH${\leq}$4.5), the enzyme activity was entirely dependent on the presence of certain mono- and/or divalent metal cations (e.g., $K^+$,$ NH_4{^+}$, and/or $Ni^{2+}$). In particular, $Ni^{2+}$ appeared to lower the enzyme's $K_m$ for the substrates, without changing $V_{max}$. The purified enzyme showed differential specificity against nucleotide substrates with pH; for example, the enzyme hydrolyzed adenosine nucleotides more rapidly at pH 5.5 than at pH 6.0, and vice versa for CTP or TTP. Analyses of the enzyme's N-terminal sequence and of an $HppA^-$ H. pylori mutant revealed that the purified enzyme is identical to rHppA, a cloned H. pylori class C acid phosphatase, and shown to be the sole bacterial 5'-nucleotidase uniquely activated by $NH_4Cl$. In contrast to wild type, $HppA^-$ H. pylori cells grew more slowly. Strikingly, they imported $Mg^{2+}$ at a markedly lowered rate, but assimilated urea rapidly, with a subsequent increase in extracellular pH. Moreover, mutant cells were much more sensitive to extracellular potassium ions, as well as to metronidazole, omeprazole, or thiophenol, with considerably lowered MIC values, than wild-type cells. From these data, we suggest that the role of the acid phosphatase HppA in H. pylori may extend beyond 5'-nucleotidase function to include cation-flux as well as pH regulation on the cell envelope.