Bifunctional enzyme that catalyzes the post-translational modification of inactive peptidylglycine precursors to the corresponding bioactive alpha-amidated peptides, a terminal modification in biosynthesis of many neural and endocrine peptides (By similarity). Alpha-amidation involves two sequential reactions, both of which are catalyzed by separate catalytic domains of the enzyme. The first step, catalyzed by peptidyl alpha-hydroxylating monooxygenase (PHM) domain, is the copper-, ascorbate-, and O2- dependent stereospecific hydroxylation (with S stereochemistry) at the alpha-carbon (C-alpha) of the C-terminal glycine of the peptidylglycine substrate (PubMed:10079066). The second step, catalyzed by the peptidylglycine amidoglycolate lyase (PAL) domain, is the zinc-dependent cleavage of the N-C-alpha bond, producing the alpha-amidated peptide and glyoxylate (PubMed:10079066). Similarly, catalyzes the two-step conversion of an N-fatty acylglycine to a primary fatty acid amide and glyoxylate (PubMed:10079066). a [peptide]-C-terminal glycine + 2 L-ascorbate + O2 = a [peptide]-C-terminal (2S)-2-hydroxyglycine + H2O + 2 monodehydro-L-ascorbate radical a [peptide]-C-terminal (2S)-2-hydroxyglycine = a [peptide]-C-terminal amide + glyoxylate 2 L-ascorbate + N-dodecanoylglycine + O2 = H2O + 2 monodehydro-L-ascorbate radical + N-dodecanoyl-(2S)-hydroxyglycine N-dodecanoyl-(2S)-hydroxyglycine = dodecanamide + glyoxylate 2 L-ascorbate + N-(9Z,12Z,15Z)-octadecatrienoylglycine + O2 = H2O + 2 monodehydro-L-ascorbate radical + N-(9Z,12Z,15Z)-octadecatrienoyl-(2S)-hydroxyglycine N-(9Z,12Z,15Z)-octadecatrienoyl-(2S)-hydroxyglycine = (9Z,12Z,15Z)-octadecatrienamide + glyoxylate 2 L-ascorbate + N-(9Z-octadecenoyl)glycine + O2 = H2O + 2 monodehydro-L-ascorbate radical + N-(9Z-octadecenoyl)-(2S)-hydroxyglycine N-(9Z-octadecenoyl)-(2S)-hydroxyglycine = (9Z)-octadecenamide + glyoxylate 2 L-ascorbate + N-tetradecanoylglycine + O2 = H2O + 2 monodehydro-L-ascorbate radical + N-tetradecanoyl-(2S)-hydroxyglycine N-tetradecanoyl-(2S)-hydroxyglycine = glyoxylate + tetradecamide 2 L-ascorbate + N-decanoylglycine + O2 = H2O + 2 monodehydro-L-ascorbate radical + N-decanoyl-(2S)-hydroxyglycine N-decanoyl-(2S)-hydroxyglycine = decanamide + glyoxylate 2 L-ascorbate + N-octanoylglycine + O2 = H2O + 2 monodehydro-L-ascorbate radical + N-octanoyl-(2S)-hydroxyglycine N-octanoyl-(2S)-hydroxyglycine = glyoxylate + octanamide Binds one Zn(2+) ion per subunit. Binds 2 Cu(2+) ions per subunit. PAM activity is inhibited by EDTA, phenylglyoxal and diethyl pyrocarbonate (By similarity). PAL activity is stimulated by cadmium and inhibited by mercury (PubMed:19604476). Monomer. Interacts with RASSF9. Secretory granules. Membrane-bound. Membrane-bound. Soluble. Soluble. Membrane-bound. Soluble. Soluble. In the C-terminal section; belongs to the peptidyl-alpha-hydroxyglycine alpha-amidating lyase family. In the N-terminal section; belongs to the copper type II ascorbate-dependent monooxygenase family.