Payment Gateways for Online Businesses (Types and Choices)
See how payment gateways work and choose one that fits your business.
What a payment gateway does
A payment gateway is the service that sends payment details from a customer to the businesses that approve and move funds. It helps an online business accept card payments and, in many cases, digital wallets. Think of it as a secure bridge between checkout and payment processing.
The gateway is not always the same as a merchant account or payment processor. A merchant account holds funds before they reach the business bank account. A processor routes payment data and communicates with banks. Some providers bundle these roles, so you can work with one company instead of several.
For shoppers, the gateway should make checkout feel quick and clear. For merchants, it must support safe data handling, reliable approvals, and useful records. The best fit depends on where you sell, how customers pay, and what tools your business already uses.
How a gateway handles an online payment
When a customer pays, the gateway gathers the payment details and sends them securely for approval. The card network and the customer’s bank check the payment request. The bank then approves or declines it, often within seconds.
An approval is not the same as money arriving in your account. First, the payment is authorized, which means funds are set aside or approved. Later, the merchant submits approved payments for settlement. Funds then move through the payment system and reach the merchant account or provider balance.
Here is the usual flow for a card payment:
- The customer enters card details or chooses a digital wallet.
- The gateway encrypts and sends the payment request to the provider.
- The customer’s bank approves or declines the request.
- The merchant receives the result and fulfills the order if approved.
- Approved payments are settled and paid out under the provider’s schedule.
Refunds, disputes, and failed payments can add more steps. A provider’s dashboard and reports help staff track these events. Stripe’s payment documentation explains common payment flows and the steps involved.

Three common types of payment gateway
A hosted gateway sends customers to a payment provider’s checkout page. The provider handles much of the payment form and data security. This can be a good choice for a small shop that needs a quick setup and limited coding.
A self-hosted gateway keeps more of the checkout experience on your site. Customers enter payment details on your pages, while a provider handles the payment request. This gives you more control, but your team must take greater care with security and upkeep.
An API-based gateway lets developers connect payment features directly to a site or app. It can support a custom checkout, saved payment methods, and more tailored flows. It also takes more time to build and test. The right route depends on your skills, risk needs, and plans to grow.
- Hosted: simpler setup and less control over the checkout page.
- Self-hosted: more control, with more security work for your team.
- API-based: flexible checkout features, with added build and test work.

Why businesses use a payment gateway
A gateway lets customers pay online without handing card details to the merchant. Providers use tools such as encryption and fraud checks to help protect payment data. Merchants still need to follow the rules that apply to their business and payment setup.
Checkout choice matters, too. A gateway that accepts cards and digital wallets can help customers pay in a way they know. Fewer steps can also cut the chance that a shopper leaves before placing an order. A smooth payment experience builds trust at the point where a sale is won or lost.
For merchants, one service can bring payments, refunds, and reports into a single workflow. That can save staff time as order volume grows. It also gives the business a clearer view of failed payments and customer disputes.
What to check before choosing a provider
Start with the full cost, not just the headline rate. Providers may charge a fee for each payment, a monthly fee, or extra fees for disputes and currency conversion. Compare costs using your likely order size and sales volume.
Next, check that the gateway works with your website platform, shopping cart, and accounting tools. Look at the payment methods it supports, including cards and digital wallets. If you sell across borders, check supported currencies and payout timing.
- Fees: compare per-payment costs, monthly charges, refunds, and disputes.
- Compatibility: confirm support for your store platform and other key tools.
- Payment methods: match card, wallet, and local payment options to your buyers.
- Support: check contact hours, response routes, and help for failed payments.
- Security: ask how the provider helps protect data and spot suspicious activity.
Test the checkout on phones and computers before launch. Make a small live payment, then test a refund and review the records. Clear support matters when an order fails or a payout is delayed.
Popular gateways and business needs
Stripe offers tools for online payments, recurring billing, and custom checkout builds. Its API-based features suit businesses with developer support or special payment flows. PayPal is widely known to shoppers and offers checkout options that can let customers pay through their PayPal accounts or cards.
Square combines online payments with tools for in-person sales. It can suit a retailer that runs both a web shop and a physical location. Features and fees can vary by country and plan, so check current terms before you choose.
For a small payment gateway for an online store, a hosted checkout can keep setup simple. A growing e-commerce brand may value custom checkout tools, saved payment methods, or links to stock and order systems. Compare providers against your real needs rather than a broad “best” list.
Gaming businesses have extra needs. A payment gateway for online gaming should fit the game’s region, payment types, refund rules, and age controls. Online gambling businesses face stricter rules and may need a provider that accepts their business type. Do not assume a general gateway will support gambling or gaming payments; confirm approval and local rules first.
Current trends include more wallet payments, mobile-first checkout, and tools that flag unusual activity. E-commerce shops seek fast checkout and smoother repeat payments. Gaming firms often need payments that work across devices and markets. Ask providers how they handle your exact customer base, not just their feature list.
Choose a gateway that fits your next step
A payment gateway for online payment links checkout to approval and settlement. Hosted, self-hosted, and API-based options each trade ease of setup for more control. Start by listing your payment methods, sales regions, platform needs, and budget.
Then compare the full fees, support, security tools, and payout terms. Test the checkout and refund flow before taking regular orders. For gaming or gambling, get written confirmation that the provider accepts your business model and markets.
Frequently asked questions
- What is a payment gateway for online payments?
- It is a service that securely sends payment details from checkout for approval. It helps connect a customer’s payment method with the merchant’s payment provider.
- How does a payment gateway work?
- The gateway sends a payment request to the relevant payment systems and the customer’s bank. The bank approves or declines it, and approved funds are settled later.
- What is the difference between hosted and API-based gateways?
- A hosted gateway sends customers to a provider’s checkout page. An API-based gateway lets a business build a more tailored checkout, but usually needs developer work.
- Which payment gateway is best for an online store?
- The best fit depends on your platform, sales regions, payment methods, and costs. Compare providers such as Stripe, PayPal, and Square against those needs.
- Can an online gaming or gambling business use a payment gateway?
- Some providers support gaming or gambling payments, while others do not. Confirm the provider’s business rules and check local laws before setting up payments.
- What fees should I compare when choosing a gateway?
- Compare per-payment charges, monthly fees, dispute costs, and currency conversion fees. Also check payout timing and any extra costs for refunds.