# How much does it cost to build a crypto payment gateway, and when should you use a hosted one?

> Building your own crypto payment gateway costs far more in engineering time and ongoing risk than in servers: you have to watch several blockchains, give every invoice its own address, handle wrong amounts, wrong networks and fake tokens, move funds safely and keep the keys secure. Most businesses are better served by a hosted gateway (about 0.5% to 1.5% per payment) or free self-hosted software such as BTCPay Server (a server under $10 a month). A custom build pays off only when payments are your core product.

Source: https://quantumines.com/answers/build-vs-hosted-crypto-payment-gateway
Published: 2026-11-14 · Last updated: 2026-11-14
Publisher: Quantumines (https://quantumines.com/), founded by Muhammad Ali Raza (Ali Arbi)

For most businesses, building a crypto payment gateway from scratch is the expensive option. The servers are cheap; the cost is the engineering needed to watch several blockchains, match every payment to the right order, deal with wrong amounts and fake tokens, move funds safely and protect the private keys, and then keeping all of that running every day. A hosted gateway charges a percentage per payment (published rates are mostly 0.5% to 1.5%), and free self-hosted software such as BTCPay Server needs only a server that its own documentation puts at under $10 a month. Build your own only when payments are the product you sell.

## The three ways to accept crypto, and what each costs

| Route | What you pay | What you take on |
| --- | --- | --- |
| Hosted gateway (NOWPayments, CoinPayments, CryptoMerchant and others) | A fee per payment: published rates from 0.5% to 1.5%, plus network fees (see our gateway fees guide (https://quantumines.com/blog/crypto-payment-gateway-fees-explained), rechecked 11 Nov 2026) | Choosing a provider you trust. Most hosted gateways are custodial: they hold the funds until you pay out |
| Self-hosted software (BTCPay Server) | No processing or subscription fees; a server "less than $10/mo" on a VPS, or someone else's instance | Installing, backing up and updating the server. Bitcoin and Lightning are built in; other coins come through opt-in plugins |
| Your own custom gateway | Developer time to build it, then nodes or blockchain data providers, monitoring and security for as long as it runs | Everything below, including the keys. A bug can lose real money, not just show an error |

BTCPay Server's figures are from its own comparison page (https://docs.btcpayserver.org/BTCPayVsOthers/), read on 14 November 2026. We do not quote a price for a custom build: it depends entirely on how many coins and networks you need and who builds it, and any single number would be a guess.

## What a custom gateway has to handle

This list comes from what our own gateway, CryptoMerchant, had to solve before it could take real payments. Each line is a small project of its own.

- Watching the chains. Every network you accept (Ethereum, Tron, Solana, Bitcoin and so on) needs its own way of seeing incoming payments and confirmations. EVM chains, Bitcoin-style chains, Solana, TON and the XRP Ledger all work differently.
- One address and one locked rate per invoice. Otherwise you cannot tell which customer paid for which order, or what a payment was worth when it was made.
- Wrong amounts. Wallets often subtract fees, so some payments arrive a little short. You need rules for underpayments, top-ups, refunds and overpayments.
- Wrong coin or network. Customers send USDT on the wrong chain. Decide what you can detect and credit, and what is lost.
- Fake tokens and failed transactions. A token called "USDT" is only real if it comes from the official contract. Reverted, dropped or replaced transactions must never mark an order paid, and XRP has partial-payment tricks of its own.
- Moving the money. Funds that land on many invoice addresses have to be swept into one wallet, and every sweep costs gas in the network's own coin.
- Key security. Whoever holds the keys holds the money. Generating, storing and backing up keys safely is the part you cannot get wrong.
- Payouts, refunds and records. Merchants need withdrawals, refunds to the customer's own address and statements an accountant can use.
- Telling your shop. Signed webhooks with retries, so orders update even when your site was briefly down.

## A simple way to decide

- Work out the fee in money, not percent. At 1% per payment, $1,000 of crypto sales a month costs about $10, roughly the same as a small server for BTCPay Server. At $50,000 a month the same rate is about $500.
- Decide whether you must hold your own keys. If yes, use self-hosted software rather than a custodial gateway.
- Check the coins your customers actually use. A self-hosted Bitcoin setup will not help if they pay USDT on Tron or USDC on Base.
- Count your team's time honestly. Someone has to keep a self-hosted or custom system updated, backed up and watched every day.
- Build your own only if payments are your core product, you have engineers who will own it for years, and no existing gateway or open-source tool does what you need.

## How CryptoMerchant handles it

Disclosure: CryptoMerchant is built and run by Quantumines, the studio that publishes this answer.

CryptoMerchant (https://cryptomerchant.online) is the hosted route: the work in the list above is done for you, and you pay per paid invoice.

| Question | CryptoMerchant |
| --- | --- |
| Fee | 1% per paid invoice; free setup, no monthly fee, nothing on expired or cancelled invoices |
| Coins | 11 coins on 11 networks, including USDT and USDC on six networks each |
| Custody | Custodial: CryptoMerchant holds the keys, with an hourly public proof of reserves (a snapshot, not an audit) |
| Gas | Each invoice adds the gas fee for moving that payment, never more than $5 |
| For developers | REST API, webhooks signed with HMAC-SHA256 and retried for about two days; no shop plugins yet |

If you can run a server and want your own keys, BTCPay Server is the better tool, and CryptoMerchant's own comparison (https://cryptomerchant.online/alternatives/btcpay-server) says so. Facts from cryptomerchant.online, checked on 14 November 2026.

New to the terms? See the crypto payments glossary (https://quantumines.com/crypto-payments-glossary), or read how to accept USDT without writing code (https://quantumines.com/answers/accept-usdt-payments-without-code).
