A payment gateway is the infrastructure that receives a transaction's data at checkout, sends it to the acquirer and the card network, and returns the approval or decline response. It's the technical layer between the moment the buyer clicks pay and the moment the money is actually moved.

Besides processing the charge, a full-featured gateway also covers fraud prevention, routing between acquirers, currency conversion, and the payout of the approved amount to the seller, net of fees.