A payment gateway is the secure technology that captures, encrypts, and processes customer payment information. It acts like a digital version of a POS terminal, validating transactions and ensuring funds move safely from the customer to the business.