ATP synthase is the enzyme responsible for producing ATP in the last stage of oxidative phosphorylation.
This diagram shows a detailed structure of ATP synthase, including the H+ channel through which the H+ ions flow down into the matrix, resulting in ATP production.
http://www.bio.miami.edu/tom/courses/protected/MCB6/ch12/12-24.jpg


