How Payment Gateways Work: Paystack, Korapay and Others Explained

You tap "Pay" on a website. A small window opens, you enter your card details or choose bank transfer, maybe type an OTP, and a few seconds later you see "Payment successful". It feels almost too easy. But between your tap and that success message, a surprising amount of technology is working behind the scenes, passing your payment through several companies and systems that all have to agree on one thing: that the money really moved.
The names you see on those payment windows, such as Paystack, Korapay, Flutterwave, Monnify and others, are called payment gateways. If you shop online, run a small business, sell airtime and data, build apps or simply wonder why a payment sometimes stays "pending", understanding how gateways work will make you a smarter customer and a safer business owner.
This guide explains how payment gateways work in plain language, who is involved in each payment, what happens step by step, how fees and settlement work, why payments sometimes fail, and how to choose a gateway if you want to accept payments yourself.
What Is a Payment Gateway?
A payment gateway is a service that lets a business accept payments online. It securely collects the customer's payment details, checks with the right banks and networks, and tells the business whether the payment succeeded or failed. After that, it arranges for the money to be paid out to the business.
A simple way to think about it is a digital cashier. In a physical shop, a cashier takes your card, taps it on a machine and gives you a receipt. A payment gateway does the same job for websites and apps. The business does not need to build a connection to every bank and card network. It connects to the gateway, and the gateway handles the rest.
Why Businesses Use Payment Gateways
- Convenience. One connection gives access to many payment methods, such as cards, bank transfers, USSD and more.
- Security. Gateways handle sensitive card data under strict security standards, so the business does not have to store it.
- Speed. Payments are confirmed within seconds, and orders can be delivered immediately.
- Records. Every payment is logged with a reference, a status and a time, which helps with accounting and disputes.
- Trust. Customers feel safer paying through a familiar checkout page.
Who Is Involved in a Payment?
A single online payment can involve several parties. Knowing who they are explains most of the delays and errors people experience.
The customer
You, the person paying, using a card, a bank account, USSD or another method.
The merchant
The business or app receiving the payment, such as an online store, a bill payment platform or a subscription service.
The payment gateway
The service that connects the merchant to the payment system, shows the checkout, passes the details along and returns the result. Paystack, Korapay, Flutterwave and Monnify are examples.
The issuing bank
The bank that gave you your card or holds your account. It decides whether to approve the payment, based on your balance, limits and security checks.
The acquiring bank or processor
The bank or processor on the merchant's side that receives the money and passes it to the merchant. Gateways usually work with acquirers and licensed partners behind the scenes.
The card network or payment switch
Networks such as Visa, Mastercard and Verve, and interbank systems in Nigeria, carry messages and money between banks. They are the roads that payments travel on.
The customer sees one simple checkout, but behind it all of these parties exchange messages in seconds.
How a Card Payment Works, Step by Step
Step 1: The customer starts the payment
On the merchant's website or app, you choose what to buy and click pay. The merchant creates a payment request with the amount, your email or phone number and a unique reference, and sends it to the gateway.
Step 2: The gateway shows a secure checkout
The gateway opens its own payment page or window. This is important for security, because your card details go to the gateway, not directly to the merchant.
Step 3: You enter your details
You type your card number, expiry date and security code, or you choose another method. The gateway encrypts the information before sending it onward.
Step 4: Security checks
The gateway and the networks run checks to see if the payment looks normal. In many cases your bank asks you for extra confirmation, such as a one time password, a PIN or approval in your banking app. This step is designed to stop someone who has stolen card details from using them.
Step 5: The bank decides
Your issuing bank checks whether you have enough money, whether the card is active and whether the payment fits your limits. It then approves or declines.
Step 6: The result returns
The answer travels back through the networks and the gateway to the merchant. You see "successful" or "failed". The merchant also gets a message so that it can deliver your goods or service.
Step 7: Settlement
Approval does not mean the merchant already has the cash in their bank account. The money is collected, the gateway deducts its fee, and the remaining amount is paid out to the merchant's account in a process called settlement, usually after a day or so.
How Other Payment Methods Work
Bank transfer
With bank transfer checkout, the gateway usually gives you a temporary account number to pay into. This is often a virtual account created just for that payment. When your transfer arrives, the gateway matches it to your order using the account number and amount, then tells the merchant it was paid. This is why you are often told to send the exact amount to the exact account shown, and why it is risky to send money to an old account number.
USSD
USSD payments let you pay by dialling a code on your phone, without internet access. The gateway gives you a code to dial, your bank prompts you to confirm, and the result is sent back.
Mobile money and wallets
Some gateways support wallet payments, where you pay from a balance in an app. The idea is the same: the gateway connects the merchant to the wallet provider and returns the result.
Direct bank debit and recurring payments
For subscriptions, some gateways can save a customer's payment authorisation, so that repeat payments happen without entering details each time. This only works if the customer has agreed, and it depends on the bank and the method.
Payouts and transfers
Many gateways can also send money out, such as paying staff, refunding customers or paying suppliers. This is the reverse direction: the merchant instructs the gateway to send money to a bank account.
What Is a Webhook, and Why Does It Matter?
Here is a part most customers never see but is crucial. After a payment, the gateway sends an automatic message to the merchant's server, called a webhook, saying "this payment succeeded" or "this payment failed". It is how the merchant knows to deliver your airtime, confirm your order or credit your wallet, even if you closed the page or lost your connection halfway through.
That is why a payment can still be completed even if your screen showed an error. The money may have been processed, and the merchant's system updates a moment later when the webhook arrives. It is also why a proper platform checks a payment's real status with the gateway before delivering anything, instead of trusting a screen or a screenshot.
Webhooks are also protected by secret keys, so that the merchant can confirm the message really came from the gateway and not from a fraudster pretending to be one. Keeping those secrets private is one of the most important security jobs for any business that accepts payments.
Meet Some of the Popular Gateways in Nigeria
Nigeria has several well known gateways. They share the same basic job, but they differ in features, pricing and focus. Prices and details change, so treat the numbers below as a general guide and check each provider's official pricing page before you decide.
Paystack
Paystack is one of the best known payment gateways in Nigeria, and it became part of Stripe after an acquisition in 2020. It supports cards, bank transfers, USSD and other methods. Recent comparisons put its local card pricing at around 1.5% plus a flat ₦100, with the flat fee waived on small transactions and a cap on the total fee for local cards. International cards cost more. Settlement is usually reported as the next business day.
Korapay
Korapay, which has been presented under the Kora brand in some places, is a Lagos based payments platform that supports collections and payouts across several African countries. Comparisons describe it as supporting cards, bank transfers, USSD and mobile money, with local pricing around the 1.5% range. It is often used by businesses that want both pay-ins and payouts through one integration.
Flutterwave
Flutterwave operates across many African markets and is popular with businesses that sell across borders. Comparison sites report different local card rates, from about 1.4% to around 2% depending on the product and how fees are structured, which is a good reason to check the official pricing page rather than rely on a summary.
Monnify
Monnify, from Moniepoint, is widely used for bank transfer collections and virtual accounts, which suits businesses that want to give each customer or order a dedicated account number.
Interswitch, Squad and others
Interswitch, Squad by GTCO, OPay Business, Remita and other providers also offer collection services, each with its own strengths, such as bank partnerships, point of sale links or government payment integrations.
No single gateway is best for everyone. The right one depends on what you sell, who your customers are, how you want to be paid and how much support you need.
How Gateway Fees Work
Gateways make money by charging a small fee on each successful payment. The details differ, but there are common patterns.
- A percentage of the amount. For example, 1.5% of the payment.
- A flat fee on some transactions. A fixed naira amount added to a percentage, sometimes waived on small payments.
- A cap. Some providers limit the maximum fee on large local card payments, so a very large payment does not cost a huge amount.
- Higher fees for international cards. Cross-border payments involve extra costs, so they are usually more expensive.
- VAT. Value added tax can apply on top of the fees in Nigeria.
- Other charges. Some services charge extra for payouts, transfers, chargebacks or special features.
The fee is usually deducted from the money the merchant receives, or in some setups added to what the customer pays. Either way, a business should calculate its real costs and price its products with fees in mind.
A simple example
Suppose a customer pays ₦10,000 with a local card, and the gateway charges 1.5% plus a flat ₦100. The fee would be ₦150 plus ₦100, which is ₦250, before any VAT on the fee. The merchant receives roughly ₦9,750 at settlement. On a small payment the percentage matters most. On a very large payment, a fee cap makes a big difference.
What Is Settlement?
Settlement is the process of moving the money from the gateway to the merchant's bank account. It does not usually happen instantly. Reports and comparisons commonly describe settlement for Nigerian gateways as around the next business day, with some providers offering faster or instant options for an extra fee or on certain plans.
This is why a merchant may see a successful payment immediately on their dashboard, but only see the money in their bank account later. It is also why weekends and public holidays can delay settlement.
Why Payments Fail or Stay Pending
If you have ever been charged but did not get what you paid for, one of these reasons is likely to blame.
Your bank declines the payment
Common reasons are insufficient funds, card limits, a blocked card or a security rule that flags the payment as unusual.
The OTP does not arrive or expires
Network problems or delays can stop the code from reaching you in time, and the payment fails.
The connection drops
If your internet or the merchant's page fails halfway, you may not see the final result, even if the payment went through.
Bank or network downtime
Banks and switching systems sometimes go down for maintenance or because of technical problems. Payments sent during these periods may fail or take longer to confirm.
A transfer arrives late or with the wrong amount
With bank transfers, payments can be delayed in the interbank system, or the wrong amount or reference can prevent automatic matching.
The webhook is delayed
Sometimes the payment succeeds, but the merchant's system takes longer to receive the confirmation. The merchant must then check the status and complete the order.
What to do if you were charged but did not get your order
- Do not pay again straight away. Wait a few minutes and check the order status.
- Check your bank alert and the receipt or reference from the payment.
- Contact the merchant with your reference, the amount and the time of the payment.
- If your account was debited and the merchant cannot help, ask your bank to trace the transaction.
How Gateways Keep Payments Secure
Handling money online means strong security. Reputable gateways use several layers of protection.
- Encryption. Your card details are scrambled in transit, so that anyone intercepting them cannot read them.
- Industry security standards. Gateways follow card industry security rules designed to protect cardholder data.
- Tokenisation. Instead of storing your actual card number, some systems store a token that is useless to a thief.
- Authentication. OTPs, PINs and app approvals confirm that the real cardholder is paying.
- Fraud monitoring. Systems watch for unusual patterns, such as many failed attempts or strange locations.
- Secret keys. Merchants use private keys to talk to the gateway, and these must be kept out of public code and away from customers.
Security is shared between the gateway, the merchant and you. A secure gateway cannot protect you if you hand your OTP to a fraudster.
Tips for Customers: Paying Safely Online
- Only pay on websites and apps you trust, and check the web address carefully.
- Look for a secure checkout, and be careful with links sent in unexpected messages.
- Never share your OTP, PIN or full card details with anyone who contacts you.
- Check the amount and the merchant name on the payment screen before you confirm.
- For bank transfers, copy the exact account number and amount shown, and only use the account for that payment.
- Keep your receipts and references, especially for large payments.
- Do not retry repeatedly if a payment is pending. Wait, check, then contact support.
Tips for Businesses: Choosing and Using a Gateway
If you want to accept payments for your shop, service or app, here is how to think about the choice.
1. Look at the total cost, not just the headline rate
Compare percentages, flat fees, fee caps, VAT, payout fees and the cost of international cards. Think about your typical payment size, because a flat fee hurts small payments more and a cap helps large ones.
2. Check which payment methods you need
Do your customers prefer cards, bank transfers, USSD or wallets? Pick a gateway that supports the methods your customers actually use.
3. Understand the settlement time
If you need quick access to your money, ask about settlement speed, cut-off times, weekend rules and any option for faster settlement.
4. Test reliability and support
Search for recent feedback on uptime and customer support. When money is involved, a slow support team can cost you customers.
5. Check documentation and integration
If you have a developer, look at the gateway's documentation and tools. If you use a website platform, check whether there is a plugin that works with it.
6. Plan for disputes and refunds
Find out how refunds, reversals and chargebacks work, what fees apply and how long they take.
7. Keep your keys safe
Store secret keys securely, never publish them in public code or share them in chats, and rotate them if you think they have leaked.
8. Always verify before delivering
Confirm the real payment status with the gateway, using its verification tools or a trusted webhook, before you deliver goods or services. Never rely on a screenshot or a "success" screen alone.
9. Keep records and reconcile regularly
Match your gateway reports with your own sales records and bank settlements. This helps you spot missing payments, duplicates and errors early.
10. Do not depend on a single provider if you can avoid it
Some businesses connect more than one gateway, so that if one has an outage, they can still collect payments through another.
Common Myths About Payment Gateways
Myth 1: The gateway keeps my card details forever
Reputable gateways follow strict rules about card data and often use tokens. Merchants usually never see your full card details.
Myth 2: A successful message means the merchant already has the cash
Approval and settlement are different steps. The money reaches the merchant's bank account later, after fees are deducted.
Myth 3: All gateways are the same
They share the same basic job, but they differ in pricing, features, support, settlement and reliability.
Myth 4: If the screen shows an error, the money is gone for good
Sometimes the payment is still being processed. If your account was debited, the merchant or your bank can trace it. Failed payments are typically reversed.
Myth 5: Only big businesses need to understand gateways
Anyone who sells online, even a small reseller with a payment link, benefits from knowing how fees, settlement and verification work.
Frequently Asked Questions
What is the difference between a payment gateway and a payment processor?
A gateway is the service that securely collects and transmits payment details for the merchant. A processor handles the behind the scenes work of communicating with banks and networks. Many modern providers combine both roles in one product.
Is Paystack or Korapay better?
It depends on your needs. Both are used by Nigerian businesses, and they differ in features, pricing and focus. Compare current fees, payment methods, settlement and support, and test what fits your business.
How long does settlement take?
Commonly around the next business day for many Nigerian gateways, but it varies by provider, plan and payment method. Check your provider's current terms.
Why was I charged but my order is still pending?
The payment may be delayed in the network, or the merchant's system may not have received the confirmation yet. Wait a few minutes, check the status and contact the merchant with your reference if it does not update.
Who pays the gateway fee, the merchant or the customer?
Usually the merchant, with the fee deducted from the settlement. Some businesses choose to pass the fee on to the customer, depending on their setup and local rules.
Is it safe to pay through a gateway?
Reputable gateways use strong security. Your own habits matter too: use trusted sites, never share your OTP and check payment details before you confirm.
Can a payment gateway reverse a payment?
Refunds and reversals are possible in many cases, but the process, time and fees depend on the gateway, the merchant and your bank.
Do I need a gateway to accept bank transfers?
Not strictly, since you can receive transfers directly. But a gateway or a virtual account service can automate matching payments to orders, which saves time and reduces mistakes.
Final Thoughts
A payment gateway may look like a simple pop-up window, but it is the link that connects shoppers, businesses, banks and networks in a few seconds. Understanding the basic flow, from checkout to bank approval to webhook to settlement, helps you make sense of fees, delays and failed payments.
As a customer, the key habits are to pay on trusted platforms, protect your OTP, keep your references and be patient with pending payments. As a business owner, the key habits are to compare total costs, choose methods your customers use, verify every payment properly, protect your secret keys and reconcile your records.
Fees, features and rules change regularly, so always check the current information on each provider's official website before you decide. This article is general information and not financial or legal advice.


