Skip to main content

Accelerate Go Integration Testing with Didit's Sandbox API

Efficient integration testing is crucial for robust identity verification systems. Didit's Sandbox API provides a powerful, developer-first environment for Go developers to test integrations thoroughly, ensuring seamless.

Accelerate Go Integration Testing with Didit's Sandbox API

Contents

In this guide

Jump to the part you need.

Streamlined DevelopmentDidit's Sandbox API allows Go developers to rapidly prototype and test identity verification integrations without affecting production environments or incurring live transaction costs, significantly accelerating the development lifecycle.

Comprehensive Testing CapabilitiesThe sandbox mirrors the production API, enabling developers to simulate various scenarios, including successful verifications, rejections, and edge cases, ensuring robust error handling and workflow reliability in their Go applications.

Developer-First ApproachWith instant sandbox access, clear documentation, and clean APIs, Didit empowers Go developers to quickly understand and implement complex identity verification flows, fostering a smoother integration experience.

Cost-Effective and SecureBy providing a free, isolated testing environment, Didit eliminates the need for dummy production accounts or expensive testing data, enhancing security and reducing operational overhead for Go projects.

The Challenge of Reliable Identity Verification Integration in Go

Integrating identity verification (IDV) into a Go application can be a complex endeavor. Developers often face hurdles like managing test data, simulating various verification outcomes, and ensuring the stability of their integration without impacting live systems. Traditional approaches might involve setting up staging environments, using mocked data, or even processing real (but fake) data, all of which introduce overhead, potential security risks, or an incomplete testing experience. For Go developers, known for their preference for efficiency and strong typing, a robust and predictable testing environment is not just a luxury, but a necessity.

Consider a scenario where a financial application built in Go needs to onboard new users, requiring stringent KYC (Know Your Customer) checks using ID Verification, Passive Liveness, and AML Screening. Testing such a critical flow demands the ability to simulate document uploads, liveness checks, and watchlist hits without legal or financial repercussions. Without a dedicated sandbox, developers might resort to time-consuming manual testing or incomplete automated tests, leading to potential vulnerabilities or poor user experiences upon deployment.

Introducing Didit's Developer-First Sandbox API

Didit, as an AI-native, developer-first identity platform, understands these challenges intimately. That's why we provide a comprehensive Sandbox API specifically designed for seamless integration testing. This isn't just a basic mocked endpoint; it's a fully functional replica of our production API, allowing Go developers to interact with all Didit products – from ID Verification to AML Screening and Age Estimation – in a safe, isolated environment. The sandbox ensures that your integration logic is thoroughly vetted against realistic scenarios, preparing your application for real-world demands.

The Sandbox API is available instantly, requiring no setup fees or complex configuration. This aligns perfectly with the Go philosophy of simplicity and efficiency. Developers can use their existing DIDIT_API_KEY (or generate a new one via the API if needed, as per our AI Agent Integration documentation) to interact with the sandbox, making the transition from development to production incredibly smooth. The structured identity data returned by the sandbox mimics the production environment, allowing for accurate parsing and processing within your Go application.

Practical Integration Testing in Go with Didit

Go developers can leverage Didit's Sandbox API to perform a wide range of integration tests. Here’s how:

  1. Simulate ID Verification Outcomes: Test how your Go application handles successful ID Verification, document rejections (e.g., blurry images, expired IDs), and manual review queues. You can simulate these outcomes by providing specific test data or configurations to the sandbox API.
  2. Test Liveness Detection: Verify the integration of Passive & Active Liveness checks. Ensure your application correctly interprets liveness scores and Deepfake detection results, directing users through appropriate retry or escalation paths.
  3. Validate AML Screening Workflows: For financial services, test your Go application's response to various AML Screening & Monitoring results, including matches against sanctions lists or PEP (Politically Exposed Persons) databases. This is crucial for compliance and risk management.
  4. Experiment with Orchestrated Workflows: Didit's modular architecture allows for complex, orchestrated workflows. Use the sandbox to test how your Go backend processes multi-step verifications, such as ID Verification followed by Proof of Address, and ensure all data flows correctly.
  5. Develop Error Handling: Intentionally send malformed requests or simulate network issues to see how your Go application's error handling mechanisms respond. The sandbox provides predictable error codes, allowing you to build robust retry logic and user feedback loops.

The ability to didit_create_session programmatically and then didit_get_session_decision with various simulated outcomes in the sandbox is invaluable. It transforms what could be a brittle and time-consuming testing process into an agile, developer-friendly experience.

How Didit Helps Go Developers Excel

Didit's commitment to a developer-first approach shines through its Sandbox API and overall platform design. For Go developers, this means:

  • Core KYC: Get started with essential identity verification functionalities, even in a production environment, with pay-per-use pricing and no upfront costs. This allows Go startups and enterprises alike to iterate quickly and scale efficiently.
  • Modular Architecture: Didit's composable identity primitives mean you only integrate what you need. Whether it's ID Verification, Passive & Active Liveness, 1:1 Face Match, AML Screening, Proof of Address, Age Estimation, Phone & Email Verification, or NFC Verification, each component can be tested independently or as part of a larger workflow in the sandbox.
  • AI-Native Precision: Leveraging AI, Didit offers superior accuracy and fraud detection. Go developers can trust that the sandbox environment faithfully represents the intelligent decisions made by our production systems, allowing them to build robust applications that benefit from cutting-edge technology.
  • No Setup Fees: With our pay-per-use pricing, the sandbox is immediately available, removing financial barriers and accelerating time-to-market for your Go applications.
  • Comprehensive Tooling: Beyond the Sandbox API, Didit offers a no-code Business Console for workflow orchestration and an extensive set of APIs for managing sessions, workflows, questionnaires, and even billing, all accessible programmatically. This means your Go application can manage the entire identity lifecycle.

By providing an open, modular identity layer, Didit empowers Go developers to build secure, compliant, and user-friendly applications with confidence. The Sandbox API is a cornerstone of this offering, ensuring that every integration is thoroughly tested and optimized before going live.

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.

ID Verification

The product this post is about, taken from its topic. Run it free in the sandbox.

$0.15 per checkStart free

Author

Alejandro Rosas

Co-founder and CTO

Alejandro Rosas

Alejandro Rosas

Co-founder and CTO

About Didit

Questions

Blog questions

Who writes the Didit blog?
The Didit team. Guides reviewed by Alberto Rosas, co-founder and CEO, carry his byline. The rest are published as Didit.
Which topics does the blog cover?
Eight topics: ID verification, business verification (KYB), AML, sanctions and compliance, fraud prevention, transaction monitoring and crypto, country guides, agents and developers, and product updates.
Is the blog available in my language?
Yes, in 15 languages: English, Spanish, French, German, Brazilian and European Portuguese, Catalan, Russian, Arabic, Chinese, Japanese, Hindi, Indonesian, Korean and Swahili. Not every post is translated, so each language shows the posts it has.
Where do I find product updates?
In the changelog at /changelog/ and under the Product updates topic.
Are these posts legal advice?
No. Regulation posts explain rules; your legal team decides how they apply.
How do I find posts on one topic?
Open one of the eight topics, or search the blog.
Are posts dated?
Yes. Every post shows when it was published and when it was last updated.
Do posts link to the docs?
Developer posts link to the matching page on docs.didit.me and to the API reference.
Is the blog the same as the docs?
No. The blog explains rules, markets and product changes for a general reader, while docs.didit.me holds the integration guides and the API reference. Developer posts link the matching docs page and the API reference they describe.

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.

Compliance assistant

Your obligations · 3 regions

EU · AMLRCustomer due diligence, human reviewCovered
Illinois, Texas, ColoradoExplicit biometric consentCovered
Germany · Youth protectionVerified adults only (JMStV)Covered
Workflow checked. Every obligation is met
  • 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.

Add to ClaudeChatGPT
Didit Academy · Lesson 04 · Use Didit with MCP
  • 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.

Verify your first user today.

Start free

Free sandbox. Credit applies to work-email sign-ups.