A payment gateway is an e-commerce application service provider service that authorizes payments for e-businesses and online retailers. Payment gateways encrypt sensitive information, such as credit card numbers, to ensure that information passes securely between the customer and the merchant.