Skip to main content

Staging Environment

Zenoo provides a full staging environment for integration testing. Staging mirrors the production API surface, including webhook delivery, but uses mock providers instead of real verification services. You can test every flow, error path, and edge case without consuming production credits or triggering real compliance checks. What staging gives you:
  • Same API endpoints as production, with a different base URL and separate credentials
  • Mock providers that return simulated results based on pattern-matched test data
  • Full webhook delivery with the same event types and payload structure as production
  • Lower rate limits to prevent accidental resource exhaustion during development

Staging vs production

Staging and production are completely isolated. A staging API key will not work against the production URL, and vice versa. Always ensure your environment configuration matches the target environment.

Getting started

1

Request credentials

During onboarding, Zenoo provides:
  • A staging API key
  • A staging project hash
  • A webhook secret for signature verification
If you do not have these, contact your Zenoo account manager or email support@zenoo.com.
2

Configure your project

Store your staging credentials separately from production. A common pattern:
.env.staging
.env.production
3

Make a test call

Point at the staging URL and send a request:
You should receive a 200 response with pep_status: "No Hit", sanctions_status: "No Hit", and adverse_media_status: "No Hit".

Mock provider behavior

Staging providers use pattern-matched test names to determine outcomes. The mock system recognizes specific strings in the submitted data and returns corresponding results.
Names that don’t match any pattern default to a clean pass. Pattern matching is case-insensitive.
Mock results include realistic response structures: match scores, screening provider names, categories, and timestamps. The data looks like a real response, but the values are synthetic.

What mock providers do not do

  • No real screening against WorldCheck, OFAC, HMT, or any live database
  • No real company registry lookups
  • No real document verification or biometric liveness checks
  • No real phone, email, or address verification

Webhook behavior in staging

Staging delivers webhooks with the same event types and payload structure as production:
  • verification.completed
  • screening.completed
  • journey.abandoned
  • journey.expired
  • check.failed
Configure your staging webhook URL during onboarding. For local development, use a tunneling tool:
Webhook signature verification works identically in staging. Use your staging webhook secret.

Limitations

Be aware of the following staging limitations:
  • Mock providers. Staging results are simulated. They test your integration logic, not the accuracy of real providers. Always validate with at least one real verification in production before going live.
  • No real screening. PEP, sanctions, and adverse media results are pattern-matched, not sourced from live databases. Do not use staging results for compliance decisions.
  • Lower rate limits. Staging enforces 50 requests per minute (vs 100-300 in production). This is sufficient for integration testing but not for load testing.
  • Periodic data purge. Staging data is purged every 30 days. Do not store long-lived references to staging cases or verification results.
  • No SLA. Staging does not have an uptime SLA. Planned maintenance windows may cause brief unavailability.

Next steps