Payment Gateway

Accounts Receivable Dictionary

What is a payment gateway?

A payment gateway is the technology that captures a customer's card or bank details at checkout, encrypts them, and passes them securely to the banks and networks that authorise the payment. It is the bridge between your invoice or checkout page and the financial plumbing behind it. When a customer pays online and sees an instant approved or declined response, the gateway is the part that made that exchange happen safely.

For any business that collects payment online, the gateway sits at the exact moment money starts moving, which makes it central to getting paid. A good one approves legitimate payments fast, blocks fraud, and hands clean transaction data back to your accounting system, so cash arrives sooner and reconciliation is less of a chore.

Key takeaways

It secures the handoff.The gateway encrypts card data and carries it from checkout to the banks.

Gateway is not processor.The gateway captures and transmits; the processor moves the money between banks.

Fees are per transaction.Expect a small percentage plus a fixed fee on each successful payment.

How a payment gateway works

A payment gateway works by capturing the payment details, encrypting and transmitting them for authorisation, and returning an approved or declined result, all in a couple of seconds. The customer sees a single click; behind it, the gateway coordinates a short relay between several parties. Here is the sequence for a typical card payment.

The payment flow
1
Capture

The customer enters card details on your checkout or payment page. The gateway encrypts them instantly so the raw numbers never sit on your server.

2
Transmit

The gateway sends the encrypted request to the payment processor, which routes it to the card network and on to the customer's issuing bank.

3
Authorise

The issuing bank checks funds, verifies the card, and runs fraud screens, then returns an approved or declined response back along the chain.

4
Respond

The gateway relays the result to your checkout in seconds, the customer sees confirmation, and the order or invoice is marked paid.

5
Settle

Over the next day or two the processor moves the funds from the customer's bank to your account, net of fees, and the payment settles.

Authorisation and settlement are two separate stages. The approval a customer sees is a hold on their funds, not the cash in your account; settlement, when the money actually lands, follows a day or two later. Knowing the difference matters for cash flow, because a paid invoice is not the same as cleared funds until settlement completes.

Payment gateway vs payment processor

A payment gateway captures and securely transmits payment data, while a payment processor moves the actual money between the customer's bank and yours. The terms get used interchangeably, but they are different jobs: the gateway is the front door at the point of payment, and the processor is the logistics behind it.

AspectPayment gatewayPayment processor
Main jobCaptures and securely transmits the payment data.Moves the actual money between the banks.
Where it sitsAt the point of payment, the front door of checkout.Behind the scenes, talking to card networks and banks.
What it handlesEncryption and the approved or declined response.Settlement of funds into your account.
How you buy itUsually bundled with processing in one service.Usually bundled with the gateway in one service.

In practice you rarely buy them separately. Providers like Stripe bundle the gateway and processing into one service, so a single integration covers the whole flow from checkout to settlement. That is why the distinction matters more for understanding what is happening than for shopping around. When you connect Stripe to your accounting through Paidnice, both halves are handled, and the payment data flows straight back to your ledger.

Payment gateway fees

Most payment gateways charge a percentage of each transaction plus a small fixed fee, commonly in the region of 1.5% to 3% plus 20 to 30 cents per successful payment. The exact rate depends on the provider, the card type, and whether the payment is domestic or international, with cross-border and premium cards costing more. Some providers add a monthly fee; many modern ones charge purely per transaction with no fixed cost, which suits lower-volume businesses.

Watch for the extras that do not show up in the headline rate: currency conversion margins on international sales, chargeback fees when a customer disputes a payment, and occasionally a fee for refunds. For a business with thin margins these add up, so it is worth modelling the all-in cost on your real transaction mix rather than the advertised percentage alone.

Hosted vs integrated gateways

A hosted gateway redirects the customer to the provider's secure page to pay, while an integrated gateway keeps them on your site and collects the details through an embedded form. The split decides who carries the security load and how the checkout feels, and each approach trades off against the other.

Hosted gateway

The provider handles card entry on their own secure pages, so your compliance burden stays minimal.

Fast to set up and customers trust a recognised payment page.

Sends the customer briefly off-site to pay.

Integrated gateway

Keeps the customer on your site for a seamless, on-brand checkout.

The customer never leaves your payment flow.

More of the security responsibility sits with you.

For most small businesses collecting invoice payments, a hosted or provider-managed flow is the pragmatic choice: it is fast to set up, offloads compliance, and customers trust a recognised payment page. The smoother that page, the fewer payments abandoned halfway, which feeds straight back into how quickly invoices get settled.

Do you need a payment gateway?

If you take card payments online, you need a gateway, because it is the only compliant way to handle card data without exposing your business to serious security and fraud risk. The alternative, capturing card numbers yourself, drags you into heavy compliance obligations that almost no small business should take on. A gateway carries that burden for you.

For accounts receivable specifically, a gateway does more than process a sale. Pairing it with a customer payment portal lets customers settle outstanding invoices in a click, straight from a reminder, which is one of the most reliable ways to shorten the time between sending an invoice and seeing the cash. The easier you make paying, the faster you get paid, and the gateway is what makes one-click payment possible.

How gateways fit your accounting

The real payoff for finance teams is what happens after the payment clears. A gateway that connects to your accounting system records each transaction automatically, matching the payment to the right invoice and saving you the manual entry. That keeps your electronic payment records accurate and your books current without anyone keying figures by hand.

Gateways also handle more than one-off card sales. Many support recurring billing for subscriptions and can sit alongside bank-based methods like direct debit for customers who prefer to pay from their account. Choosing one that integrates cleanly with your ledger turns payment collection from a reconciliation headache into a step that mostly runs itself.

Frequently asked questions
What is a payment gateway?
A payment gateway is the technology that captures a customer's card or bank details at checkout, encrypts them, and passes them securely to the banks and networks that authorise the payment. It is the bridge between your invoice or checkout page and the financial plumbing behind it. When a customer pays online and sees an instant approved or declined response, the gateway made that exchange happen safely.
What is the difference between a payment gateway and a payment processor?
A payment gateway captures and securely transmits payment data, while a payment processor moves the actual money between the customer's bank and yours. The gateway is the front door at the point of payment; the processor is the logistics that settle the funds with the card networks and banks. Providers like Stripe bundle both into one service, so a single integration covers the whole flow.
How much does a payment gateway cost?
Most payment gateways charge a percentage of each transaction plus a small fixed fee, commonly around 1.5% to 3% plus 20 to 30 cents per successful payment. The exact rate depends on the provider, the card type, and whether the payment is domestic or international. Watch for extras like currency conversion margins, chargeback fees, and refund fees, which are not in the headline rate.
What are examples of payment gateways?
Widely used payment gateways include Stripe, PayPal, Square, and Adyen, among others. Many of these combine the gateway and payment processing in a single service, so one integration handles everything from capturing card details at checkout through to settling the funds in your account. The right choice depends on your transaction volume, regions, and which accounting tools it connects to.
Do I need a payment gateway to accept online payments?
Yes. If you take card payments online, a gateway is the only compliant way to handle card data without exposing your business to serious security and fraud risk. Capturing card numbers yourself pulls you into heavy compliance obligations that almost no small business should take on, and a gateway carries that burden for you.
Keep reading

Are you making these
5 invoicing mistakes?

Don't let these critical mistakes hurt your
collections - See how to fix them, today!