Integrate a PSP
- Best fit
Merchant or platform with standard needs; speed matters
- PCI DSS scope
Smallest (hosted fields, provider tokens)
- Certification
None beyond provider onboarding
Custom payment gateway development sits where financial regulation, real-time transaction processing, merchant compliance and fraud prevention meet. A mistake in any one of these areas can freeze go-live indefinitely, expose the business to direct financial loss, or tie the platform to a single provider in a way that weakens its merchants’ negotiating position for years.
PCI DSS scope has to be fixed before the first line of payment code is written. When tokenization and network segmentation are retrofitted after development exposes scope gaps, the rework reaches storage, logging, network topology and every service that ever handled card data. It usually surfaces during QA, when the QSA flags architectural violations, and by then a redesign costs far more than the original scoping decision would have. We define the cardholder data environment and the validation route (SAQ D or a full ROC) during discovery, so the architecture is built to that boundary from the start, and early scoping also clarifies the compliance documentation required for validation and later security audits.
A transaction can authorize cleanly and pass every functional test while the reconciliation logic beneath it drifts out of line. The ledger shows the payment as settled, the acquirer’s settlement file says otherwise, and nobody notices until the totals stop matching. For a PSP or PayFac, that gap is direct financial exposure and a common trigger for acquirer audits. Every day of unreconciled volume adds to what the audit has to unpick. Our engineers build reconciliation into the core back end, automatically matching internal ledger entries against each acquirer’s settlement files and alerting on mismatches before the next batch closes.
The acquirer, and in some programs the card schemes, run their own validation, security testing and audit cycles, and a new PayFac registration adds another layer. Acquirer certification testing can only begin once the build is functionally complete, and none of it gets faster when more engineers join the project. A gateway that works in testing but hasn’t cleared certification cannot carry a single merchant transaction on launch day. Certification milestones go into the project plan in week one, with test scripts prepared against each acquirer’s requirements well before the sandbox phase.
Rule-based detection is quick to build and easy to deploy, and fraudsters learn to slip past it with small variations in amount, timing or device. At a few thousand transactions a day, rules alone can hold the line. At millions, fraud patterns shift faster than anyone can update the rule set, while false positives start declining good customers. Retrofitting ML-based detection after a fraud spike means reworking the data pipeline, the scoring path and the authorization flow under pressure. From day one, the scoring step sits inside the authorization path, so adaptive models can be added or retrained without touching the core transaction flow.
Gateway logic written directly against one payment service provider’s proprietary SDK makes every later switch expensive. High-volume platforms gain leverage when PSP fees come up for renegotiation, but only if moving volume to another provider is technically realistic. Tight coupling looks faster in the first release and turns into technical debt over the following years. Our gateways route through a PSP abstraction layer where each provider connects as a separate adapter, so volume can move between them without changes to core logic.
When an acquirer responds late or a client times out and resends, a gateway that treats each retry as a new request can authorize or capture the same payment twice. The cost shows up weeks later as refunds, chargebacks and support tickets, all traced back to a design choice made in the first sprint. Every authorization, capture and refund request carries an idempotency key, so a retry returns the original result instead of creating a second charge.

John Gabbert
Founder and CEO, PitchBook Data
Customers are king at PitchBook and SPD Technology shares in this mission. For the last 13 years, SPD Technology has helped us scale product development and continuously deliver the product functionality our clients need to make smarter decisions.
The choice between integrating, orchestrating and building comes down to two questions: how much card data your systems will handle, and how long you can wait for certification. Integrating a PSP keeps the PCI DSS scope small and gets you live fastest. Choosing a custom payment gateway development platform over a PSP brings card data into your own environment and puts acquirer certification on the critical path. Payment orchestration platform development sits between the two, for platforms that need routing across several providers without becoming a processor themselves.
Integrate a PSP | Orchestrate several | Build a custom gateway | |
|---|---|---|---|
| Best fit | Merchant or platform with standard needs; speed matters | Platform using several PSPs/acquirers; routing and redundancy matter | PSP, PayFac or ISO whose gateway is the product |
| PCI DSS scope | Smallest (hosted fields, provider tokens) | Medium (orchestration layer, tokens portable) | Largest (you store/transmit card data; Level 1 likely) |
| Certification | None beyond provider onboarding | Per-processor certification | Acquirer and card-network certification; plan for 3–9 months |
Merchant or platform with standard needs; speed matters
Smallest (hosted fields, provider tokens)
None beyond provider onboarding
Platform using several PSPs/acquirers; routing and redundancy matter
Medium (orchestration layer, tokens portable)
Per-processor certification
PSP, PayFac or ISO whose gateway is the product
Largest (you store/transmit card data; Level 1 likely)
Acquirer and card-network certification; plan for 3–9 months
From transaction engine design to settlement reconciliation and compliance-scoped security infrastructure, every payment gateway software development project we run begins with architecture decisions made before the first development task is planned.
Payment flows are where friction compounds. Each extra checkout step lowers completion rates, and every authentication handoff is a point where customers drop off. We design payment UX with PSD2/SCA built into the interaction model: when most 3DS2 checks run frictionless and challenges open inside the flow, Strong Customer Authentication stops feeling like an obstacle. Mobile-first payment forms cut input through field masking and automatic card network detection. For returning customers, tokenized cards make a one-click purchase flow possible, with no card details re-entered.
Payment processing software development has to manage both synchronous and asynchronous workflows. Authorization is synchronous: the request goes out and the issuer responds in milliseconds. Settlement runs asynchronously. Capture requests are queued into batch files per acquirer, those files generate settlement instructions, and automated reconciliation confirms the money actually moved. Methods such as bank transfers can settle on timelines that vary by rail and provider, so status updates must remain asynchronous even when the user sees an instant confirmation. We design idempotency into every step so retries never double-charge or create duplicate settlements, and failover logic can route traffic across payment processors during an acquirer outage without losing transaction state. Our ML engineers build fraud detection and prevention mechanisms that adapt as volume grows and fraud patterns change. For Poynt, we built payment services covering authorization, settlement, tokenization and a hosted gateway with a JavaScript plugin.
Payment security has to be part of the architecture from the first design session. On the web, hosted fields and client-side encryption keep raw card numbers off your servers, while card-present flows use P2PE-validated terminals. Tokenization replaces raw card data with non-sensitive tokens, which shrinks the cardholder data environment (CDE), the compliance burden and the audit surface. Network segmentation draws hard boundaries between the CDE and the merchant-facing application layer, and administrative access requires multi-factor authentication. Where a platform must hold card data, we isolate the CDE on hardened, restricted-access infrastructure separate from core systems, which reduces the number of systems in PCI DSS validation scope. Hardware security modules (HSMs) manage encryption keys outside application servers.
Every acquiring bank and payment provider has its own technical requirements. Settlement files arrive in different formats, card networks calculate scheme fees in their own way, authorization routing needs failover for the moment a processor goes down, and chargebacks follow workflows specific to each bank. We support Visa, Mastercard, American Express and alternative networks through acquirer and processor connections, and for NimbleCommerce’s white-label commerce platform our team integrated 27 payment systems. The PSP abstraction layer keeps core gateway logic the same whichever processor handles a transaction, which also makes it easier to support multiple payment gateways when redundancy or regional coverage matters.
Card networks and digital wallets are table stakes, but supporting multiple payment methods is also a conversion lever: we support Visa, Mastercard, American Express, PayPal, Apple Pay and Google Pay. Each method customers expect at checkout is one fewer reason to abandon it. Broader coverage is what modern payment infrastructure needs, from ACH and SEPA transfers and bank transfers for direct-debit use cases and local alternative payment methods like BLIK, iDEAL and Bancontact in EU markets to Buy Now Pay Later providers such as Klarna, Affirm and Afterpay. For subscription billing and recurring payment systems, we build tokenization workflows for repeat authorizations, dunning logic for failed payments and proration for plan changes. Each payment method plugs into a routing layer as a modular component, so new methods go live without touching core gateway code. For in-person acceptance on terminals and mobile devices, our POS software development services cover card-present flows and their separate PCI scope.
Merchant acquisition at scale depends on automated identity verification and risk assessment. We build KYC and KYB verification flows that process identity documents, validate beneficial ownership and assign risk scores before a merchant’s first transaction. The onboarding portal connects to your payment infrastructure, supporting sub-merchant management while giving merchants real-time processing status and self-service access to transaction data and compliance documentation. For Blackhawk Network’s Aggregated Merchant Portal, automated OFAC and SSN/EIN checks cut onboarding from 7 days to under 24 hours, and 8,000+ US businesses joined within two years. Learn more about our merchant onboarding and KYC verification workflows.
Each result below comes from a payment project we delivered to production, and each card links to the full case study.
Processor Certified Alongside Elavon
Adyen integrated and certified as a strategic processor for Poynt, running alongside the upgraded Elavon connection
Payment Systems Integrated
connected to NimbleCommerce’s white-label commerce platform during a long-term engineering partnership
Faster Merchant Onboarding
from 7 days to under 24 hours, with automated OFAC and SSN/EIN checks in Blackhawk Network’s Aggregated Merchant Portal
Audits Passed on a Payments Core Built from Scratch
for Axcess Payment Services, with configuration-driven routing, a standardized gateway integration layer and hosted checkout that reduces merchants’ PCI scope
Our payment gateway development services draw on payment infrastructure work delivered since 2006, from PayFac settlement and acquirer integrations to PCI DSS security architecture and high-volume transaction processing. That history gives our engineers a practical sense of where gateways break in production and what keeps them running.
Secure payment processing at scale needs models that learn from transaction behavior, since a fixed rule engine falls behind as soon as fraud patterns shift. Our engineers combine supervised models trained on labeled fraud outcomes with unsupervised anomaly detection that picks up patterns nobody has labeled yet. Both feed a risk score into the authorization decision in real time. When behavior changes, the models are retrained on fresh transaction data, so detection adapts without anyone writing a new rule. The full scope of this work is covered in our fraud detection software development services, and it continues after onboarding through merchant risk management, where models keep scoring merchants after they go live.
Integration work is where gateway timelines and budgets most often slip, especially when teams try to support multiple providers from the start, because every third party brings its own API conventions, sandbox behavior and certification steps. We’ve built integrations with banking service providers, payment systems and money transfer services for clients in international markets. We also connect gateways to the systems around them: ledgers, CRMs, accounting platforms and merchant management tools. Each connection sits behind its own adapter, so when a provider changes its API, only one component needs updating. For gateways that need to work with platforms and PSPs already in place, see our approach to payment gateway integration.
PCI DSS compliant gateway design starts with two questions: where card data lives, and who can reach it. Our answer is usually a tokenization vault. Card numbers are swapped for non-sensitive tokens at the point of capture, hosted fields and encryption in transit protect them on the way from checkout to the vault, and HSMs manage the encryption keys on a fixed rotation schedule. With hosted fields, the checkout page can stay on the merchant’s own domain while raw card details bypass the merchant’s backend entirely, which keeps most of the merchant’s systems out of PCI scope. Token design matters commercially too. If tokens stay portable across processors, a platform can add or switch acquirers later without asking customers to re-enter their cards. At Poynt, our team built the platform’s PCI DSS compliant tokenization as part of its payment services, alongside the hosted gateway and virtual terminal.
Payment infrastructure that spans geographies needs more than multi-currency support, especially when cross-border gateways must help merchants accept payments across markets, not just move funds between currencies. We integrate the local payment methods each region expects and design the currency logic around three questions: where FX rates apply, how settlement currency differs from display currency, and which currency merchant payouts use. Those choices decide whether multi-currency settlement reconciles cleanly across bank accounts in different jurisdictions. For a legal tech company, we added a new payment system and two payment methods and hardened checkout against bot attacks. Platforms that also want to accept digital assets can explore our separate digital asset payment gateway work.
Compliance requirements in payment gateway development shape architecture decisions from the first scoping session, covering everything from how the cardholder data environment is isolated to how transaction logs are structured for audit review.
We treat PCI DSS compliant architecture as a discipline that runs through the entire project lifecycle. The cardholder data environment (CDE) is scoped at the design stage, and tokenization reduces the number of systems in scope by replacing raw card data with non-sensitive tokens. Network segmentation isolates the CDE from the payment application layer, so a compromise in one is far less likely to expose card data in the other. Requirement 10 (logging and monitoring) is part of the infrastructure from the start, with audit trails for all CDE access, transaction logs for settlement reconciliation and alerting on anomalous activity, and a vulnerability management program covers regular assessments, penetration testing and remediation. SPD Technology designs every gateway to PCI DSS requirements and supports the QSA assessment, including the compliance documentation and evidence needed for SAQ D or a full Report on Compliance (ROC), as well as security audits and penetration testing.
A gateway has to verify two kinds of customers. End users go through identity document checks and OFAC sanctions screening, with transaction monitoring watching for suspicious patterns afterwards. Merchants need more scrutiny, because the platform carries their risk: business registration checks and beneficial ownership documents up front, then compliance monitoring that continues once the account is live. In Blackhawk Network’s Aggregated Merchant Portal, our team built OFAC screening and SSN/EIN verification directly into the onboarding flow and cut onboarding time sevenfold, from 7 days to under 24 hours. Merchants can upload compliance documents whenever they’re requested, which leaves less for the review team to chase and keeps the platform ready for audit. Our merchant onboarding solutions cover this work in more depth.
SOC 2 Type II asks more of a platform than Type I. A Type I report is a point-in-time attestation, while Type II requires evidence that controls operated effectively over an observation period, typically 3 to 12 months. In practice, audit trails, access logs, change management records and incident response documentation must exist from the first day of operation. Our logging infrastructure captures CDE access patterns, administrative actions, configuration changes and security events. Role-based permissions control access, and every change to the system is recorded with its approval trail, while incident response procedures are written down and rehearsed before launch. Evidence collection therefore runs throughout development and continues into production.
European payment processing creates a technical tension. PCI DSS and financial regulations require transaction records to be retained, while GDPR gives cardholders the right to have their personal data erased. Pseudonymization and tokenization resolve most of it. Card data is tokenized at capture, so transaction records hold tokens in place of primary account numbers (PANs), and the link between a token and a person’s identity is stored separately. When a cardholder’s erasure request applies, deleting that link leaves the transaction record intact for audit while it no longer identifies anyone. Data residency is enforced through regional CDE deployments, so personal data stays in the jurisdictions where it is allowed to be processed.
Most of what goes wrong in a payment gateway build has gone wrong before, on someone else’s project. We’ve seen compliance scope discovered in QA and certification missing from the schedule, and we’ve watched reconciliation hold up in testing only to break under real volume. As a payment gateway software development company working in payments since 2006, SPD Technology brings that history into discovery. It’s the cheapest point in a project to act on it.
Our payment partnerships run for years, which means we live with the architecture decisions we make. For Poynt, our team delivered an all-in-one omnicommerce solution in five months, then extended it over a partnership of more than five years, adding tokenization, the hosted gateway, Adyen certification alongside Elavon and PayFac settlement. SPD Technology is also an official Adyen service partner, and our Adyen integration services cover projects where Adyen is the right processor. When a gateway has to keep evolving after launch, that continuity matters as much as the first release.
Security decisions for a payment gateway belong in discovery, where they are cheapest to make. We define the CDE boundary, encryption, tokenization vault design and network segmentation before development begins, so the QSA assesses a system built to be assessed. For Axcess Payment Services, we built a payments core that has passed PCI DSS audits, with hosted checkout that keeps card data out of merchants’ environments and shrinks their PCI scope. A smaller scope means fewer systems to audit and shorter assessment cycles in every year that follows.
Transaction volume tends to arrive in spikes around promotions, holidays and new merchant launches. Kafka or RabbitMQ queues settlement asynchronously, so capture requests never hold up authorization responses, and the authorization layer scales horizontally under concurrent load. Transaction logs are partitioned by merchant or time window to keep queries fast as data accumulates. Before production, load test results become the capacity plan the client takes into launch.
Payment facilitation changes what a gateway is responsible for, especially for platforms that resell processing under their own brand. A PayFac underwrites sub-merchants, handles sub-merchant management, manages funding flows, carries chargeback liability and reports to card networks on every merchant it boards, and each of these affects authorization routing, settlement batching and payout logic from the start. Building PayFac settlement for Poynt gave our team a working understanding of the model from both the technical and business sides: how to structure merchant funding, handle chargeback exposure and produce sub-merchant reporting that meets network rules. That experience shapes every gateway we design to work with PayFac and processing systems, as well as our dedicated PayFac platform development work.
Every payment gateway project we run starts with architecture. Compliance and scalability questions are settled up front, which is how we keep budgets and timelines from shifting mid-project.
Before development begins, we plan the right payment solutions for the business model, defining transaction volumes, the PCI DSS validation level, acquirer relationships, fraud risk profile and integration requirements. This is where we look for the compliance gaps that would otherwise surface in QA, in the second or third week, while fixing them still means editing a document. This is the stage where scope and timeline confidence are built, and clients who need tailored custom payment solutions as a standalone engagement can start with our payment system architecture consulting.
Deliverables: architecture decision records (ADRs), compliance scope document, integration map, and a phased estimate.
CDE scoping, tokenization vault design, key management strategy and network segmentation are all defined before code is written. Every scope reduction decision made at this point lowers certification cost and shortens the timeline later, while the same decision made after launch means months of rework.
Deliverables: CDE boundary diagram, data flow diagrams, key management plan, and a PCI DSS control mapping.
During the payment software development process, our engineers build the payment processing software engine, transaction routing logic, fraud detection integration and settlement reconciliation services, with asynchronous settlement queues, idempotency handling for retries and failover between acquirers. When the gateway is built directly into a platform or SaaS product, we also design for embedded payments from the start. Authorization response time, settlement accuracy and fraud detection effectiveness are all determined by the architecture choices made in this phase. A gateway processing real volume depends on each of them.
Deliverables: working gateway in a staging environment, API documentation, and automated test suites.
Testing starts in each acquirer’s sandbox, where authorization and settlement flows have to behave exactly as that processor expects. The same applies to every other payment provider the gateway connects to, and to multiple payment gateways when redundancy is part of the scope. Where card network certification applies, separate test runs confirm the build meets Visa, Mastercard or other scheme requirements. Load tests then push volume to ten times the expected peak, and penetration testing probes the CDE boundary for common attack vectors. Certification is the slow part of this stage. A basic gateway integration may take 10 to 14 weeks, while acquirer and card network certification typically takes 3 to 9 months, so we put it into the plan at the start of the project.
Deliverables: certification test results per acquirer and network, load test report, and penetration test report with remediation log.
Our team supports the PCI DSS QSA assessment with everything assessors ask for, including architecture diagrams, documentation and evidence packages. A SOC 2 readiness review confirms that logging and audit trails are complete, and the KYC flow is validated against the regulatory standards that apply to merchant onboarding. The goal is to have certification status confirmed before launch day.
Deliverables: QSA evidence package, SOC 2 readiness report, and KYC validation record.
Rollout is phased, starting with pilot merchants so that unexpected system behavior or early fraud patterns surface on limited volume. Real-time transaction monitoring tracks anomalies before they spread, and a hypercare period with agreed SLA response times covers the first weeks of live traffic. We also confirm a retraining schedule for the fraud models, so detection keeps learning as data accumulates. Ongoing maintenance covers settlement monitoring, performance optimization, new payment method rollouts, and support for recurring payments as the merchant base grows.
Deliverables: runbooks, monitoring dashboards, SLA definition, and a fraud model retraining schedule.
To share their experiences
From Fintech industry stalwarts to industry-leading eCommerce providers, we ensure the comprehensive alignment between emerging technologies and established business processes.
By Independent Organizations
Payment gateway development cost is driven by three factors: functional scope, compliance level and the number of acquirers. An authorization-only gateway is a much smaller build than one that also runs processing, settlement and merchant payouts. Compliance cost grows with volume. Below 300,000 card transactions a year, a service provider can usually self-assess for PCI DSS, while above that threshold card networks require an annual Report on Compliance from a QSA. Each acquirer then adds its own integration and certification cycle. Payment methods, fraud tooling and uptime requirements add to the total. At SPD Technology, a two-to-three-week discovery phase fixes these variables, including acquirer count, and produces a cost range for your specific architecture.
Build and certification run on separate clocks, and both belong in the plan from day one. A production-grade custom gateway typically takes 9 to 18 months to develop. Scope sets where a project lands in that range: a gateway MVP with one acquirer is far smaller than a build with several processors, payment methods and a wider compliance scope, and card-present flows add EMV and terminal certification. A PCI DSS Level 1 assessment by a QSA usually adds 3 to 6 months, and acquirer and card network certification, especially for a new PayFac registration, can take 3 to 9 months. Parts of the compliance work can run alongside development, but acquirer certification testing starts only once the build is functionally complete. Projects slip when these windows are missing from the schedule, so we map certification and compliance requirements during the first three weeks of discovery, before development starts.
Build a custom gateway when transaction volume justifies the investment through processing fee savings, or when an eCommerce business or SaaS platform needs white-label infrastructure, proprietary routing or a PayFac registration. Integrate an existing PSP when volumes are lower and payment needs are standard, so you can accept online payments faster. The deciding factors are PCI DSS scope and certification time, both of which grow sharply with a custom build; our build-or-integrate comparison sets out the three options side by side. SPD Technology works both as a payment gateway software development company and as an official Adyen service partner, so our recommendation follows your volume, compliance and business model. Where integration is the better path, our payment gateway integration team handles it.
A custom gateway stores, processes or transmits cardholder data, so it falls under the full PCI DSS standard (currently v4.0.1) as a service provider. Validation happens every year. Below 300,000 card transactions a year, a self-assessment questionnaire (SAQ D for service providers) is usually enough. Above that threshold, card networks require a Report on Compliance from a QSA. In practice, the standard requires network segmentation around the cardholder data environment, encryption of stored and transmitted card data, key management, strict access controls, audit logging under Requirement 10, quarterly vulnerability scans and regular penetration testing. We design these controls into the architecture during discovery, using tokenization to keep as few systems in scope as possible. For Axcess Payment Services, this approach produced a payments core that has passed PCI DSS audits.
Yes. At Poynt, our team integrated and certified Adyen as a strategic processor next to the Elavon connection the platform already had, putting two processors behind one gateway. Some platforms go further and route across multiple payment gateways, usually for redundancy or to cover a region one provider handles poorly. The hard part is that no two acquirers behave alike. One delivers settlement files over SFTP, another through an API; scheme fees are calculated differently for each card network; every bank runs chargebacks its own way; and routing rules need a fallback for the moment a processor goes quiet. We keep all of that inside a PSP abstraction layer, so adding an acquirer means writing one adapter while the core gateway stays untouched.
The gateway sits at checkout. It captures the card details, encrypts them and passes the transaction on. From there the processor takes over, working with the card networks and the issuing bank to get an authorization and, later, moving the settled funds into the merchant account. Because many providers sell both functions as one product, people often use the two terms for the same thing. In a custom build they stay separate, and each carries its own PCI DSS responsibilities. Our article on payment gateway vs payment processor vs merchant account goes through the differences in more detail.
Every launch includes a hypercare period with real-time transaction monitoring, anomaly alerting, ongoing technical support, and fast incident response under agreed SLAs. Fraud detection models are retrained as production data accumulates, and our team supports annual PCI DSS revalidation to keep compliance current. Roadmap planning covers new payment methods, multiple payment methods, and acquirers as the merchant base grows. Our client relationships reflect that long-term involvement: our partnership with Poynt spans more than five years, and the SMB funding platform we built has facilitated $350M+ in financing.