A payment service provider handles the technical side of taking money online so you don't have to build it yourself
A payment service provider (PSP) is a company that processes payments between customers and your business. When someone enters their credit card number on your website or app, the PSP takes that information, checks it with the card network and the customer's bank, and tells you whether the payment went through. You never see the card number directly — the PSP handles the security and compliance work that would otherwise fall on you.
For a developer or small business owner, this matters because building your own payment system is expensive, legally complicated, and risky. A PSP lets you add payment processing to your product in days instead of months, and they handle the security standards (called PCI compliance) that governments and card networks require. You pay them a percentage of each transaction or a flat fee, and in return you get a working payment system that scales as your business grows.
Key Takeaways
- A payment service provider processes card payments, bank transfers, and digital wallets on your behalf, so you don't handle sensitive payment data directly.
- PSPs handle PCI compliance and security standards, which means you avoid the legal and technical burden of protecting card information yourself.
- You integrate a PSP into your website or app using their API or pre-built plugins, usually in a few hours to a few days.
- Common PSPs include Stripe, Square, PayPal, and Adyen, each with different pricing, features, and geographic reach.
- The PSP charges you a percentage of each transaction (typically 2 to 3 percent) plus a small fixed fee per transaction.
How a payment service provider actually works
When a customer makes a purchase, the flow looks like this: they enter their payment information on your checkout page, your website sends that data to the PSP's secure servers, the PSP contacts the customer's bank and the card network to verify the funds, and then the PSP sends back a yes or no. If yes, the money moves from the customer's account to a holding account at the PSP, and the PSP deposits it into your business bank account (usually within one to three business days).
The PSP sits in the middle of this chain because they have relationships with banks and card networks that you would have to build yourself. They also have the infrastructure to handle thousands of transactions per second, fraud detection systems that flag suspicious activity, and the legal agreements in place to process payments in different countries. You could theoretically do all this yourself, but it would take a team of engineers months to build and cost tens of thousands of dollars to maintain.
Different PSPs handle different payment methods. Some process only credit and debit cards. Others also handle bank transfers (ACH in the US, SEPA in Europe), digital wallets like Apple Pay and Google Pay, and regional payment methods like Alipay in China or iDEAL in the Netherlands. The more payment methods you support, the more customers you can reach.
The difference between a PSP and a payment gateway
The terms are often used interchangeably, but they describe different layers of the payment system. A payment gateway is the software that encrypts and transmits payment data — it's the tool that takes the customer's card number and sends it securely to the bank. A payment service provider is the entire service: the gateway plus the merchant account, the settlement process, fraud detection, and customer support.
In practice, when you choose a PSP like Stripe or Square, you're getting both the gateway and the full service. Some larger businesses use a separate gateway and a separate processor, but for most developers and small businesses, a single PSP is simpler and cheaper. The PSP handles everything in one place.
Common payment service providers and what they offer
Stripe is built for developers and software companies. It has strong API documentation, webhooks that let you react to payment events in real time, and support for nearly every payment method worldwide. It charges 2.9 percent plus 30 cents per transaction for card payments in the US.
Square started in physical retail but now handles online payments too. It's known for simplicity and lower fees on in-person payments, though online fees are similar to Stripe. Square also offers point-of-sale hardware and inventory management if you need those.
PayPal is the oldest and most recognizable. It charges 2.99 percent plus 30 cents per transaction for standard payments. PayPal works well if your customers already have PayPal accounts, but it's less developer-friendly than Stripe for custom integrations.
Adyen is larger and more enterprise-focused. It handles high-volume transactions and complex payment flows, and it operates in more countries than most competitors. Pricing is negotiated per client rather than published.
There are dozens of others, including Braintree (owned by PayPal), Authorize.net, and 2Checkout. The right choice depends on your transaction volume, which countries you operate in, what payment methods matter to your customers, and how much customization you need.
How to integrate a payment service provider into your product
Most PSPs provide an API that you call from your backend code. You create a payment intent or token on the PSP's servers, send that token to your frontend, collect the customer's payment information on your website or app, and then confirm the payment by sending the token back to the PSP. The PSP returns a success or failure message, and you update your database accordingly.
For simple cases, many PSPs offer pre-built checkout pages that you can embed or redirect to, so you don't have to build the form yourself. This is faster but gives you less control over the user experience. For more control, you use the API directly and build your own checkout interface.
The integration usually takes a few hours to a few days, depending on how much customization you need and how familiar you are with the PSP's documentation. Most PSPs provide code examples in multiple languages (JavaScript, Python, Ruby, PHP, etc.) and have sandbox environments where you can test without real money.
What happens to your money after a payment goes through
The PSP holds the money in a holding account for a day or two, then deposits it into your business bank account. This delay is called the settlement period. During this time, the PSP is checking that the transaction is legitimate and that the customer's bank won't reverse it.
If a customer disputes a charge or their bank reverses it (called a chargeback), the PSP deducts that money from your account. You can dispute the chargeback by providing evidence that the transaction was legitimate, but the burden is on you. This is why fraud detection and clear customer communication matter — chargebacks cost you money and damage your reputation with the PSP.
The PSP also holds a small reserve (usually 5 to 10 percent of your monthly volume) in case chargebacks spike. This reserve is released after a few months of clean transactions. If you're a new business or in a high-risk category (like gambling or adult content), the reserve can be larger.
Security and compliance: what the PSP handles for you
Payment card data is heavily regulated. The card networks (Visa, Mastercard, American Express) require that any company handling card information meet the Payment Card Industry Data Security Standard (PCI DSS). This standard covers everything from how you store data to how you log access to your systems. Compliance is expensive and ongoing.
When you use a PSP, they handle most of this for you. You never store the customer's full card number on your servers — the PSP does. You never transmit the card number directly — the PSP does. This means you're not responsible for PCI compliance at the same level as a company that processes payments directly. You still need to follow basic security practices (use HTTPS, keep your code updated, don't log sensitive data), but the PSP carries the heavy burden.
The PSP also monitors for fraud. They use machine learning and rule-based systems to flag suspicious transactions — a card used in two countries in one hour, a sudden spike in transaction volume, a card number that's been reported stolen. They can decline a transaction automatically or ask the customer for extra verification.
Frequently Asked Questions
Can I use a payment service provider if I'm outside the US?
Yes, but not all PSPs operate in all countries. Stripe and PayPal work in most countries, but some regions have limited options. Check the PSP's website for a list of supported countries before you commit. Some PSPs also require a local business registration or bank account.
What happens if a customer's payment fails?
The PSP returns an error code that tells you why — insufficient funds, card expired, incorrect CVV, or the bank declined it for fraud reasons. You can show this message to the customer and ask them to try again with a different card or payment method. Most PSPs let you retry failed payments automatically after a few days.
Do I need a separate merchant account?
Not with most modern PSPs. Stripe, Square, and PayPal provide merchant accounts as part of their service. Older payment processors required you to open a merchant account with a bank separately, but that's becoming rare. Check with your chosen PSP to confirm.
How much does a payment service provider cost?
Most charge a percentage of each transaction (2 to 3 percent) plus a fixed fee (20 to 30 cents). Some charge monthly minimums or monthly fees instead. A few charge per-transaction fees only. The exact rate depends on your transaction volume, which payment methods you use, and your industry. Get a quote from the PSP before you commit.
What if I want to switch payment service providers later?
You can switch at any time. The PSP doesn't own your customer data or your transaction history. You'll need to update your code to use the new PSP's API, but the integration usually takes a few hours. Your old transactions stay with the old PSP, and future transactions go to the new one.