From Legacy SOAP to Modern GraphQL: Migrating Identity Verification
Migrating enterprise identity verification systems from legacy SOAP architectures to modern GraphQL APIs is a critical step for scalability, flexibility, and developer experience.

Contents
In this guide
Jump to the part you need.
The Imperative for ModernizationLegacy SOAP-based identity verification systems are increasingly bottlenecks for agile development and global scalability, necessitating a migration to more flexible API architectures like GraphQL.
GraphQL's Transformative PowerGraphQL offers unparalleled flexibility in data fetching, allowing clients to request exactly what they need, reducing over-fetching and simplifying complex data interactions compared to rigid REST or SOAP endpoints.
Strategic Migration is KeyA successful migration involves careful planning, parallel operation of old and new systems, and a phased approach to integrate new identity verification components, ensuring business continuity.
Didit Accelerates ModernizationDidit's AI-native, developer-first platform provides clean APIs, including GraphQL capabilities, Core KYC, and modular architecture, making the transition from legacy systems seamless and efficient.
The Challenge with Legacy Identity Verification Systems
For many enterprises, identity verification (IDV) is powered by systems built on older architectural styles, notably SOAP (Simple Object Access Protocol). While SOAP served its purpose effectively for years, its verbose XML-based messaging, tight coupling, and reliance on WSDL (Web Services Description Language) present significant challenges in today's fast-paced, API-driven world. These challenges include:
- Rigidity and Complexity: SOAP APIs are often monolithic and difficult to modify, making it hard to adapt to new regulatory requirements or integrate new verification methods like advanced liveness detection or NFC verification.
- Inefficient Data Exchange: Clients often receive more data than they need (over-fetching) or require multiple requests to gather all necessary information (under-fetching), leading to increased latency and bandwidth consumption.
- Poor Developer Experience: The steep learning curve of XML schemas and the tooling required for SOAP can deter developers, slowing down integration times and innovation.
- Scaling Issues: Legacy systems can struggle to scale horizontally, especially when dealing with global traffic surges or the need to process millions of identity checks efficiently.
As businesses expand globally and face increasing fraud threats, the need for a modern, flexible, and efficient identity verification infrastructure becomes paramount. This is where modern API paradigms like GraphQL offer a compelling solution.
Why GraphQL is the Future of Identity Verification APIs
GraphQL, developed by Facebook, addresses many of the limitations of traditional API architectures. It’s a query language for your API and a server-side runtime for executing queries by using a type system you define for your data. For identity verification, GraphQL brings several transformative advantages:
- Flexible Data Fetching: Clients can specify exactly what data they need, eliminating over-fetching and under-fetching. For instance, an application might only need a user's name and verification status for a quick check, but a compliance officer might need the full ID document scan and AML screening results. GraphQL allows both to be fetched in a single, optimized request.
- Single Endpoint: Unlike REST or SOAP that might have dozens of endpoints, GraphQL typically exposes a single endpoint, simplifying API management and discovery.
- Strong Typing: A robust type system ensures data consistency and provides excellent tooling for developers, including auto-completion and validation, significantly improving the developer experience.
- Real-time Capabilities: Through subscriptions, GraphQL can enable real-time updates for verification statuses, which is crucial for dynamic workflows and fraud prevention systems relying on immediate alerts from passive liveness checks or AML monitoring.
- Versionless API: As new fields can be added without breaking existing queries, GraphQL inherently supports an evolving API without the need for strict versioning, reducing maintenance overhead.
Strategies for a Seamless Migration
Migrating from a legacy SOAP-based IDV system to a modern GraphQL-powered platform is a significant undertaking that requires careful planning. Here's a strategic approach:
-
Assessment and Planning: Begin by thoroughly auditing your existing SOAP services, identifying all dependencies, data flows, and business logic. Define your target state with GraphQL, outlining the new schema, data models, and desired verification workflows (e.g., ID Verification, 1:1 Face Match, Proof of Address).
-
Parallel Operation (Strangler Fig Pattern): Avoid a big-bang rewrite. Instead, run your new GraphQL identity verification service alongside the old SOAP system. Gradually redirect traffic from the old services to the new ones. This minimizes downtime and risk, allowing you to thoroughly test the new system in production before fully decommissioning the legacy one.
-
Phased Integration: Start with less critical identity verification features or new applications. For example, integrate ID Verification (OCR, MRZ, barcodes) or Phone & Email Verification for new user sign-ups via GraphQL, while existing user re-verification might still use the old system temporarily. Gradually introduce more complex features like AML Screening & Monitoring or NFC Verification.
-
Data Migration and Transformation: Plan how historical identity data will be migrated or accessed through the new system. This might involve data transformation layers to map old data structures to the new GraphQL schema.
-
Developer Enablement: Provide comprehensive documentation, SDKs, and support for your development teams. The goal is to make the transition to GraphQL as smooth as possible, leveraging its inherent developer-friendliness.
How Didit Helps
Didit is perfectly positioned to facilitate and accelerate your migration from legacy identity verification systems to a modern, GraphQL-friendly architecture. As an AI-native, developer-first identity platform, Didit provides the open, modular identity layer necessary for today's dynamic business needs. While Didit's core APIs are RESTful, their clean, well-documented nature and structured identity data make them highly compatible with GraphQL gateways and facades, allowing you to build a GraphQL layer on top with ease.
- Modular Architecture: Didit's platform is built with composable identity primitives. This means you can plug-and-play specific verification checks like ID Verification, Passive & Active Liveness, 1:1 Face Match & Face Search, or Proof of Address. This modularity aligns perfectly with GraphQL's ability to fetch specific data points, allowing you to build highly customized queries for your verification workflows.
- Developer-First Approach: With an instant sandbox, public documentation, and clean APIs, Didit makes integration straightforward. Our API design principles prioritize ease of use, which is a major advantage when building a GraphQL layer.
- Orchestrated Workflows: Design complex KYC journeys with Didit's no-code engine or via API. This allows you to define your verification logic once and expose it through your GraphQL API, simplifying client-side implementation.
- Core KYC: Didit offers Core KYC with transparent pay-per-use pricing, which lowers the cost barrier to modernizing your identity verification infrastructure. This allows you to experiment, build, and scale without upfront financial commitments.
- AI-Native Capabilities: Leverage Didit's advanced AI for fraud detection, document analysis, and biometric authentication (like Age Estimation for age-restricted services). These powerful capabilities are exposed via APIs that can be seamlessly integrated into your GraphQL schema.
By choosing Didit, you embrace an identity verification partner that understands the demands of modern enterprise architecture, enabling you to move beyond the limitations of legacy systems with confidence and agility.
Ready to Get Started?
Ready to see Didit in action? Get a free demo today.
Start verifying identities for free with Didit's free tier.
Try it
Try this in the sandbox
Run the check this guide describes, free.
The product this post is about, taken from its topic. Run it free in the sandbox.
Author
Alberto Rosas
Co-founder and CEO

Questions
Blog questions
Who writes the Didit blog?
Which topics does the blog cover?
Is the blog available in my language?
Where do I find product updates?
Are these posts legal advice?
How do I find posts on one topic?
Are posts dated?
Do posts link to the docs?
Is the blog the same as the docs?
Compliance built in
Audited, certified and attested.
We hold the certifications and build each country's rules into your flows, so you can launch anywhere without worrying. Security and Compliance center
- Regulation encoded into your flows
Tell us what you do and where. Didit lists the rules that apply to you, with sources, and builds the checks each country needs into one workflow.
- Ready for AMLR
Every requirement of the new EU anti-money laundering rules, from checking customers to human review, is already covered by a Didit check.
- Tested in Spain's Treasury sandbox
Spain's Treasury published its supervised sandbox report on Didit's NFC plus active liveness onboarding; SEPBLAC took part and valued the added measures positively.
- Audited, not self-declared
iBeta Level 1 and Level 2. Liveness tested under ISO/IEC 30107-3.
Your obligations · 3 regions
SOC 2 Type 2
ISO 27001
iBeta Level 1 and Level 2
EU regulator attestation
FSM youth protection
GDPR
EBA remote onboarding
MiCA compatible
FIDO Alliance member
- AMLREU AML Regulation ready
Integration · Didit MCP
Run Didit from your own AI agent
Connect Didit to Claude, Cursor, VS Code or ChatGPT and just ask in plain words. Your agent can do anything you can do in the console, with the same permissions you have.
- Build workflowsDescribe the checks you need. The agent creates and publishes the flow.
- Run investigationsAsk why a session was declined, review cases, search people and companies.
- Change rulesCreate payment rules, test them on past data and switch them on.
- Pull reportsAsk for numbers, exports or the audit log.
Didit Academy


